diff options
author | Dan Winship <danw@gnome.org> | 2011-10-05 10:46:57 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2011-10-07 10:14:34 -0400 |
commit | 59f1f5465571bac403357b59cf7bfe2723356a37 (patch) | |
tree | 20363b914b7830176c41c22a753035d558eb1091 /docs | |
parent | d91769b64160353b4f9861cb68a97a0171b323ad (diff) |
Add g_main_context_ref_thread_default()
Add g_main_context_ref_thread_default(), which always returns a
reffed GMainContext, rather than sometimes returning a (non-reffed)
GMainContext, and sometimes returning NULL. This simplifies the
bookkeeping in any code that needs to keep a reference to the
thread-default context for a while.
https://bugzilla.gnome.org/show_bug.cgi?id=660994
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/glib/glib-sections.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/reference/glib/glib-sections.txt b/docs/reference/glib/glib-sections.txt index 27eae3b9a..464d72a5f 100644 --- a/docs/reference/glib/glib-sections.txt +++ b/docs/reference/glib/glib-sections.txt @@ -485,6 +485,7 @@ g_main_context_invoke_full <SUBSECTION> g_main_context_get_thread_default +g_main_context_ref_thread_default g_main_context_push_thread_default g_main_context_pop_thread_default |