mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
bus: gst_bus_add_watch() can return 0 on error
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=735195
This commit is contained in:
parent
59c34a8ff7
commit
b0fff643dc
1 changed files with 2 additions and 2 deletions
|
@ -902,7 +902,7 @@ gst_bus_add_watch_full_unlocked (GstBus * bus, gint priority,
|
|||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Returns: The event source id.
|
||||
* Returns: The event source id or 0 if @bus already got an event source.
|
||||
* Rename to: gst_bus_add_watch
|
||||
*/
|
||||
guint
|
||||
|
@ -939,7 +939,7 @@ gst_bus_add_watch_full (GstBus * bus, gint priority,
|
|||
* The watch can be removed using g_source_remove() or by returning %FALSE
|
||||
* from @func.
|
||||
*
|
||||
* Returns: The event source id.
|
||||
* Returns: The event source id or 0 if @bus already got an event source.
|
||||
*
|
||||
* MT safe.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue