[gtk+/client-side-windows: 189/284] Avoid warnings about non-handled GDK_EVENT_LAST enum
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/client-side-windows: 189/284] Avoid warnings about non-handled GDK_EVENT_LAST enum
- Date: Thu, 2 Apr 2009 14:15:48 -0400 (EDT)
commit a006d8592853107649eaf4832a229cd9ca6084d3
Author: Alexander Larsson <alexl redhat com>
Date: Tue Jan 27 15:10:45 2009 +0100
Avoid warnings about non-handled GDK_EVENT_LAST enum
---
gdk/gdkevents.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index af94ecb..3af4195 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -632,6 +632,7 @@ gdk_event_get_time (const GdkEvent *event)
case GDK_SETTING:
case GDK_OWNER_CHANGE:
case GDK_GRAB_BROKEN:
+ case GDK_EVENT_LAST:
/* return current time */
break;
}
@@ -710,6 +711,7 @@ gdk_event_get_state (const GdkEvent *event,
case GDK_SETTING:
case GDK_OWNER_CHANGE:
case GDK_GRAB_BROKEN:
+ case GDK_EVENT_LAST:
/* no state field */
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]