diff options
author | Fabio Erculiani <[email protected]> | 2013-07-10 14:22:44 +0200 |
---|---|---|
committer | Fabio Erculiani <[email protected]> | 2013-07-10 14:22:44 +0200 |
commit | 247f3aeeffd20e0971641d8bb9ab1337f81991cd (patch) | |
tree | e1c61bdd3164e8d4c3308d97ea617a9ada15ff24 /src/gpm-prefs-core.c | |
parent | c415be077de603ac1a5f4fafc6df649e12bc6118 (diff) | |
download | mate-power-manager-247f3aeeffd20e0971641d8bb9ab1337f81991cd.tar.bz2 mate-power-manager-247f3aeeffd20e0971641d8bb9ab1337f81991cd.tar.xz |
Fix gpm_prefs_init return values
Diffstat (limited to 'src/gpm-prefs-core.c')
-rw-r--r-- | src/gpm-prefs-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpm-prefs-core.c b/src/gpm-prefs-core.c index ee63674..d1795dd 100644 --- a/src/gpm-prefs-core.c +++ b/src/gpm-prefs-core.c @@ -841,7 +841,7 @@ gpm_prefs_init (GpmPrefs *prefs) if (proxy == NULL) { egg_error("Error connecting to dbus - %s", error->message); g_error_free (error); - return -1; + return; } res = g_dbus_proxy_call_sync (proxy, "CanPowerOff", @@ -913,7 +913,7 @@ gpm_prefs_init (GpmPrefs *prefs) if (proxy == NULL) { egg_error("Error connecting to dbus - %s", error->message); g_error_free (error); - return -1; + return; } res = g_dbus_proxy_call_sync (proxy, "Get", |