mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
gmain: Document return value of GSourceFuncs.dispatch
This commit is contained in:
parent
6b652b1a2e
commit
a2a3587036
@ -101,7 +101,9 @@ typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
|
||||
* function may be %NULL if the source was never connected to a callback
|
||||
* using g_source_set_callback(). The @dispatch function should call the
|
||||
* callback function with @user_data and whatever additional parameters
|
||||
* are needed for this type of event source.
|
||||
* are needed for this type of event source. The return value of the
|
||||
* @dispatch function should be #G_SOURCE_REMOVE if the source should be
|
||||
* removed or #G_SOURCE_CONTINUE to keep it.
|
||||
* @finalize: Called when the source is finalized.
|
||||
*
|
||||
* The `GSourceFuncs` struct contains a table of
|
||||
|
Loading…
Reference in New Issue
Block a user