PATCH (Okay to commit?) -- Fix the build for libgnomeui.



--- libgnomeui.orig/libgnomeui/ChangeLog	Sun Nov 18 21:06:21 2001
+++ libgnomeui/libgnomeui/ChangeLog	Sun Nov 18 21:24:09 2001
@@ -1,3 +1,10 @@
+Sun Nov 18 2001  Miles Lane <miles megapathdsl net>
+
+	* libgnomeui/Makefile.am: replace <gobject/genums.h>
+	with <glib-object.h> due to the addition of an #error into
+	genums.h that specifies that only glib-object.h should
+	be included directly.  This patch fixes the build.
+
 Sun Nov 18 14:31:59 2001  George Lebl <jirka 5z com>
 
 	* gnome-icon-sel.c, gnome-mdi.c: Get rid of GTK_OBJECT_DESTROYED
--- libgnomeui.orig/libgnomeui/Makefile.am	Sun Nov 18 21:06:21 2001
+++ libgnomeui/libgnomeui/Makefile.am	Sun Nov 18 21:50:24 2001
@@ -156,7 +156,6 @@
 $(srcdir)/gnometypebuiltins.c: @REBUILD@ Makefile.am $(gnome_headers) gnometypebuiltins.h
 	cd $(srcdir) \
 	&& glib-mkenums \
-			--fhead "#include <gobject/genums.h>\n" \
 			--fhead "#include \"libgnomeui.h\"\n\n" \
 			--fhead "#include \"gnometypebuiltins.h\"\n\n" \
 			--fprod "\n/* enumerations from \"@filename \" */" \
@@ -177,7 +176,7 @@
 	&& glib-mkenums \
 			--fhead "#ifndef __GNOMETYPEBUILTINS_H__\n" \
 			--fhead "#define __GNOMETYPEBUILTINS_H__ 1\n\n" \
-			--fhead "#include <gobject/genums.h>\n\n" \
+			--fhead "#include <glib-object.h>\n\n" \
 			--fhead "G_BEGIN_DECLS\n\n" \
 			--ftail "G_END_DECLS\n\n" \
 			--ftail "#endif /* __GNOMETYPEBUILTINS_H__ */\n" \




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]