aboutsummaryrefslogtreecommitdiffstats
path: root/modules/connman
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-03-06 01:33:49 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-03-06 01:34:28 +0800
commitc6fd77460f5baf88528f5da2ffb99e86a2885ff0 (patch)
tree377ddb36bc9c907a06d5889123582b2066db42a8 /modules/connman
parent29d8b02c557a65aec4b015b274a830b402da2cfd (diff)
downloadgsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.tar
gsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.tar.gz
gsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.tar.bz2
gsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.tar.lz
gsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.tar.xz
gsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.tar.zst
gsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'modules/connman')
-rw-r--r--modules/connman/evolution-connman.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/modules/connman/evolution-connman.c b/modules/connman/evolution-connman.c
index 30155c9ed3..184ad23fdd 100644
--- a/modules/connman/evolution-connman.c
+++ b/modules/connman/evolution-connman.c
@@ -60,7 +60,10 @@ extension_set_state (EConnMan *extension, const gchar *state)
}
static void
-cm_connection_closed_cb (GDBusConnection *pconnection, gboolean remote_peer_vanished, GError *error, gpointer user_data)
+cm_connection_closed_cb (GDBusConnection *pconnection,
+ gboolean remote_peer_vanished,
+ GError *error,
+ gpointer user_data)
{
EConnMan *extension = user_data;
@@ -105,7 +108,8 @@ connman_check_initial_state (EConnMan *extension)
/* XXX Assuming this should be safe to call synchronously. */
response = g_dbus_connection_send_message_with_reply_sync (
- extension->connection, message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, 100, NULL, NULL, &error);
+ extension->connection, message,
+ G_DBUS_SEND_MESSAGE_FLAGS_NONE, 100, NULL, NULL, &error);
if (response != NULL) {
gchar *state = NULL;
@@ -162,7 +166,9 @@ network_manager_connect (EConnMan *extension)
goto fail;
}
- g_signal_connect (extension->connection, "closed", G_CALLBACK (cm_connection_closed_cb), extension);
+ g_signal_connect (
+ extension->connection, "closed",
+ G_CALLBACK (cm_connection_closed_cb), extension);
connman_check_initial_state (extension);