Skip to content

Commit 323d3a3

Browse files
sc0wlukefromdc
authored andcommitted
notebook: drop unused 'pluma_notebook_set_always_show_tabs'
1 parent 06d6e5d commit 323d3a3

File tree

3 files changed

+0
-24
lines changed

3 files changed

+0
-24
lines changed

docs/reference/pluma-sections.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ pluma_notebook_remove_tab
200200
pluma_notebook_remove_all_tabs
201201
pluma_notebook_reorder_tab
202202
pluma_notebook_move_tab
203-
pluma_notebook_set_always_show_tabs
204203
pluma_notebook_set_close_buttons_sensitive
205204
pluma_notebook_get_close_buttons_sensitive
206205
pluma_notebook_set_tab_drag_and_drop_enabled

pluma/pluma-notebook.c

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -963,24 +963,6 @@ remove_tab_label (PlumaNotebook *nb,
963963
g_object_set_data (G_OBJECT (tab), "tab-label", NULL);
964964
}
965965

966-
/**
967-
* pluma_notebook_set_always_show_tabs:
968-
* @nb: a #PlumaNotebook
969-
* @show_tabs: %TRUE to always show the tabs
970-
*
971-
* Sets the visibility of the tabs in the @nb.
972-
*/
973-
void
974-
pluma_notebook_set_always_show_tabs (PlumaNotebook *nb,
975-
gboolean show_tabs)
976-
{
977-
g_return_if_fail (PLUMA_IS_NOTEBOOK (nb));
978-
979-
nb->priv->always_show_tabs = (show_tabs != FALSE);
980-
981-
update_tabs_visibility (nb, FALSE);
982-
}
983-
984966
/**
985967
* pluma_notebook_add_tab:
986968
* @nb: a #PlumaNotebook

pluma/pluma-notebook.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,6 @@ void pluma_notebook_move_tab (PlumaNotebook *src,
119119
PlumaTab *tab,
120120
gint dest_position);
121121

122-
/* FIXME: do we really need this function ? */
123-
void pluma_notebook_set_always_show_tabs
124-
(PlumaNotebook *nb,
125-
gboolean show_tabs);
126-
127122
void pluma_notebook_set_close_buttons_sensitive
128123
(PlumaNotebook *nb,
129124
gboolean sensitive);

0 commit comments

Comments
 (0)