diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-02-12 09:12:36 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-02-12 09:12:36 -0500 |
commit | 9f12cc3dcd7e56cb7f500c24b302e158dc47bea5 (patch) | |
tree | 7f623d7f319a377afd7ab0a0a4e8c37a84d9f53e | |
parent | 3138c3ddcbe9b2566cd1921711d44b9ecaadcc97 (diff) | |
download | gtk+-9f12cc3dcd7e56cb7f500c24b302e158dc47bea5.tar.gz |
Protect x11-specific functions in gtktypefuncs.c
This is just a bandaid fix, we really need to systematically collect
type functions for all backends.
-rw-r--r-- | gtk/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/Makefile.am b/gtk/Makefile.am index fe514890b0..c95adb7323 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -874,7 +874,7 @@ gtktypefuncs.c: @REBUILD@ stamp-gtktypebuiltins.h $(top_srcdir)/gtk/*.h $(top_sr ${CPP} $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) xgen-gtfsrc.c | \ $(GREP) -o '\bg[td]k_[a-zA-Z0-9_]*_get_type\b' | \ sort | uniq | \ - $(SED) '{ s/^/*tp++ = /; s/$$/();/; }' > xgen-gtf \ + $(SED) '{ s/^/*tp++ = /; s/$$/();/; s/^.*\(gdk_x11\|gtk_plug_\|gtk_socket_\).*$$/#ifdef GDK_WINDOWING_X11\n&\n#endif/; }' > xgen-gtf \ && cp xgen-gtf $@ && rm -f xgen-gtf gtktestutils.c: gtktypefuncs.c |