2006-06-01 Matthias Clasen <mclasen@redhat.com>
- * glib/glib.symbols:
* glib/gmain.h:
- * glib/gmain.c: Add two new functions,
- g_source_set_funcs and g_source_is_destroyed,
- that will be necessary to solve thread-safety
- issues with idles in GTK+. (#321886, Chris Wilson)
+ * glib/gmain.c: Add three new functions,
+ g_main_current_source, g_source_set_funcs and
+ g_source_is_destroyed, that will be necessary to
+ 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>
- * glib/glib.symbols:
* glib/gmain.h:
- * glib/gmain.c: Add two new functions,
- g_source_set_funcs and g_source_is_destroyed,
- that will be necessary to solve thread-safety
- issues with idles in GTK+. (#321886, Chris Wilson)
+ * glib/gmain.c: Add three new functions,
+ g_main_current_source, g_source_set_funcs and
+ g_source_is_destroyed, that will be necessary to
+ solve thread-safety issues with idles in GTK+.
+ (#321886, Chris Wilson)
2006-06-01 Matthias Clasen <mclasen@redhat.com>
* SomeWidget *self = data;
*
* 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 *<!-- -->/
* }