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 /plugins/mail-notification | |
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 'plugins/mail-notification')
-rw-r--r-- | plugins/mail-notification/mail-notification.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c index 99abfdec20..f68cf35c41 100644 --- a/plugins/mail-notification/mail-notification.c +++ b/plugins/mail-notification/mail-notification.c @@ -163,7 +163,7 @@ send_dbus_message (const gchar *name, /* Frees the message */ g_object_unref (message); - if (error) { + if (error != NULL) { g_warning ("%s: %s", G_STRFUNC, error->message); g_error_free (error); } @@ -202,7 +202,7 @@ init_gdbus (void) return TRUE; connection = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error); - if (error) { + if (error != NULL) { g_warning ("could not get system bus: %s\n", error->message); g_error_free (error); |