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
This commit is contained in:
parent
ca724920a3
commit
8db3685e29
@ -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 \
|
--program-arg=--mutter-plugins=$$(pwd)/libgnome-shell.la \
|
||||||
$(tidy_source_h) \
|
$(tidy_source_h) \
|
||||||
$(tidy_source_c) \
|
$(tidy_source_c) \
|
||||||
|
tidy-enum-types.h \
|
||||||
$(tidy_cflags) \
|
$(tidy_cflags) \
|
||||||
-o $@
|
-o $@
|
||||||
CLEANFILES += Tidy-1.0.gir
|
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 \
|
--program-arg=--mutter-plugins=$$(pwd)/libgnome-shell.la \
|
||||||
$(big_source_h) \
|
$(big_source_h) \
|
||||||
$(big_source_c) \
|
$(big_source_c) \
|
||||||
|
big-enum-types.h \
|
||||||
$(big_cflags) \
|
$(big_cflags) \
|
||||||
-o $@
|
-o $@
|
||||||
CLEANFILES += Big-1.0.gir
|
CLEANFILES += Big-1.0.gir
|
||||||
|
Loading…
Reference in New Issue
Block a user