summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonsta <[email protected]>2014-12-23 11:17:55 +0300
committerMonsta <[email protected]>2014-12-23 11:17:55 +0300
commita884673c31d0e7a4eeb990b038500aa3d0d3355c (patch)
treec914e4e708e1d167c3e6356c911af8952d683ee1
parent32a360d6c14df5f5338ac602cce3174c2443aa47 (diff)
downloadcaja-extensions-a884673c31d0e7a4eeb990b038500aa3d0d3355c.tar.bz2
caja-extensions-a884673c31d0e7a4eeb990b038500aa3d0d3355c.tar.xz
sendto: use proper GTK+ version in .pc file
-rw-r--r--configure.ac1
-rw-r--r--sendto/caja-sendto.pc.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9ae2513..9fb29e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,6 +50,7 @@ case "$with_gtk" in
GTK_REQUIRED=3.0.0
;;
esac
+AC_SUBST(GTK_API_VERSION)
# Common requirements
PKG_CHECK_MODULES(CAJA,
diff --git a/sendto/caja-sendto.pc.in b/sendto/caja-sendto.pc.in
index 50f629f..575631e 100644
--- a/sendto/caja-sendto.pc.in
+++ b/sendto/caja-sendto.pc.in
@@ -6,5 +6,5 @@ pluginsdir=@libdir@/caja-sendto/plugins
Name: caja-sendto
Description: Extend caja-sendto through plugins
Version: @VERSION@
-Requires: glib-2.0 gmodule-2.0 gtk+-2.0
+Requires: glib-2.0 gmodule-2.0 gtk+-@GTK_API_VERSION@
Cflags: -I${includedir}/caja-sendto