mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-02 17:00:19 +00:00
GDK W32: remove the use of GDK_SURFACE_STATE
GDK_WINDOW_STATE (or, after rename, GDK_SURFACE_STATE) got
removed from GDK in commit 11a946df39
https://bugzilla.gnome.org/show_bug.cgi?id=773299
This commit is contained in:
parent
35305bfc85
commit
102f802b04
@ -795,7 +795,6 @@ _gdk_win32_print_event (const GdkEvent *event)
|
|||||||
CASE (GDK_DROP_START);
|
CASE (GDK_DROP_START);
|
||||||
CASE (GDK_DROP_FINISHED);
|
CASE (GDK_DROP_FINISHED);
|
||||||
CASE (GDK_SCROLL);
|
CASE (GDK_SCROLL);
|
||||||
CASE (GDK_SURFACE_STATE);
|
|
||||||
CASE (GDK_GRAB_BROKEN);
|
CASE (GDK_GRAB_BROKEN);
|
||||||
#undef CASE
|
#undef CASE
|
||||||
default: g_assert_not_reached ();
|
default: g_assert_not_reached ();
|
||||||
@ -903,10 +902,6 @@ _gdk_win32_print_event (const GdkEvent *event)
|
|||||||
"???")))));
|
"???")))));
|
||||||
print_event_state (event->scroll.state);
|
print_event_state (event->scroll.state);
|
||||||
break;
|
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:
|
case GDK_GRAB_BROKEN:
|
||||||
g_print ("%s %s %p",
|
g_print ("%s %s %p",
|
||||||
(event->grab_broken.keyboard ? "KEYBOARD" : "POINTER"),
|
(event->grab_broken.keyboard ? "KEYBOARD" : "POINTER"),
|
||||||
|
Loading…
Reference in New Issue
Block a user