From cf90a0ce4af5e104fa5dd7f28128221a43422759 Mon Sep 17 00:00:00 2001 From: infirit Date: Fri, 18 Oct 2013 18:47:00 +0200 Subject: Use GTK_API_VERSION for GIR --- configure.ac | 1 + libcaja-extension/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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) \ -- cgit v1.2.1