aboutsummaryrefslogtreecommitdiff
path: root/src/session-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-07-24 16:16:14 -0500
committerTed Gould <ted@canonical.com>2009-07-24 16:16:14 -0500
commit4f711cf53d1742f4e08058cc3ca2c02e664fc9e1 (patch)
tree36744ae51e384907fe199b2de54ceb7c5c581289 /src/session-service.c
parentec987aaf9598ffa43561e9f3ef9cb4bcf0d21218 (diff)
downloadayatana-indicator-session-4f711cf53d1742f4e08058cc3ca2c02e664fc9e1.tar.gz
ayatana-indicator-session-4f711cf53d1742f4e08058cc3ca2c02e664fc9e1.tar.bz2
ayatana-indicator-session-4f711cf53d1742f4e08058cc3ca2c02e664fc9e1.zip
Whitespace, who hoo, I'm earning karma for this
Diffstat (limited to 'src/session-service.c')
-rw-r--r--src/session-service.c47
1 files changed, 22 insertions, 25 deletions
diff --git a/src/session-service.c b/src/session-service.c
index 92e4184..235d0bc 100644
--- a/src/session-service.c
+++ b/src/session-service.c
@@ -97,36 +97,33 @@ dpk_changed_cb (DBusGProxy * proxy, gpointer user_data)
/* Start Async call to see if we can hibernate */
if (suspend_call == NULL) {
suspend_call = dbus_g_proxy_begin_call(dkp_prop_proxy,
- "Get",
- suspend_prop_cb,
- NULL,
- NULL,
- G_TYPE_STRING,
- DKP_INTERFACE,
- G_TYPE_STRING,
- "can-suspend",
- G_TYPE_INVALID,
- G_TYPE_VALUE,
- G_TYPE_INVALID);
-
+ "Get",
+ suspend_prop_cb,
+ NULL,
+ NULL,
+ G_TYPE_STRING,
+ DKP_INTERFACE,
+ G_TYPE_STRING,
+ "can-suspend",
+ G_TYPE_INVALID,
+ G_TYPE_VALUE,
+ G_TYPE_INVALID);
}
/* Start Async call to see if we can suspend */
if (hibernate_call == NULL) {
hibernate_call = dbus_g_proxy_begin_call(dkp_prop_proxy,
- "Get",
- hibernate_prop_cb,
- NULL,
- NULL,
- G_TYPE_STRING,
- DKP_INTERFACE,
- G_TYPE_STRING,
- "can-hibernate",
- G_TYPE_INVALID,
- G_TYPE_VALUE,
- G_TYPE_INVALID);
-
-
+ "Get",
+ hibernate_prop_cb,
+ NULL,
+ NULL,
+ G_TYPE_STRING,
+ DKP_INTERFACE,
+ G_TYPE_STRING,
+ "can-hibernate",
+ G_TYPE_INVALID,
+ G_TYPE_VALUE,
+ G_TYPE_INVALID);
}
return;