From 323d3a3e68244e825b0955efdf7042d3c35d49c2 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sat, 28 Jul 2018 01:39:28 +0200 Subject: notebook: drop unused 'pluma_notebook_set_always_show_tabs' --- docs/reference/pluma-sections.txt | 1 - pluma/pluma-notebook.c | 18 ------------------ pluma/pluma-notebook.h | 5 ----- 3 files changed, 24 deletions(-) diff --git a/docs/reference/pluma-sections.txt b/docs/reference/pluma-sections.txt index e466d0de..3c6a13fd 100644 --- a/docs/reference/pluma-sections.txt +++ b/docs/reference/pluma-sections.txt @@ -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 diff --git a/pluma/pluma-notebook.c b/pluma/pluma-notebook.c index d59003c2..f8d174f1 100644 --- a/pluma/pluma-notebook.c +++ b/pluma/pluma-notebook.c @@ -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 diff --git a/pluma/pluma-notebook.h b/pluma/pluma-notebook.h index 213c400b..7477798a 100644 --- a/pluma/pluma-notebook.h +++ b/pluma/pluma-notebook.h @@ -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); -- cgit v1.2.1