diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-02-03 16:31:35 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-02-03 16:31:35 +0000 |
commit | d3e4e59214d8e5914ea2aa042db6c3ff8a1f0bfe (patch) | |
tree | 95c5eea57567c47631d6ce9adfc312c00211ad77 /gdk | |
parent | 2c5d938ff81480846539d9659dd92ca90cfb9e40 (diff) | |
download | gtk+-d3e4e59214d8e5914ea2aa042db6c3ff8a1f0bfe.tar.gz |
Remove confusing comment about X11.
Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Remove confusing comment about X11.
Fri Feb 2 19:21:23 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_propagate_shapes): Surround additional
regions with HAVE_SHAPE_EXT. (#50511, Eric Ding)
Fri Feb 2 18:31:54 2001 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkimage-x11.c: Remove definition of _XOPEN_SOURCE, since
it breaks things on BSD. If you want to compile GTK+ with
-ansi -pedantic, you should supply CPP_FLAGS=_XOPEN_SOURCE
when configuring, since GTK+ simply can't be "pure ANSI"
in the header files it uses. (#8170, Greg Hudson)
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 cfdb569ca5..4fe54dd09e 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 8f782aafbe..a68b2be56a 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) { |