summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/reference/pluma-sections.txt1
-rw-r--r--pluma/pluma-notebook.c18
-rw-r--r--pluma/pluma-notebook.h5
3 files changed, 0 insertions, 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
@@ -964,24 +964,6 @@ remove_tab_label (PlumaNotebook *nb,
}
/**
- * 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
* @tab: a #PlumaTab
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);