aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-08-03 07:38:22 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-08-03 07:48:54 +0800
commit49e8d834fc6c5b12d9e2b9f120034dd6180a70d4 (patch)
tree4b6056df4580f4b14d5b67180934a139008e2ca8 /plugins
parentceec3b8f6064d20a1603e4049c76a6a15a8dad9a (diff)
downloadgsoc2013-evolution-49e8d834fc6c5b12d9e2b9f120034dd6180a70d4.tar
gsoc2013-evolution-49e8d834fc6c5b12d9e2b9f120034dd6180a70d4.tar.gz
gsoc2013-evolution-49e8d834fc6c5b12d9e2b9f120034dd6180a70d4.tar.bz2
gsoc2013-evolution-49e8d834fc6c5b12d9e2b9f120034dd6180a70d4.tar.lz
gsoc2013-evolution-49e8d834fc6c5b12d9e2b9f120034dd6180a70d4.tar.xz
gsoc2013-evolution-49e8d834fc6c5b12d9e2b9f120034dd6180a70d4.tar.zst
gsoc2013-evolution-49e8d834fc6c5b12d9e2b9f120034dd6180a70d4.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mail-notification/mail-notification.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c
index 985ef9ba5d..5015e9c874 100644
--- a/plugins/mail-notification/mail-notification.c
+++ b/plugins/mail-notification/mail-notification.c
@@ -161,13 +161,15 @@ send_dbus_message (const gchar *name,
g_dbus_message_set_body (message, g_variant_builder_end (builder));
/* Sends the message */
- g_dbus_connection_send_message (connection, message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, &error);
+ g_dbus_connection_send_message (
+ connection, message,
+ G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, &error);
/* Frees the message */
g_object_unref (message);
if (error) {
- g_debug ("Mail-Notification: %s: Error while sending DBus message: %s", G_STRFUNC, error->message);
+ g_warning ("%s: %s", G_STRFUNC, error->message);
g_error_free (error);
}
}
@@ -183,7 +185,10 @@ reinit_gdbus (gpointer user_data)
}
static void
-connection_closed_cb (GDBusConnection *pconnection, gboolean remote_peer_vanished, GError *error, gpointer user_data)
+connection_closed_cb (GDBusConnection *pconnection,
+ gboolean remote_peer_vanished,
+ GError *error,
+ gpointer user_data)
{
g_return_if_fail (connection != pconnection);
@@ -210,7 +215,10 @@ init_gdbus (void)
}
g_dbus_connection_set_exit_on_close (connection, FALSE);
- g_signal_connect (connection, "closed", G_CALLBACK (connection_closed_cb), NULL);
+
+ g_signal_connect (
+ connection, "closed",
+ G_CALLBACK (connection_closed_cb), NULL);
return TRUE;
}