mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
configure: Require GTK+ >= 2.14 for the example
This commit is contained in:
parent
44b9b422d8
commit
4b22f8c136
2 changed files with 1 additions and 5 deletions
|
@ -204,7 +204,7 @@ AC_SUBST(GSTPB_PREFIX)
|
||||||
dnl GTK is optional and used in examples
|
dnl GTK is optional and used in examples
|
||||||
HAVE_GTK=NO
|
HAVE_GTK=NO
|
||||||
PKG_CHECK_MODULES(GTK, gtk+-x11-3.0, HAVE_GTK=yes,
|
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")
|
AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
|
||||||
|
|
||||||
dnl Needed for GtkBuilder to autoconnect signals
|
dnl Needed for GtkBuilder to autoconnect signals
|
||||||
|
|
|
@ -27,10 +27,6 @@
|
||||||
#undef G_LOG_DOMAIN
|
#undef G_LOG_DOMAIN
|
||||||
#define G_LOG_DOMAIN "demo-gui"
|
#define G_LOG_DOMAIN "demo-gui"
|
||||||
|
|
||||||
#if !GTK_CHECK_VERSION(2,12,0)
|
|
||||||
#define gtk_widget_error_bell(w) /* nop */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
SIGNAL_ERROR,
|
SIGNAL_ERROR,
|
||||||
|
|
Loading…
Reference in a new issue