diff options
author | Thibault Saunier <tsaunier@gnome.org> | 2016-01-19 11:15:58 +0100 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2016-01-19 11:22:11 +0100 |
commit | 106d4e98f529de44a923f32bf9d1eba9c33b1c53 (patch) | |
tree | a0be07ddff76ced9656da7dd45194b2efa1b258e | |
parent | a526e5634e556dde4becc8ab5b92dd9f3257b096 (diff) |
g-i: fix init section to avoid compiler warnings
-rw-r--r-- | ges/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ges/Makefile.am b/ges/Makefile.am index 12232465..4cd18a83 100644 --- a/ges/Makefile.am +++ b/ges/Makefile.am @@ -206,8 +206,8 @@ GES-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libges-@GST_API_VERSION@.la --pkg gstreamer-controller-@GST_API_VERSION@ \ --pkg gio-2.0 \ --pkg-export ges-@GST_API_VERSION@ \ - --add-init-section="gst_init(NULL, NULL);" \ - --add-init-section="ges_init(NULL, NULL);" \ + --add-init-section="$(INTROSPECTION_INIT)" \ + --add-init-section="extern gboolean ges_init(void); ges_init();" \ --output $@ \ $(gir_headers) \ $(gir_sources) |