More additions

This commit is contained in:
Matthias Clasen 2006-06-02 02:50:38 +00:00
parent e7da49e64e
commit 89a803beb4
3 changed files with 11 additions and 11 deletions

View File

@ -1,11 +1,11 @@
2006-06-01 Matthias Clasen <mclasen@redhat.com> 2006-06-01 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols:
* glib/gmain.h: * glib/gmain.h:
* glib/gmain.c: Add two new functions, * glib/gmain.c: Add three new functions,
g_source_set_funcs and g_source_is_destroyed, g_main_current_source, g_source_set_funcs and
that will be necessary to solve thread-safety g_source_is_destroyed, that will be necessary to
issues with idles in GTK+. (#321886, Chris Wilson) solve thread-safety issues with idles in GTK+.
(#321886, Chris Wilson)
2006-06-01 Matthias Clasen <mclasen@redhat.com> 2006-06-01 Matthias Clasen <mclasen@redhat.com>

View File

@ -1,11 +1,11 @@
2006-06-01 Matthias Clasen <mclasen@redhat.com> 2006-06-01 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols:
* glib/gmain.h: * glib/gmain.h:
* glib/gmain.c: Add two new functions, * glib/gmain.c: Add three new functions,
g_source_set_funcs and g_source_is_destroyed, g_main_current_source, g_source_set_funcs and
that will be necessary to solve thread-safety g_source_is_destroyed, that will be necessary to
issues with idles in GTK+. (#321886, Chris Wilson) solve thread-safety issues with idles in GTK+.
(#321886, Chris Wilson)
2006-06-01 Matthias Clasen <mclasen@redhat.com> 2006-06-01 Matthias Clasen <mclasen@redhat.com>

View File

@ -1925,7 +1925,7 @@ g_main_current_source (void)
* SomeWidget *self = data; * SomeWidget *self = data;
* *
* GDK_THREADS_ENTER (); * GDK_THREADS_ENTER ();
* if (!g_source_is_destroyed (g_main_get_current_source ())) * if (!g_source_is_destroyed (g_main_current_source ()))
* { * {
* /<!-- -->* do stuff with self *<!-- -->/ * /<!-- -->* do stuff with self *<!-- -->/
* } * }