configure: Require GTK+ >= 2.14 for the example
This commit is contained in:
parent
44b9b422d8
commit
4b22f8c136
@ -204,7 +204,7 @@ AC_SUBST(GSTPB_PREFIX)
|
||||
dnl GTK is optional and used in examples
|
||||
HAVE_GTK=NO
|
||||
PKG_CHECK_MODULES(GTK, gtk+-x11-3.0, HAVE_GTK=yes,
|
||||
[PKG_CHECK_MODULES(GTK, gtk+-x11-2.0 >= 2.12.0, HAVE_GTK=yes,HAVE_GTK=no)])
|
||||
[PKG_CHECK_MODULES(GTK, gtk+-x11-2.0 >= 2.14.0, HAVE_GTK=yes,HAVE_GTK=no)])
|
||||
AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
|
||||
|
||||
dnl Needed for GtkBuilder to autoconnect signals
|
||||
|
@ -27,10 +27,6 @@
|
||||
#undef G_LOG_DOMAIN
|
||||
#define G_LOG_DOMAIN "demo-gui"
|
||||
|
||||
#if !GTK_CHECK_VERSION(2,12,0)
|
||||
#define gtk_widget_error_bell(w) /* nop */
|
||||
#endif
|
||||
|
||||
enum
|
||||
{
|
||||
SIGNAL_ERROR,
|
||||
|
Loading…
x
Reference in New Issue
Block a user