diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-09-08 00:31:19 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-09-08 07:08:54 +0800 |
commit | 3da4948c0fc1f2c21b163f0ec456b2d99c881258 (patch) | |
tree | 479d6153d31e03cb7a65990683b5271402e5ec29 /addressbook/tools | |
parent | 2e5031cb4538b4819e5fce5d717668c3445df80a (diff) | |
download | gsoc2013-evolution-3da4948c0fc1f2c21b163f0ec456b2d99c881258.tar gsoc2013-evolution-3da4948c0fc1f2c21b163f0ec456b2d99c881258.tar.gz gsoc2013-evolution-3da4948c0fc1f2c21b163f0ec456b2d99c881258.tar.bz2 gsoc2013-evolution-3da4948c0fc1f2c21b163f0ec456b2d99c881258.tar.lz gsoc2013-evolution-3da4948c0fc1f2c21b163f0ec456b2d99c881258.tar.xz gsoc2013-evolution-3da4948c0fc1f2c21b163f0ec456b2d99c881258.tar.zst gsoc2013-evolution-3da4948c0fc1f2c21b163f0ec456b2d99c881258.zip |
Miscellaneous cleanups.
Diffstat (limited to 'addressbook/tools')
-rw-r--r-- | addressbook/tools/evolution-addressbook-export-list-cards.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addressbook/tools/evolution-addressbook-export-list-cards.c b/addressbook/tools/evolution-addressbook-export-list-cards.c index d6e9ecca57..86caa5ae8a 100644 --- a/addressbook/tools/evolution-addressbook-export-list-cards.c +++ b/addressbook/tools/evolution-addressbook-export-list-cards.c @@ -734,8 +734,8 @@ action_list_cards_init (ActionContext *p_actctx) query_str = e_book_query_to_string (query); e_book_query_unref (query); - if (!e_book_client_get_contacts_sync (book_client, query_str, &contacts, NULL, &error)) - contacts = NULL; + e_book_client_get_contacts_sync ( + book_client, query_str, &contacts, NULL, &error); action_list_cards (contacts, p_actctx); @@ -743,7 +743,7 @@ action_list_cards_init (ActionContext *p_actctx) g_slist_free (contacts); g_object_unref (book_client); - if (error) { + if (error != NULL) { g_warning ("Failed to get contacts: %s", error->message); g_error_free (error); } |