summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2013-10-18 18:47:00 +0200
committerinfirit <[email protected]>2013-10-18 18:47:00 +0200
commitcf90a0ce4af5e104fa5dd7f28128221a43422759 (patch)
tree01e56d712c2ee5524a1d66a7e078fe1d76f10be8
parent3324b0975011ebd2338c69fc0f81e9f8dcae06ab (diff)
downloadcaja-cf90a0ce4af5e104fa5dd7f28128221a43422759.tar.bz2
caja-cf90a0ce4af5e104fa5dd7f28128221a43422759.tar.xz
Use GTK_API_VERSION for GIR
-rw-r--r--configure.ac1
-rw-r--r--libcaja-extension/Makefile.am2
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f4cab8fe..38b602c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,6 +50,7 @@ case "$with_gtk" in
GAIL_API_VERSION=-3.0
;;
esac
+AC_SUBST([GTK_API_VERSION])
dnl ===========================================================================
diff --git a/libcaja-extension/Makefile.am b/libcaja-extension/Makefile.am
index 94be10e6..97134728 100644
--- a/libcaja-extension/Makefile.am
+++ b/libcaja-extension/Makefile.am
@@ -70,7 +70,7 @@ introspection_files = \
$(libcaja_extension_include_HEADERS) \
$(libcaja_extension_la_SOURCES)
Caja-2.0.gir: libcaja-extension.la Makefile
-Caja_2_0_gir_INCLUDES = Gtk-2.0 Gio-2.0 GLib-2.0
+Caja_2_0_gir_INCLUDES = Gtk-${GTK_API_VERSION} Gio-2.0 GLib-2.0
Caja_2_0_gir_CFLAGS = \
-I$(top_srcdir) \
-I$(top_builddir) \