From 627d111eb660b800a31dc586b6db81cb1938f6a9 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Fri, 5 Apr 2013 21:10:48 +0200 Subject: [PATCH] bus: update signal docs for gst_bus_enable_sync_message_emission() --- gst/gstbus.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gst/gstbus.c b/gst/gstbus.c index 2614d2bda7..cdc3942e5a 100644 --- a/gst/gstbus.c +++ b/gst/gstbus.c @@ -188,12 +188,8 @@ gst_bus_class_init (GstBusClass * klass) * A message has been posted on the bus. This signal is emitted from the * thread that posted the message so one has to be careful with locking. * - * This signal will not be emitted by default, you have to set up - * gst_bus_sync_signal_handler() as a sync handler if you want this - * signal to be emitted when a message is posted on the bus, like this: - * - * gst_bus_set_sync_handler (bus, gst_bus_sync_signal_handler, yourdata); - * + * This signal will not be emitted by default, you have to call + * gst_bus_enable_sync_message_emission() before. */ gst_bus_signals[SYNC_MESSAGE] = g_signal_new ("sync-message", G_TYPE_FROM_CLASS (klass),