From b04f6dbca02e9f15e07fb82cb52287c5ce15e861 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 8 Jun 2011 23:48:55 -0400 Subject: [PATCH] Move gmain docs inline --- docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/main.sgml | 906 ------------------------------------ glib/gmain.h | 16 + 3 files changed, 17 insertions(+), 906 deletions(-) delete mode 100644 docs/reference/glib/tmpl/main.sgml diff --git a/docs/reference/glib/tmpl/.gitignore b/docs/reference/glib/tmpl/.gitignore index 2c7fc71..2c178fe 100644 --- a/docs/reference/glib/tmpl/.gitignore +++ b/docs/reference/glib/tmpl/.gitignore @@ -21,6 +21,7 @@ hash_tables.sgml iochannels.sgml linked_lists_double.sgml linked_lists_single.sgml +main.sgml markup.sgml memory_chunks.sgml memory.sgml diff --git a/docs/reference/glib/tmpl/main.sgml b/docs/reference/glib/tmpl/main.sgml deleted file mode 100644 index 506bb7a..0000000 --- a/docs/reference/glib/tmpl/main.sgml +++ /dev/null @@ -1,906 +0,0 @@ - -The Main Event Loop - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -@context: -@is_running: -@Returns: - - - - - - - -@loop: -@Returns: - - - - - - - -@loop: - - - - - - - -@loop: - - - - - - - -@loop: - - - - - - - -@loop: -@Returns: - - - - - - - -@loop: -@Returns: - - - - - - - -@is_running: - - - - - - - -@loop: - - - - - - - -@loop: - - - - - - - -@loop: - - - - - - - -@loop: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -@void: -@Returns: - - - - - - - -@context: -@Returns: - - - - - - - -@context: - - - - - - - -@void: -@Returns: - - - - - - - -@context: -@may_block: -@Returns: - - - - - - - -@may_block: - - - - - - - -@context: -@Returns: - - - - - - - - - - - - - - -@context: -@source_id: -@Returns: - - - - - - - -@context: -@user_data: -@Returns: - - - - - - - -@context: -@funcs: -@user_data: -@Returns: - - - - - - - -@context: - - - - - - - -@context: -@Returns: - - - - - - - -@context: - - - - - - - -@context: -@Returns: - - - - - - - -@context: -@cond: -@mutex: -@Returns: - - - - - - - -@context: -@priority: -@Returns: - - - - - - - -@context: -@max_priority: -@timeout_: -@fds: -@n_fds: -@Returns: - - - - - - - -@context: -@max_priority: -@fds: -@n_fds: -@Returns: - - - - - - - -@context: - - - - - - - -@context: -@func: - - - - - - - -@context: -@Returns: - - - - - - - -@ufds: -@nfsd: -@timeout_: -@Returns: - - - - - - - -@context: -@fd: -@priority: - - - - - - - -@context: -@fd: - - - - - - - -@void: -@Returns: - - - - - - - -@void: -@Returns: - - - - - - - -@func: - - - - - - - -@void: -@Returns: - - - - - - - -@context: - - - - - - - -@context: - - - - - - - -@interval: -@Returns: - - - - - - - -@interval: -@Returns: - - - - - - -@interval: -@function: -@data: -@Returns: - - - - - - -@priority: -@interval: -@function: -@data: -@notify: -@Returns: - - - - - - - -@interval: -@function: -@data: -@Returns: - - - - - - - -@priority: -@interval: -@function: -@data: -@notify: -@Returns: - - - - - - - -@void: -@Returns: - - - - - - -@function: -@data: -@Returns: - - - - - - -@priority: -@function: -@data: -@notify: -@Returns: - - - - - - -@data: -@Returns: - - - - - - - - - - - - - -@pid: -@status: -@data: - - - - - - - -@pid: -@Returns: - - - - - - - -@pid: -@function: -@data: -@Returns: - - - - - - - -@priority: -@pid: -@function: -@data: -@notify: -@Returns: - - - - - - - -@fd: -@fd: -@events: -@revents: - - - - - - -@fds: -@nfds: -@timeout: -@Returns: - - - - - - - - - - - - - - - - - -This is just a placeholder for #GClosureMarshal, which cannot be used here -for dependency reasons. - - -@void: - - - - - - - -@prepare: -@check: -@dispatch: -@finalize: -@closure_callback: -@closure_marshal: - - - - - - -@ref: -@unref: -@get: - - - - - - -@source_funcs: -@struct_size: -@Returns: - - - - - - - -@source: -@Returns: - - - - - - - -@source: - - - - - - - -@source: -@funcs: - - - - - - - -@source: -@context: -@Returns: - - - - - - - -@source: - - - - - - - -@source: -@Returns: - - - - - - - -@source: -@priority: - - - - - - - -@source: -@Returns: - - - - - - - -@source: -@can_recurse: - - - - - - - -@source: -@Returns: - - - - - - - -@source: -@Returns: - - - - - - - -@source: -@Returns: - - - - - - - -@source: -@name: - - - - - - - -@tag: -@name: - - - - - - - -@source: -@Returns: - - - - - - - -@source: -@func: -@data: -@notify: - - - - -Specifies the type of function passed to g_timeout_add(), g_timeout_add_full(), -g_idle_add(), and g_idle_add_full(). - - -@data: data passed to the function, set when the source was created with one -of the above functions. -@Returns: it should return %FALSE if the source should be removed. - - - - - - - -@source: -@callback_data: -@callback_funcs: - - - - - - - -@source: -@fd: - - - - - - - -@source: -@fd: - - - - - - - -@source: -@timeval: - - - - - - -@tag: -@Returns: - - - - - - -@funcs: -@user_data: -@Returns: - - - - - - -@user_data: -@Returns: - - - - diff --git a/glib/gmain.h b/glib/gmain.h index bd94651..314b06c 100644 --- a/glib/gmain.h +++ b/glib/gmain.h @@ -123,6 +123,16 @@ typedef struct _GSourceFuncs GSourceFuncs; * while Windows uses process handles (which are pointers). */ +/** + * GSourceFunc: + * @data: data passed to the function, set when the source was + * created with one of the above functions + * + * Specifies the type of function passed to g_timeout_add(), + * g_timeout_add_full(), g_idle_add(), and g_idle_add_full(). + * + * Returns: %FALSE if the source should be removed + */ typedef gboolean (*GSourceFunc) (gpointer data); /** @@ -172,6 +182,12 @@ struct _GSourceCallbackFuncs gpointer *data); }; +/** + * GSourceDummyMarshal: + * + * This is just a placeholder for #GClosureMarshal, + * which cannot be used here for dependency reasons. + */ typedef void (*GSourceDummyMarshal) (void); struct _GSourceFuncs -- 2.7.4