From 3e78a5dd19a4f8e574a077c600f86299589d64c4 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Wed, 19 May 2010 15:57:08 +0300 Subject: [PATCH] docs: add links for GSource priorities Now it is xreffed with the glib docs, where the priority scale is explained. --- gst/gstbus.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/gst/gstbus.c b/gst/gstbus.c index 58300b19a6..2639d0e848 100644 --- a/gst/gstbus.c +++ b/gst/gstbus.c @@ -865,7 +865,8 @@ gst_bus_add_watch_full_unlocked (GstBus * bus, gint priority, * @user_data: user data passed to @func. * @notify: the function to call when the source is removed. * - * Adds a bus watch to the default main context with the given @priority. + * Adds a bus watch to the default main context with the given @priority (e.g. + * %G_PRIORITY_DEFAULT). * This function is used to receive asynchronous messages in the main loop. * There can only be a single bus watch per bus, you must remove it before you * can set a new one. @@ -901,7 +902,8 @@ gst_bus_add_watch_full (GstBus * bus, gint priority, * @func: A function to call when a message is received. * @user_data: user data passed to @func. * - * Adds a bus watch to the default main context with the default priority. + * Adds a bus watch to the default main context with the default priority + * (%G_PRIORITY_DEFAULT). * This function is used to receive asynchronous messages in the main loop. * There can only be a single bus watch per bus, you must remove it before you * can set a new one. @@ -1191,7 +1193,8 @@ gst_bus_disable_sync_message_emission (GstBus * bus) * @bus: a #GstBus on which you want to receive the "message" signal * @priority: The priority of the watch. * - * Adds a bus signal watch to the default main context with the given priority. + * Adds a bus signal watch to the default main context with the given @priority + * (e.g. %G_PRIORITY_DEFAULT). * After calling this statement, the bus will emit the "message" signal for each * message posted on the bus when the main loop is running. * @@ -1245,8 +1248,8 @@ add_failed: * gst_bus_add_signal_watch: * @bus: a #GstBus on which you want to receive the "message" signal * - * Adds a bus signal watch to the default main context with the default - * priority. + * Adds a bus signal watch to the default main context with the default priority + * (%G_PRIORITY_DEFAULT). * After calling this statement, the bus will emit the "message" signal for each * message posted on the bus. *