Be a little more explcit in the docs. Includes Owen's requested changes.

2008-09-24  Sven Herzberg  <sven@imendio.com>

	Be a little more explcit in the docs. Includes Owen's requested
	changes.

	* glib/gmain.c: improved documentation for g_source_attach() and
	g_source_destroy()


svn path=/trunk/; revision=7539
This commit is contained in:
Sven Herzberg 2008-09-24 13:44:27 +00:00 committed by Sven Herzberg
parent 0275c4141e
commit ee685b003e
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2008-09-24 Sven Herzberg <sven@imendio.com>
Be a little more explcit in the docs. Includes Owen's requested
changes.
* glib/gmain.c: improved documentation for g_source_attach() and
g_source_destroy()
2008-09-23 Michael Natterer <mitch@imendio.com>
* glib/glib.h: #include <glib/gpoll.h>

View File

@ -639,7 +639,7 @@ g_source_list_remove (GSource *source,
* @context: a #GMainContext (if %NULL, the default context will be used)
*
* Adds a #GSource to a @context so that it will be executed within
* that context.
* that context. Remove it by calling g_source_destroy().
*
* Return value: the ID (greater than 0) for the source within the
* #GMainContext.
@ -1364,7 +1364,8 @@ g_main_context_find_source_by_user_data (GMainContext *context,
* g_timeout_add(), g_timeout_add_full(), g_child_watch_add(),
* g_child_watch_add_full(), g_io_add_watch(), and g_io_add_watch_full().
*
* See also g_source_destroy().
* See also g_source_destroy(). You must use g_source_destroy() for sources
* added to a non-default main context.
*
* Return value: %TRUE if the source was found and removed.
**/