Avoid warnings about non-handled GDK_EVENT_LAST enum

This commit is contained in:
Alexander Larsson 2009-01-27 15:10:45 +01:00 committed by Alexander Larsson
parent a711f51629
commit a006d85928

View File

@ -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;
}