diff options
author | Ted Gould <ted@gould.cx> | 2011-09-27 09:52:56 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-09-27 09:52:56 -0500 |
commit | 44811c1e4d745ba4431773fe0d361c307c48df55 (patch) | |
tree | 27164d44f5934b52cae5216f192fe8cab50ab650 | |
parent | b1892b936fbaded8f025e5da6d1a8e40e2bb0cb4 (diff) | |
download | ayatana-indicator-session-44811c1e4d745ba4431773fe0d361c307c48df55.tar.gz ayatana-indicator-session-44811c1e4d745ba4431773fe0d361c307c48df55.tar.bz2 ayatana-indicator-session-44811c1e4d745ba4431773fe0d361c307c48df55.zip |
Make the dialog not abort and add invalids for the return to make sure it does less often
-rw-r--r-- | src/gtk-logout-helper.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gtk-logout-helper.c b/src/gtk-logout-helper.c index 9c1e6dd..1975121 100644 --- a/src/gtk-logout-helper.c +++ b/src/gtk-logout-helper.c @@ -55,6 +55,7 @@ consolekit_fallback (LogoutDialogType action) dbus_g_proxy_call(proxy, "Stop", &error, + G_TYPE_INVALID, G_TYPE_INVALID); break; case LOGOUT_DIALOG_TYPE_RESTART: @@ -62,6 +63,7 @@ consolekit_fallback (LogoutDialogType action) dbus_g_proxy_call(proxy, "Restart", &error, + G_TYPE_INVALID, G_TYPE_INVALID); break; default: @@ -72,7 +74,7 @@ consolekit_fallback (LogoutDialogType action) g_object_unref(proxy); if (error != NULL) { - g_error("Unable to signal ConsoleKit"); + g_warning("Unable to signal ConsoleKit"); g_error_free(error); } |