[grilo] test-ui: We only really support GTK+ 3.x builds



commit 9a1a2f0856b353fbf94ead22b4a31f2ee3a4d0b0
Author: Bastien Nocera <hadess hadess net>
Date:   Fri May 25 15:40:18 2012 +0100

    test-ui: We only really support GTK+ 3.x builds
    
    So stop fooling ourselves, that code just doesn't work with GTK+ 2.x
    
    https://bugzilla.gnome.org/show_bug.cgi?id=676823

 configure.ac |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a4ee0e8..a399f68 100644
--- a/configure.ac
+++ b/configure.ac
@@ -100,10 +100,7 @@ AC_SUBST(GLIB_MKENUMS)
 # UI Tool
 # ----------------------------------------------------------
 
-gtkver="gtk+-3.0"
-PKG_CHECK_EXISTS([gtk+-3.0 >= 3.0], [gtkver="gtk+-3.0"], [gtkver="gtk+-2.0"])
-
-PKG_CHECK_MODULES([GTU], [ ${gtkver} ],
+PKG_CHECK_MODULES([GTU], [ gtk+-3.0 >= 3.0 ],
                        [ BUILD_GRILO_TEST_UI=yes ],
                        [ BUILD_GRILO_TEST_UI=no ])
 



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