[totem] Revert "sample-vala: Remove an unnecessary Vala dependency on GTK+"



commit 6e7561d0bdd75be6b800339dd21b48f413c57052
Author: Philip Withnall <philip tecnocode co uk>
Date:   Fri Jul 8 19:00:14 2011 +0100

    Revert "sample-vala: Remove an unnecessary Vala dependency on GTK+"
    
    This reverts commit 00deab84c2c86b93d6460dbdbf0750910d1af7a9.
    
    Turns out I failed to actually get Vala to rebuild the sample-vala plugin
    when doing my testing, and it still fails with the GTK+ 3.0 GIR.

 src/plugins/sample-vala/Makefile.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/sample-vala/Makefile.am b/src/plugins/sample-vala/Makefile.am
index 88439a5..b100930 100644
--- a/src/plugins/sample-vala/Makefile.am
+++ b/src/plugins/sample-vala/Makefile.am
@@ -5,9 +5,11 @@ plugin_LTLIBRARIES = libsample-vala.la
 
 plugin_in_files = sample-vala.plugin.in
 
+# here we are explicitly specifying gtk+-3.0 to use the vapi because vala still
+# cannot parse the gir
 VALAFLAGS = \
 	--girdir=$(top_srcdir)/src	\
-	--pkg Totem-1.0 --pkg Peas-1.0
+	--pkg Totem-1.0 --pkg Peas-1.0 --pkg gtk+-3.0
 
 libsample_vala_la_SOURCES = totem-sample-vala-plugin.vala
 libsample_vala_la_LDFLAGS = $(plugin_ldflags)



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