diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-01-31 01:20:16 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-01-31 01:45:55 +0800 |
commit | 763081aa862908e845bc780b784d939a07abd508 (patch) | |
tree | 1a060b3cc1ae28e915348939cbbcdd28416a13b5 /e-util/e-name-selector-dialog.c | |
parent | 0ff254b3a8946244b645f2ea74316926aa109ab6 (diff) | |
download | gsoc2013-evolution-763081aa862908e845bc780b784d939a07abd508.tar gsoc2013-evolution-763081aa862908e845bc780b784d939a07abd508.tar.gz gsoc2013-evolution-763081aa862908e845bc780b784d939a07abd508.tar.bz2 gsoc2013-evolution-763081aa862908e845bc780b784d939a07abd508.tar.lz gsoc2013-evolution-763081aa862908e845bc780b784d939a07abd508.tar.xz gsoc2013-evolution-763081aa862908e845bc780b784d939a07abd508.tar.zst gsoc2013-evolution-763081aa862908e845bc780b784d939a07abd508.zip |
Fix up error handling around e_book/cal_client_connect_finish().
Diffstat (limited to 'e-util/e-name-selector-dialog.c')
-rw-r--r-- | e-util/e-name-selector-dialog.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/e-util/e-name-selector-dialog.c b/e-util/e-name-selector-dialog.c index 36b426b0f5..fd72818612 100644 --- a/e-util/e-name-selector-dialog.c +++ b/e-util/e-name-selector-dialog.c @@ -1157,14 +1157,9 @@ book_client_connect_cb (GObject *source_object, } if (error != NULL) { - gchar *message; - - message = g_strdup_printf ( - _("Error loading address book: %s"), error->message); gtk_label_set_text ( - name_selector_dialog->priv->status_label, message); - g_free (message); - + name_selector_dialog->priv->status_label, + error->message); g_error_free (error); goto exit; } |