aboutsummaryrefslogtreecommitdiff
path: root/src/gtk-logout-helper.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-09-27 16:56:12 -0500
committerTed Gould <ted@gould.cx>2011-09-27 16:56:12 -0500
commitaf086761e7447cc106191dd9802c774666a4b5a0 (patch)
tree9f002770dfaf273063e3c55c6ec4dc46b6f1d0e5 /src/gtk-logout-helper.c
parent8ff4f280a70526bb232b14374e3b982a6dbfd120 (diff)
parent749c8c0bdc194d438b6eea99dbedd0fd327c10da (diff)
downloadayatana-indicator-session-af086761e7447cc106191dd9802c774666a4b5a0.tar.gz
ayatana-indicator-session-af086761e7447cc106191dd9802c774666a4b5a0.tar.bz2
ayatana-indicator-session-af086761e7447cc106191dd9802c774666a4b5a0.zip
Import upstream version 0.3.6
Diffstat (limited to 'src/gtk-logout-helper.c')
-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);
}