From 102f802b04a4252bc157a537bdbfc125df4837b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Sat, 24 Mar 2018 12:56:21 +0000 Subject: [PATCH] GDK W32: remove the use of GDK_SURFACE_STATE GDK_WINDOW_STATE (or, after rename, GDK_SURFACE_STATE) got removed from GDK in commit 11a946df39f29b3cc0ce902c0c3b49abede1ead4 https://bugzilla.gnome.org/show_bug.cgi?id=773299 --- gdk/win32/gdkevents-win32.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c index 1b4cbe0372..2fd804c954 100644 --- a/gdk/win32/gdkevents-win32.c +++ b/gdk/win32/gdkevents-win32.c @@ -795,7 +795,6 @@ _gdk_win32_print_event (const GdkEvent *event) CASE (GDK_DROP_START); CASE (GDK_DROP_FINISHED); CASE (GDK_SCROLL); - CASE (GDK_SURFACE_STATE); CASE (GDK_GRAB_BROKEN); #undef CASE default: g_assert_not_reached (); @@ -903,10 +902,6 @@ _gdk_win32_print_event (const GdkEvent *event) "???"))))); print_event_state (event->scroll.state); break; - case GDK_SURFACE_STATE: - g_print ("%s: %s", - _gdk_win32_surface_state_to_string (event->surface_state.changed_mask), - _gdk_win32_surface_state_to_string (event->surface_state.new_surface_state)); case GDK_GRAB_BROKEN: g_print ("%s %s %p", (event->grab_broken.keyboard ? "KEYBOARD" : "POINTER"),