Quiet a compiler warning

We don't need to handle GDK_CONFIGURE here, so make the
compiler not warn about it.
This commit is contained in:
Matthias Clasen 2018-07-19 17:31:20 -04:00
parent 14f86ae24d
commit 37e4ae2fbd

View File

@ -1796,7 +1796,7 @@ gtk_main_do_event (GdkEvent *event)
* Drag events are also not redirected, since it isn't * Drag events are also not redirected, since it isn't
* clear what the semantics of that would be. * clear what the semantics of that would be.
*/ */
switch (event->any.type) switch ((guint)event->any.type)
{ {
case GDK_NOTHING: case GDK_NOTHING:
break; break;