summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-07-28 01:39:28 +0200
committerlukefromdc <[email protected]>2018-08-01 15:19:29 -0400
commit323d3a3e68244e825b0955efdf7042d3c35d49c2 (patch)
tree15bb267818ce2d8809db9a4c8b2a72c23aa5c3ca
parent06d6e5df6e6631c81ae4d61414108435f0707688 (diff)
downloadpluma-323d3a3e68244e825b0955efdf7042d3c35d49c2.tar.bz2
pluma-323d3a3e68244e825b0955efdf7042d3c35d49c2.tar.xz
notebook: drop unused 'pluma_notebook_set_always_show_tabs'
-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);