diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-10-14 23:25:12 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-10-15 01:26:03 +0800 |
commit | 98e2adadb7d8439ab5fb6e3035336979f8fd9b63 (patch) | |
tree | 2b2d5ac04d9fc69ddeeeb4faf0c223031a584041 /src | |
parent | a4dda5a12f49ea63efddec3cd4e81585e5816c00 (diff) | |
download | gsoc2013-empathy-98e2adadb7d8439ab5fb6e3035336979f8fd9b63.tar gsoc2013-empathy-98e2adadb7d8439ab5fb6e3035336979f8fd9b63.tar.gz gsoc2013-empathy-98e2adadb7d8439ab5fb6e3035336979f8fd9b63.tar.bz2 gsoc2013-empathy-98e2adadb7d8439ab5fb6e3035336979f8fd9b63.tar.lz gsoc2013-empathy-98e2adadb7d8439ab5fb6e3035336979f8fd9b63.tar.xz gsoc2013-empathy-98e2adadb7d8439ab5fb6e3035336979f8fd9b63.tar.zst gsoc2013-empathy-98e2adadb7d8439ab5fb6e3035336979f8fd9b63.zip |
Make sure the account manager is completely unreffed when exiting
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/empathy.c b/src/empathy.c index bb678a992..7fed9b2e0 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -483,6 +483,8 @@ show_accounts_ui (GtkWindow *window) g_signal_connect (manager, "notify::ready", G_CALLBACK (account_manager_ready_for_accounts_cb), window); } + + g_object_unref (manager); } static UniqueResponse @@ -899,11 +901,13 @@ main (int argc, char *argv[]) if (account_dialog_only) { + account_manager = empathy_account_manager_dup_singleton (); show_accounts_ui (NULL); gtk_main (); - return 0; + g_object_unref (account_manager); + return 0; } notify_init (_(PACKAGE_NAME)); |