From: Matthias Clasen Date: Fri, 2 Jun 2006 02:50:38 +0000 (+0000) Subject: More additions X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=89a803beb4da986d68ffc2d3bfccf8a624e260f6;p=dana%2Fcg-glib.git More additions --- diff --git a/ChangeLog b/ChangeLog index 1580606f..00d589f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,11 +1,11 @@ 2006-06-01 Matthias Clasen - * 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 diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 1580606f..00d589f8 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,11 +1,11 @@ 2006-06-01 Matthias Clasen - * 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 diff --git a/glib/gmain.c b/glib/gmain.c index de9cc222..d08ebc69 100644 --- a/glib/gmain.c +++ b/glib/gmain.c @@ -1925,7 +1925,7 @@ g_main_current_source (void) * 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 */ * }