[gobject-introspection] Gio-2.0.gir: Don't exclude gsettingsbackend.h and pass needed define



commit b8d92b0b36b3907ef066e068e33e9309eb0f8ec5
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Oct 3 12:35:32 2016 +0200

    Gio-2.0.gir: Don't exclude gsettingsbackend.h and pass needed define

 Makefile-gir.am                 |    3 ++-
 misc/update-glib-annotations.py |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/Makefile-gir.am b/Makefile-gir.am
index a09260a..919e269 100644
--- a/Makefile-gir.am
+++ b/Makefile-gir.am
@@ -179,10 +179,11 @@ Gio_2_0_gir_PACKAGES = gio-2.0 $(GIO_UNIX_PACKAGES)
 Gio_2_0_gir_INCLUDES = GObject-2.0
 Gio_2_0_gir_CFLAGS = \
             -DGIO_COMPILATION \
+            -DG_SETTINGS_ENABLE_BACKEND \
             -I$(GIO_LIBDIR)/glib-2.0/include
 Gio_2_0_gir_FILES = \
             $(GIO_UNIX_HDRS) \
-            $(filter-out %/gsettingsbackend.h, $(shell echo $(GIO_INCLUDEDIR)/gio/*.h)) \
+            $(shell echo $(GIO_INCLUDEDIR)/gio/*.h) \
             gir/gio-2.0.c
 
 BUILT_GIRSOURCES += Gio-2.0.gir
diff --git a/misc/update-glib-annotations.py b/misc/update-glib-annotations.py
index e415ad8..89e1780 100755
--- a/misc/update-glib-annotations.py
+++ b/misc/update-glib-annotations.py
@@ -88,7 +88,7 @@ if __name__ == '__main__':
                {'name':         'gio',
                 'srcname':      '../gir/gio-2.0.c',
                 'includes':     ['glib', 'gmodule', 'gobject', 'gio'],
-                'defines':      ['-DGOBJECT_COMPILATION', '-DGIO_COMPILATION']}]
+                'defines':      ['-DGOBJECT_COMPILATION', '-DGIO_COMPILATION', 
'-DG_SETTINGS_ENABLE_BACKEND']}]
 
     for module in modules:
         srcname = module['srcname']


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