summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2013-10-10 00:51:18 +0200
committerinfirit <[email protected]>2013-10-10 00:51:18 +0200
commit55e8d3025a24479012202c4799925217983e3159 (patch)
tree5578aa3714aa3495436964bcc271edca61d4c68b
parent002703a0f4b6167dd6421c3a0a96795c6386c840 (diff)
downloadmate-polkit-55e8d3025a24479012202c4799925217983e3159.tar.bz2
mate-polkit-55e8d3025a24479012202c4799925217983e3159.tar.xz
use GTK_API_VERSION for gir-scanner
-rw-r--r--configure.ac1
-rw-r--r--polkitgtkmate/Makefile.am4
2 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 6224320..7ceb13a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,6 +19,7 @@ LT_AGE=0
AC_SUBST(LT_CURRENT)
AC_SUBST(LT_REVISION)
AC_SUBST(LT_AGE)
+AC_SUBST(GTK_API_VERSION)
AC_PROG_CC
AC_ISC_POSIX
diff --git a/polkitgtkmate/Makefile.am b/polkitgtkmate/Makefile.am
index 4d0932f..ff816c3 100644
--- a/polkitgtkmate/Makefile.am
+++ b/polkitgtkmate/Makefile.am
@@ -80,12 +80,12 @@ PolkitGtkMate-1.0.gir: libpolkit-gtk-mate-1.la $(G_IR_SCANNER) Makefile.am
--namespace PolkitGtkMate \
--strip-prefix=Polkit \
--nsversion=1.0 \
- --include=Gtk-2.0 \
+ --include=Gtk-${GTK_API_VERSION} \
--include=Polkit-1.0 \
--library=polkit-gtk-mate-1 \
--output $@ \
--pkg=polkit-gobject-1 \
- --pkg=gtk+-2.0 \
+ --pkg=gtk+-${GTK_API_VERSION} \
--libtool=$(top_builddir)/libtool \
-I$(top_srcdir) \
-DPOLKIT_GTK_MATE_COMPILATION \