gnome-shell r148 - trunk/src



Author: otaylor
Date: Fri Jan 16 20:10:26 2009
New Revision: 148
URL: http://svn.gnome.org/viewvc/gnome-shell?rev=148&view=rev

Log:
Include generated enumeration types when scanning

gjs requires flags types to be registered with GObject to
work properly; g-ir-scanner requires the get_type() functions
to be present in a scanned header in order to find the
GObject type for a flag. So pass {tidy,big}-enum-types.h to
the scanner as appropriate.

Modified:
   trunk/src/Makefile.am

Modified: trunk/src/Makefile.am
==============================================================================
--- trunk/src/Makefile.am	(original)
+++ trunk/src/Makefile.am	Fri Jan 16 20:10:26 2009
@@ -104,6 +104,7 @@
 	        --program-arg=--mutter-plugins=$$(pwd)/libgnome-shell.la \
 		$(tidy_source_h)			\
 		$(tidy_source_c)			\
+		tidy-enum-types.h			\
 		$(tidy_cflags)				\
 		-o $@
 CLEANFILES += Tidy-1.0.gir
@@ -121,6 +122,7 @@
 	        --program-arg=--mutter-plugins=$$(pwd)/libgnome-shell.la \
 		$(big_source_h)			\
 		$(big_source_c)			\
+		big-enum-types.h		\
 		$(big_cflags)				\
 		-o $@
 CLEANFILES += Big-1.0.gir



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