[gthumb: 11/14] no need to start the next child in an idle callback
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb: 11/14] no need to start the next child in an idle callback
- Date: Fri, 28 Jan 2011 00:54:04 +0000 (UTC)
commit 02f11d9e6e8003942830e000a70c8c8d1d78e22f
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri Jan 28 00:24:23 2011 +0100
no need to start the next child in an idle callback
gthumb/gio-utils.c | 14 +-------------
1 files changed, 1 insertions(+), 13 deletions(-)
---
diff --git a/gthumb/gio-utils.c b/gthumb/gio-utils.c
index 667a92c..1db84d7 100644
--- a/gthumb/gio-utils.c
+++ b/gthumb/gio-utils.c
@@ -238,22 +238,10 @@ for_each_child_done (ForEachChildData *fec)
static void for_each_child_start_current (ForEachChildData *fec);
-static gboolean
-for_each_child_start_cb (gpointer user_data)
-{
- ForEachChildData *fec = user_data;
-
- g_source_remove (fec->source_id);
- for_each_child_start_current (fec);
-
- return FALSE;
-}
-
-
static void
for_each_child_start (ForEachChildData *fec)
{
- fec->source_id = g_idle_add (for_each_child_start_cb, fec);
+ for_each_child_start_current (fec);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]