aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-09-27 10:44:26 -0500
committerTed Gould <ted@gould.cx>2011-09-27 10:44:26 -0500
commit99d0f953bfd72de8ad83c5e9a898897dcd17f268 (patch)
treeafb0954538bd67ca7136479cc7403acc00b90933
parent854ceab3008a40b43bf9ea2dbabd53edcddaecff (diff)
parent44811c1e4d745ba4431773fe0d361c307c48df55 (diff)
downloadayatana-indicator-session-99d0f953bfd72de8ad83c5e9a898897dcd17f268.tar.gz
ayatana-indicator-session-99d0f953bfd72de8ad83c5e9a898897dcd17f268.tar.bz2
ayatana-indicator-session-99d0f953bfd72de8ad83c5e9a898897dcd17f268.zip
Removing an error and fixing the parameters.
-rw-r--r--src/gtk-logout-helper.c4
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);
}