diff options
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/x11/gdkimage-x11.c | 8 | ||||
-rw-r--r-- | gdk/x11/gdkwindow-x11.c | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/gdk/x11/gdkimage-x11.c b/gdk/x11/gdkimage-x11.c index cfdb569ca..4fe54dd09 100644 --- a/gdk/x11/gdkimage-x11.c +++ b/gdk/x11/gdkimage-x11.c @@ -26,14 +26,6 @@ #include <config.h> -/* gcc -ansi -pedantic on GNU/Linux causes warnings and errors - * unless this is defined: - * warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" - */ -#ifndef _XOPEN_SOURCE -# define _XOPEN_SOURCE 1 -#endif - #include <stdlib.h> #include <sys/types.h> diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c index 8f782aafb..a68b2be56 100644 --- a/gdk/x11/gdkwindow-x11.c +++ b/gdk/x11/gdkwindow-x11.c @@ -1988,6 +1988,8 @@ gdk_window_set_functions (GdkWindow *window, gdk_window_set_mwm_hints (window, &hints); } +#ifdef HAVE_SHAPE_EXT + /* * propagate the shapes from all child windows of a GDK window to the parent * window. Shamelessly ripped from Enlightenment's code @@ -2300,6 +2302,8 @@ gdk_propagate_shapes (Display *disp, g_free (spans); } +#endif /* HAVE_SHAPE_EXT */ + void gdk_window_set_child_shapes (GdkWindow *window) { |