summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-10-15 15:08:03 +0200
committerinfirit <[email protected]>2013-12-17 14:50:46 +0100
commit2baa27880b221afee2a74eeab93b66273e3c924d (patch)
treed7f9eb77edd1c486f72d967021cf61f85064f3e4
parent0707ce90b895bc3c32af77cbc346ed0fe3832ddd (diff)
downloadmate-session-manager-2baa27880b221afee2a74eeab93b66273e3c924d.tar.bz2
mate-session-manager-2baa27880b221afee2a74eeab93b66273e3c924d.tar.xz
Fix return value in void functions
-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;
}
}