diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/eom-statusbar.c | 17 | ||||
-rw-r--r-- | src/eom-statusbar.h | 5 | ||||
-rw-r--r-- | src/eom-window.c | 3 |
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; |