aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-03-09 04:18:17 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-03-09 04:18:17 +0800
commit4c556405fbb1db534b43e3f3d7e9eea5344d9f38 (patch)
treef38df0bc411e5fe305abd9515c2b0dd089c453fa
parent41a30e59c8ac6537b96497a5f4660ecbe26af1bf (diff)
downloadgsoc2013-evolution-4c556405fbb1db534b43e3f3d7e9eea5344d9f38.tar
gsoc2013-evolution-4c556405fbb1db534b43e3f3d7e9eea5344d9f38.tar.gz
gsoc2013-evolution-4c556405fbb1db534b43e3f3d7e9eea5344d9f38.tar.bz2
gsoc2013-evolution-4c556405fbb1db534b43e3f3d7e9eea5344d9f38.tar.lz
gsoc2013-evolution-4c556405fbb1db534b43e3f3d7e9eea5344d9f38.tar.xz
gsoc2013-evolution-4c556405fbb1db534b43e3f3d7e9eea5344d9f38.tar.zst
gsoc2013-evolution-4c556405fbb1db534b43e3f3d7e9eea5344d9f38.zip
evolution-addressbook-export: Remove main loop event flushing.
Not needed anymore since it finally dawned on me to use weak references in main loop event closures. The EBookClient now dies when it should.
-rw-r--r--addressbook/tools/evolution-addressbook-export.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/addressbook/tools/evolution-addressbook-export.c b/addressbook/tools/evolution-addressbook-export.c
index 523d6bd927..685fab27f7 100644
--- a/addressbook/tools/evolution-addressbook-export.c
+++ b/addressbook/tools/evolution-addressbook-export.c
@@ -182,12 +182,6 @@ main (gint argc,
exit (-1);
}
- /* Flush any undispatched event sources from the default main
- * loop context. Since this program does not use a main loop,
- * these scheduled event sources would otherwise leak. */
- while (g_main_context_pending (NULL))
- g_main_context_iteration (NULL, FALSE);
-
g_object_unref (actctx.registry);
/*FIXME:should free actctx's some gchar * field, such as output_file! but since the program will end, so that will not cause mem leak. */