summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-05-26 09:39:08 +0200
committerraveit65 <[email protected]>2015-05-26 09:39:08 +0200
commite71c723f62971343e9ca83d3371a0ded28747e48 (patch)
treedf61399ac5a9dccee35009feb73007450c88a002 /src
parente556b69e2cf83b559aff32a7bbc1942b6838cf69 (diff)
downloadeom-e71c723f62971343e9ca83d3371a0ded28747e48.tar.bz2
eom-e71c723f62971343e9ca83d3371a0ded28747e48.tar.xz
Remove extra resize-grip code
- gtk+ handle this for itself since a long time - with <=3.14 resize-grip is removed - with gtk2 is not affected
Diffstat (limited to 'src')
-rw-r--r--src/eom-statusbar.c17
-rw-r--r--src/eom-statusbar.h5
-rw-r--r--src/eom-window.c3
3 files changed, 0 insertions, 25 deletions
diff --git a/src/eom-statusbar.c b/src/eom-statusbar.c
index b4d6f08..634818e 100644
--- a/src/eom-statusbar.c
+++ b/src/eom-statusbar.c
@@ -58,14 +58,7 @@ eom_statusbar_init (EomStatusbar *statusbar)
statusbar->priv = EOM_STATUSBAR_GET_PRIVATE (statusbar);
priv = statusbar->priv;
- #if !GTK_CHECK_VERSION(3, 0, 0)
- gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (statusbar), TRUE);
- #endif
-
priv->img_num_statusbar = gtk_statusbar_new ();
- #if !GTK_CHECK_VERSION(3, 0, 0)
- gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (priv->img_num_statusbar), FALSE);
- #endif
gtk_widget_set_size_request (priv->img_num_statusbar, 100, 10);
gtk_widget_show (priv->img_num_statusbar);
@@ -155,13 +148,3 @@ eom_statusbar_set_progress (EomStatusbar *statusbar,
}
}
-#if !GTK_CHECK_VERSION(3, 0, 0)
-void
-eom_statusbar_set_has_resize_grip (EomStatusbar *statusbar, gboolean has_resize_grip)
-{
- g_return_if_fail (EOM_IS_STATUSBAR (statusbar));
-
- gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (statusbar),
- has_resize_grip);
-}
-#endif
diff --git a/src/eom-statusbar.h b/src/eom-statusbar.h
index cf263d4..4ecedec 100644
--- a/src/eom-statusbar.h
+++ b/src/eom-statusbar.h
@@ -63,11 +63,6 @@ void eom_statusbar_set_image_number (EomStatusbar *statusbar,
void eom_statusbar_set_progress (EomStatusbar *statusbar,
gdouble progress);
-#if !GTK_CHECK_VERSION(3, 0, 0)
-void eom_statusbar_set_has_resize_grip (EomStatusbar *statusbar,
- gboolean has_resize_grip);
-#endif
-
G_END_DECLS
#endif /* __EOM_STATUSBAR_H__ */
diff --git a/src/eom-window.c b/src/eom-window.c
index ef8dd9d..7484db3 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -4949,9 +4949,6 @@ eom_window_window_state_event (GtkWidget *widget,
show = !(event->new_window_state &
(GDK_WINDOW_STATE_MAXIMIZED | GDK_WINDOW_STATE_FULLSCREEN));
-
- eom_statusbar_set_has_resize_grip (EOM_STATUSBAR (window->priv->statusbar),
- show);
}
return FALSE;