summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) \