summaryrefslogtreecommitdiff
path: root/src/eom-window.c
diff options
context:
space:
mode:
authorMartin Wimpress <[email protected]>2015-06-12 21:38:08 +0100
committerMartin Wimpress <[email protected]>2015-06-12 21:38:08 +0100
commit0ebbecec4796084650addb344c1e1a000c7561d8 (patch)
tree32dbccfdba074ace7d880ab8b3fde4709add9075 /src/eom-window.c
parent41b8e5c1e21b02f7ebd0f7f61f9225be5e6f07f5 (diff)
parent14ddcdad31e8d405b1693095f77151b465f433e6 (diff)
downloadeom-0ebbecec4796084650addb344c1e1a000c7561d8.tar.bz2
eom-0ebbecec4796084650addb344c1e1a000c7561d8.tar.xz
Merge pull request #73 from NiceandGently/master
GTK3: reduce size of the statusbar
Diffstat (limited to 'src/eom-window.c')
-rw-r--r--src/eom-window.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index ef8dd9d..fef0b52 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -4932,32 +4932,6 @@ eom_window_button_press (GtkWidget *widget, GdkEventButton *event)
return result;
}
-#if !GTK_CHECK_VERSION (3, 0, 0)
-static gboolean
-eom_window_window_state_event (GtkWidget *widget,
- GdkEventWindowState *event)
-{
- EomWindow *window;
-
- g_return_val_if_fail (EOM_IS_WINDOW (widget), TRUE);
-
- window = EOM_WINDOW (widget);
-
- if (event->changed_mask &
- (GDK_WINDOW_STATE_MAXIMIZED | GDK_WINDOW_STATE_FULLSCREEN)) {
- gboolean show;
-
- 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;
-}
-#endif
-
static gboolean
eom_window_focus_out_event (GtkWidget *widget, GdkEventFocus *event)
{
@@ -5072,9 +5046,6 @@ eom_window_class_init (EomWindowClass *class)
widget_class->key_press_event = eom_window_key_press;
widget_class->button_press_event = eom_window_button_press;
widget_class->drag_data_received = eom_window_drag_data_received;
-#if !GTK_CHECK_VERSION (3, 0, 0)
- widget_class->window_state_event = eom_window_window_state_event;
-#endif
widget_class->focus_out_event = eom_window_focus_out_event;
/**