mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue