bus: update signal docs for gst_bus_enable_sync_message_emission()
authorStefan Sauer <ensonic@users.sf.net>
Fri, 5 Apr 2013 19:10:48 +0000 (21:10 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Fri, 5 Apr 2013 19:24:19 +0000 (21:24 +0200)
gst/gstbus.c

index 2614d2b..cdc3942 100644 (file)
@@ -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:
-   * <programlisting>
-   * gst_bus_set_sync_handler (bus, gst_bus_sync_signal_handler, yourdata);
-   * </programlisting>
+   * 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),