summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-07-19 17:31:20 -0400
committerMatthias Clasen <mclasen@redhat.com>2018-07-19 17:48:06 -0400
commit37e4ae2fbd87b0c6880e800854dc8b9b7eff51a2 (patch)
tree95d663b4caef2ac969620b43d7b6c10810f200dc
parent14f86ae24d4cea98106c8db6ff8b551931892e13 (diff)
downloadgtk+-37e4ae2fbd87b0c6880e800854dc8b9b7eff51a2.tar.gz
Quiet a compiler warning
We don't need to handle GDK_CONFIGURE here, so make the compiler not warn about it.
-rw-r--r--gtk/gtkmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index d92523a90d..3732857ab7 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -1796,7 +1796,7 @@ gtk_main_do_event (GdkEvent *event)
* Drag events are also not redirected, since it isn't
* clear what the semantics of that would be.
*/
- switch (event->any.type)
+ switch ((guint)event->any.type)
{
case GDK_NOTHING:
break;