[rygel/gnome-2-32] build,ui: Use correct Gtk+ Vala API version



commit e1349e71c4be07838f6108dd161d92a6e844b3a2
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon Sep 27 16:52:54 2010 +0300

    build,ui: Use correct Gtk+ Vala API version

 configure.ac       |    1 +
 src/ui/Makefile.am |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 89698ba..a7f5e1e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -187,6 +187,7 @@ else
 fi
 
 AC_SUBST(HAVE_GTK)
+AC_SUBST(GTK_VAPI_VERSION)
 AM_CONDITIONAL(BUILD_UI, test x$BUILD_UI = xyes)
 
 # Build test plugin
diff --git a/src/ui/Makefile.am b/src/ui/Makefile.am
index 79460a9..c339929 100644
--- a/src/ui/Makefile.am
+++ b/src/ui/Makefile.am
@@ -35,7 +35,8 @@ rygel_preferences_VALAFLAGS = \
 	--vapidir=$(rygeldir) --thread \
 	--pkg rygel-1.0 --pkg rygel-build-config --pkg gupnp-1.0 \
 	--pkg gupnp-av-1.0 --pkg dbus-glib-1 --pkg gconf-2.0 \
-	--pkg gstreamer-0.10 --pkg gio-2.0 --pkg gee-1.0 --pkg gtk+-3.0 -g
+	--pkg gstreamer-0.10 --pkg gio-2.0 --pkg gee-1.0 \
+	--pkg gtk+-$(GTK_VAPI_VERSION) -g
 
 rygel_preferences_LDADD = \
 		$(abs_top_builddir)/src/rygel/librygel-configuration.a \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]