summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-10-09 15:53:30 -0700
committerStefano Karapetsas <[email protected]>2013-10-09 15:53:30 -0700
commit1ffdbffcaed02441777fd47fae8c98f5970551b9 (patch)
treee6e87ac775b08faf3b0d8d3dbd3c00afcf40a633
parentbc8bde8dda8386e8cc50d356438e4a6f340cc0aa (diff)
parent55e8d3025a24479012202c4799925217983e3159 (diff)
downloadmate-polkit-1ffdbffcaed02441777fd47fae8c98f5970551b9.tar.bz2
mate-polkit-1ffdbffcaed02441777fd47fae8c98f5970551b9.tar.xz
Merge pull request #7 from infirit/master
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 8a7bddc..1ab7753 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 \