diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2017-10-11 15:55:19 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2017-12-14 00:58:32 +0100 |
commit | 64decbfd7415f0e634743949ae6e0a52b46452fe (patch) | |
tree | 58e8e6d0d323ee865f66def35eaecb44fa1605b8 /gdk/gdkdnd.c | |
parent | b9db0b55cb68985185feff891146beef6456c427 (diff) | |
download | gtk+-64decbfd7415f0e634743949ae6e0a52b46452fe.tar.gz |
gdk: Remove GdkEventType argument from GdkEvent union
It won't stand true anymore that the GdkEventType argument is the
first field of the GdkEvent* structs. All callers have been updated
to use event->any.type instead.
Diffstat (limited to 'gdk/gdkdnd.c')
-rw-r--r-- | gdk/gdkdnd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c index 2b5d40cb12..e0e0c3e7c7 100644 --- a/gdk/gdkdnd.c +++ b/gdk/gdkdnd.c @@ -1033,7 +1033,7 @@ gdk_drag_context_handle_dest_event (GdkEvent *event) { GdkDragContext *context = NULL; - switch ((guint) event->type) + switch ((guint) event->any.type) { case GDK_DRAG_MOTION: case GDK_DROP_START: |