diff options
Diffstat (limited to 'src')
-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", |