summaryrefslogtreecommitdiff
path: root/mate-session/gsm-systemd.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-10-15 15:08:03 +0200
committerStefano Karapetsas <[email protected]>2013-10-15 15:08:03 +0200
commit4d6d9c41ce8f09d688bc8cd259918437aedc48ae (patch)
tree326e9f2ec8ebc67e5ce4b9c56fe9c76ef0f7f437 /mate-session/gsm-systemd.c
parent954585510854675bdfdf229b177a4e5f778645e7 (diff)
downloadmate-session-manager-4d6d9c41ce8f09d688bc8cd259918437aedc48ae.tar.bz2
mate-session-manager-4d6d9c41ce8f09d688bc8cd259918437aedc48ae.tar.xz
Fix return value in void functions
Diffstat (limited to 'mate-session/gsm-systemd.c')
-rw-r--r--mate-session/gsm-systemd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mate-session/gsm-systemd.c b/mate-session/gsm-systemd.c
index 6b263c7..3804fed 100644
--- a/mate-session/gsm-systemd.c
+++ b/mate-session/gsm-systemd.c
@@ -815,7 +815,7 @@ gsm_systemd_attempt_hibernate (GsmSystemd *manager)
g_warning ("Could not connect to Systemd: %s",
error->message);
g_error_free (error);
- return FALSE;
+ return;
}
res = dbus_g_proxy_call_with_timeout (manager->priv->sd_proxy,
@@ -829,7 +829,7 @@ gsm_systemd_attempt_hibernate (GsmSystemd *manager)
g_warning ("Could not make DBUS call: %s",
error->message);
g_error_free (error);
- return FALSE;
+ return;
}
}
@@ -846,7 +846,7 @@ gsm_systemd_attempt_suspend (GsmSystemd *manager)
g_warning ("Could not connect to Systemd: %s",
error->message);
g_error_free (error);
- return FALSE;
+ return;
}
res = dbus_g_proxy_call_with_timeout (manager->priv->sd_proxy,
@@ -860,7 +860,7 @@ gsm_systemd_attempt_suspend (GsmSystemd *manager)
g_warning ("Could not make DBUS call: %s",
error->message);
g_error_free (error);
- return FALSE;
+ return;
}
}