summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-05-27 13:24:17 +0200
committerraveit65 <[email protected]>2015-05-27 13:24:17 +0200
commit319803b5ac8b34ef7204ab2bd1b5b0123440ded9 (patch)
treef64803d6b84a3276158bcd299100ec8beb836f3c
parent7a62bafbf0dc023c46d885913fb467c2ec372b47 (diff)
downloadeom-319803b5ac8b34ef7204ab2bd1b5b0123440ded9.tar.bz2
eom-319803b5ac8b34ef7204ab2bd1b5b0123440ded9.tar.xz
remove eom_window_window_state_event
- no need of it after exra resize-grip code is removed taken from https://git.gnome.org/browse/eog/commit/?id=10f1713
-rw-r--r--src/eom-window.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index 7484db3..fef0b52 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -4932,29 +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));
- }
-
- return FALSE;
-}
-#endif
-
static gboolean
eom_window_focus_out_event (GtkWidget *widget, GdkEventFocus *event)
{
@@ -5069,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;
/**