Skip to content
Permalink
Browse files

notebook: drop unused 'pluma_notebook_set_always_show_tabs'

  • Loading branch information...
sc0w authored and lukefromdc committed Jul 27, 2018
1 parent 06d6e5d commit 323d3a3e68244e825b0955efdf7042d3c35d49c2
Showing with 0 additions and 24 deletions.
  1. +0 −1 docs/reference/pluma-sections.txt
  2. +0 −18 pluma/pluma-notebook.c
  3. +0 −5 pluma/pluma-notebook.h
@@ -200,7 +200,6 @@ pluma_notebook_remove_tab
pluma_notebook_remove_all_tabs
pluma_notebook_reorder_tab
pluma_notebook_move_tab
pluma_notebook_set_always_show_tabs
pluma_notebook_set_close_buttons_sensitive
pluma_notebook_get_close_buttons_sensitive
pluma_notebook_set_tab_drag_and_drop_enabled
@@ -963,24 +963,6 @@ remove_tab_label (PlumaNotebook *nb,
g_object_set_data (G_OBJECT (tab), "tab-label", NULL);
}

/**
* pluma_notebook_set_always_show_tabs:
* @nb: a #PlumaNotebook
* @show_tabs: %TRUE to always show the tabs
*
* Sets the visibility of the tabs in the @nb.
*/
void
pluma_notebook_set_always_show_tabs (PlumaNotebook *nb,
gboolean show_tabs)
{
g_return_if_fail (PLUMA_IS_NOTEBOOK (nb));

nb->priv->always_show_tabs = (show_tabs != FALSE);

update_tabs_visibility (nb, FALSE);
}

/**
* pluma_notebook_add_tab:
* @nb: a #PlumaNotebook
@@ -119,11 +119,6 @@ void pluma_notebook_move_tab (PlumaNotebook *src,
PlumaTab *tab,
gint dest_position);

/* FIXME: do we really need this function ? */
void pluma_notebook_set_always_show_tabs
(PlumaNotebook *nb,
gboolean show_tabs);

void pluma_notebook_set_close_buttons_sensitive
(PlumaNotebook *nb,
gboolean sensitive);

0 comments on commit 323d3a3

Please sign in to comment.
You can’t perform that action at this time.