summaryrefslogtreecommitdiff
path: root/src/eom-statusbar.c
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/eom-statusbar.c
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/eom-statusbar.c')
-rw-r--r--src/eom-statusbar.c17
1 files changed, 0 insertions, 17 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