From 8db3685e2919c276017ba0f226b5a0b59542a85a Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Fri, 16 Jan 2009 20:10:26 +0000 Subject: [PATCH] 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. svn path=/trunk/; revision=148 --- src/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index c3269b233..60e4784f6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -104,6 +104,7 @@ Tidy-1.0.gir: $(metacity) $(G_IR_SCANNER) libgnome-shell.la libtidy-1.0.la Makef --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 @@ Big-1.0.gir: $(metacity) $(G_IR_SCANNER) libgnome-shell.la libbig-1.0.la Makefil --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