summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2016-10-03 12:35:32 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2016-10-03 12:35:32 +0200
commitb8d92b0b36b3907ef066e068e33e9309eb0f8ec5 (patch)
tree997c8cc58542881a32bb2712c981c7e22a9973ee
parentcee2a4f215d5edf2e27b9964d3cfcb28a9d4941c (diff)
downloadgobject-introspection-b8d92b0b36b3907ef066e068e33e9309eb0f8ec5.tar.gz
Gio-2.0.gir: Don't exclude gsettingsbackend.h and pass needed define
-rw-r--r--Makefile-gir.am3
-rwxr-xr-xmisc/update-glib-annotations.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile-gir.am b/Makefile-gir.am
index a09260a9..919e2697 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 e415ad86..89e1780c 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']