aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-addressbook-table-adapter.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-table-adapter.c')
-rw-r--r--addressbook/gui/widgets/e-addressbook-table-adapter.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-table-adapter.c b/addressbook/gui/widgets/e-addressbook-table-adapter.c
index a7f1f6bb5b..b539b602b2 100644
--- a/addressbook/gui/widgets/e-addressbook-table-adapter.c
+++ b/addressbook/gui/widgets/e-addressbook-table-adapter.c
@@ -199,8 +199,9 @@ contact_modified_cb (EBookClient *book_client,
const GError *error,
gpointer user_data)
{
- if (error)
- eab_error_dialog (NULL, NULL, _("Error modifying card"), error);
+ if (error != NULL)
+ eab_error_dialog (
+ NULL, NULL, _("Error modifying card"), error);
}
static void