diff options
author | raveit65 <[email protected]> | 2015-05-26 09:39:08 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2015-05-26 09:39:08 +0200 |
commit | e71c723f62971343e9ca83d3371a0ded28747e48 (patch) | |
tree | df61399ac5a9dccee35009feb73007450c88a002 /src/eom-statusbar.c | |
parent | e556b69e2cf83b559aff32a7bbc1942b6838cf69 (diff) | |
download | eom-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.c | 17 |
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 |