summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-03-10 20:16:43 +0100
committerZenWalker <[email protected]>2020-03-11 19:10:45 +0100
commitd6f787e683cbd59ec654b4adb70846289f592951 (patch)
tree53f05485ef688ec79cdda20e3d0498e7aa77711b
parent38020e7234837a72e8e47f1926d0ed0a581010fe (diff)
downloadmate-utils-d6f787e683cbd59ec654b4adb70846289f592951.tar.bz2
mate-utils-d6f787e683cbd59ec654b4adb70846289f592951.tar.xz
mate-dictionary: remove unused function 'gdict_window_set_statusbar_visible'
-rw-r--r--mate-dictionary/src/gdict-window.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/mate-dictionary/src/gdict-window.c b/mate-dictionary/src/gdict-window.c
index 2f4b9d9c..4e91a1f0 100644
--- a/mate-dictionary/src/gdict-window.c
+++ b/mate-dictionary/src/gdict-window.c
@@ -253,30 +253,6 @@ gdict_window_set_sidebar_visible (GdictWindow *window,
}
static void
-gdict_window_set_statusbar_visible (GdictWindow *window,
- gboolean is_visible)
-{
- g_assert (GDICT_IS_WINDOW (window));
-
- is_visible = !!is_visible;
-
- if (is_visible != window->statusbar_visible)
- {
- GtkAction *action;
-
- window->statusbar_visible = is_visible;
-
- if (window->statusbar_visible)
- gtk_widget_show (window->status);
- else
- gtk_widget_hide (window->status);
-
- action = gtk_action_group_get_action (window->action_group, "ViewStatusbar");
- gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), window->statusbar_visible);
- }
-}
-
-static void
gdict_window_definition_cb (GdictContext *context,
GdictDefinition *definition,
GdictWindow *window)