forked from AuroraMiddleware/gtk
have a dummy case GDK_OWNER_CHANGE in switch statements to avoid gcc
Fri Jul 9 15:33:55 2004 Manish Singh <yosh@gimp.org> * gdk/gdkevents.c: have a dummy case GDK_OWNER_CHANGE in switch statements to avoid gcc warnings about not all enum values handled. * gdk/x11/gdkdisplay-x11.c (gdk_display_open): ignore should live in #ifdef HAVE_XFIXES.
This commit is contained in:
parent
2633a03012
commit
b22258e6a6
@ -1,3 +1,11 @@
|
||||
Fri Jul 9 15:33:55 2004 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gdk/gdkevents.c: have a dummy case GDK_OWNER_CHANGE in switch
|
||||
statements to avoid gcc warnings about not all enum values handled.
|
||||
|
||||
* gdk/x11/gdkdisplay-x11.c (gdk_display_open): ignore should live in
|
||||
#ifdef HAVE_XFIXES.
|
||||
|
||||
Fri Jul 9 23:26:09 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.h (struct _GdkWindowImplX11): Add an
|
||||
|
@ -1,3 +1,11 @@
|
||||
Fri Jul 9 15:33:55 2004 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gdk/gdkevents.c: have a dummy case GDK_OWNER_CHANGE in switch
|
||||
statements to avoid gcc warnings about not all enum values handled.
|
||||
|
||||
* gdk/x11/gdkdisplay-x11.c (gdk_display_open): ignore should live in
|
||||
#ifdef HAVE_XFIXES.
|
||||
|
||||
Fri Jul 9 23:26:09 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.h (struct _GdkWindowImplX11): Add an
|
||||
|
@ -1,3 +1,11 @@
|
||||
Fri Jul 9 15:33:55 2004 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gdk/gdkevents.c: have a dummy case GDK_OWNER_CHANGE in switch
|
||||
statements to avoid gcc warnings about not all enum values handled.
|
||||
|
||||
* gdk/x11/gdkdisplay-x11.c (gdk_display_open): ignore should live in
|
||||
#ifdef HAVE_XFIXES.
|
||||
|
||||
Fri Jul 9 23:26:09 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.h (struct _GdkWindowImplX11): Add an
|
||||
|
@ -1,3 +1,11 @@
|
||||
Fri Jul 9 15:33:55 2004 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gdk/gdkevents.c: have a dummy case GDK_OWNER_CHANGE in switch
|
||||
statements to avoid gcc warnings about not all enum values handled.
|
||||
|
||||
* gdk/x11/gdkdisplay-x11.c (gdk_display_open): ignore should live in
|
||||
#ifdef HAVE_XFIXES.
|
||||
|
||||
Fri Jul 9 23:26:09 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.h (struct _GdkWindowImplX11): Add an
|
||||
|
@ -559,6 +559,7 @@ gdk_event_get_time (GdkEvent *event)
|
||||
case GDK_UNMAP:
|
||||
case GDK_WINDOW_STATE:
|
||||
case GDK_SETTING:
|
||||
case GDK_OWNER_CHANGE:
|
||||
/* return current time */
|
||||
break;
|
||||
}
|
||||
@ -634,6 +635,7 @@ gdk_event_get_state (GdkEvent *event,
|
||||
case GDK_UNMAP:
|
||||
case GDK_WINDOW_STATE:
|
||||
case GDK_SETTING:
|
||||
case GDK_OWNER_CHANGE:
|
||||
/* no state field */
|
||||
break;
|
||||
}
|
||||
|
@ -151,7 +151,9 @@ gdk_display_open (const gchar *display_name)
|
||||
XClassHint *class_hint;
|
||||
gulong pid;
|
||||
gint i;
|
||||
#ifdef HAVE_XFIXES
|
||||
gint ignore;
|
||||
#endif
|
||||
|
||||
xdisplay = XOpenDisplay (display_name);
|
||||
if (!xdisplay)
|
||||
|
Loading…
Reference in New Issue
Block a user