summaryrefslogtreecommitdiffstats
path: root/examples/scaletempo
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2008-10-30 15:31:59 +0000
committerTim-Philipp Müller <tim@centricular.net>2008-10-30 15:31:59 +0000
commitaa67ed1d1478b118e57b85e465c3753608847866 (patch)
tree1e971cd4203143441188a8d07ef537be592ea51e /examples/scaletempo
parent8d54b879f981efd05142e36f29a4558ee83342f1 (diff)
downloadgst-plugins-bad-aa67ed1d1478b118e57b85e465c3753608847866.tar.gz
gst-plugins-bad-aa67ed1d1478b118e57b85e465c3753608847866.tar.bz2
gst-plugins-bad-aa67ed1d1478b118e57b85e465c3753608847866.zip
configure.ac: Require at least Gtk 2.8.0 for the demos (that's the oldest I can test with; I'm fairly certain Gtk 2.0...
Original commit message from CVS: * configure.ac: Require at least Gtk 2.8.0 for the demos (that's the oldest I can test with; I'm fairly certain Gtk 2.0.0 is not good enough any longer); clean up some unused Gtk-related configure cruft. * examples/scaletempo/demo-gui.c: Define Gtk 2.12 function to noop when compiling against older Gtk.
Diffstat (limited to 'examples/scaletempo')
-rw-r--r--examples/scaletempo/demo-gui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/scaletempo/demo-gui.c b/examples/scaletempo/demo-gui.c
index f5a774f8..01df9991 100644
--- a/examples/scaletempo/demo-gui.c
+++ b/examples/scaletempo/demo-gui.c
@@ -27,6 +27,10 @@
#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,