diff options
author | Chris Toshok <toshok@ximian.com> | 2004-04-15 11:11:22 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2004-04-15 11:11:22 +0800 |
commit | 33b23bed4b2997c321f6def7d1e04f6fc6a8a4f3 (patch) | |
tree | e185ffe5bbb34a3e29a0bd7bfc0e406b023ce833 /addressbook/gui/component/addressbook-migrate.c | |
parent | c66ce91f684e02545b6d930c228d9239066f4c0f (diff) | |
download | gsoc2013-evolution-33b23bed4b2997c321f6def7d1e04f6fc6a8a4f3.tar.gz gsoc2013-evolution-33b23bed4b2997c321f6def7d1e04f6fc6a8a4f3.tar.zst gsoc2013-evolution-33b23bed4b2997c321f6def7d1e04f6fc6a8a4f3.zip |
force the info label to update its contents here if the load was
2004-04-14 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-view.c (book_open_cb): force the info
label to update its contents here if the load was successful.
* gui/component/addressbook-migrate.c (migration_context_new): use
e_book_get_addressbooks instead of getting source_list from the
component.
(migration_context_free): unref the source_list.
* gui/component/addressbook-config.c (dialog_to_source): sync the
dialog->source_list, since we have it.
svn path=/trunk/; revision=25472
Diffstat (limited to 'addressbook/gui/component/addressbook-migrate.c')
-rw-r--r-- | addressbook/gui/component/addressbook-migrate.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/addressbook/gui/component/addressbook-migrate.c b/addressbook/gui/component/addressbook-migrate.c index 808342922a..79f54bb66d 100644 --- a/addressbook/gui/component/addressbook-migrate.c +++ b/addressbook/gui/component/addressbook-migrate.c @@ -814,7 +814,7 @@ migration_context_new (AddressbookComponent *component) /* set up the mapping from old uris to new uids */ context->folder_uid_map = g_hash_table_new_full (g_str_hash, g_str_equal, (GDestroyNotify)g_free, (GDestroyNotify)g_free); - context->source_list = addressbook_component_peek_source_list (component); + e_book_get_addressbooks (&context->source_list, NULL); context->component = component; @@ -827,6 +827,9 @@ migration_context_free (MigrationContext *context) e_source_list_sync (context->source_list, NULL); g_hash_table_destroy (context->folder_uid_map); + + g_object_unref (context->source_list); + g_free (context); } |