summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-01-21 22:15:35 +0100
committerinfirit <[email protected]>2014-01-21 22:15:35 +0100
commitb6c5615c2ac8124dadd5cc968cb0669028c18222 (patch)
tree98e0a675ea2ce7dbb3cf4323dd7fee72cf83f3f3
parenta91f08748537eab497b0b2350a66e5d65fcb9a36 (diff)
downloadatril-b6c5615c2ac8124dadd5cc968cb0669028c18222.tar.bz2
atril-b6c5615c2ac8124dadd5cc968cb0669028c18222.tar.xz
Use GTK_API_VERSION for g-ir-scanner instead of hardcoded version
-rw-r--r--libdocument/Makefile.am4
-rw-r--r--libview/Makefile.am4
2 files changed, 4 insertions, 4 deletions
diff --git a/libdocument/Makefile.am b/libdocument/Makefile.am
index b3ea2c5f..b3e79c0c 100644
--- a/libdocument/Makefile.am
+++ b/libdocument/Makefile.am
@@ -159,9 +159,9 @@ AtrilDocument-$(EV_API_VERSION).gir: libatrildocument.la Makefile $(INST_H_FILES
--nsversion=$(EV_API_VERSION) \
--include=GLib-2.0 \
--include=Gio-2.0 \
- --include=Gdk-2.0 \
+ --include=Gdk-$(GTK_API_VERSION) \
--include=GdkPixbuf-2.0 \
- --include=Gtk-2.0 \
+ --include=Gtk-$(GTK_API_VERSION) \
--library=atrildocument \
--libtool="$(SAVED_LIBTOOL)" \
--output $@ \
diff --git a/libview/Makefile.am b/libview/Makefile.am
index 4be99e61..7dd0a950 100644
--- a/libview/Makefile.am
+++ b/libview/Makefile.am
@@ -127,9 +127,9 @@ AtrilView-$(EV_API_VERSION).gir: libatrilview.la Makefile $(INST_H_FILES) $(filt
--include=GLib-2.0 \
--include=GObject-2.0 \
--include=Gio-2.0 \
- --include=Gdk-2.0 \
+ --include=Gdk-$(GTK_API_VERSION) \
--include=GdkPixbuf-2.0 \
- --include=Gtk-2.0 \
+ --include=Gtk-$(GTK_API_VERSION) \
--include=AtrilDocument-$(EV_API_VERSION) \
--library=atrilview \
--libtool="$(LIBTOOL)" \