aboutsummaryrefslogtreecommitdiff
path: root/src/gtk-logout-helper.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-09-27 17:05:28 -0500
committerTed Gould <ted@gould.cx>2011-09-27 17:05:28 -0500
commitd29ab0ecb52e11dd09c478d73109176b599a885a (patch)
tree6b4c3c6e4b55f5ee171a6cfc708e3724431cd4ef /src/gtk-logout-helper.c
parent1e3f1b724bfbb1283b482ddd11db1ee417e4eeb3 (diff)
parentaf086761e7447cc106191dd9802c774666a4b5a0 (diff)
downloadayatana-indicator-session-d29ab0ecb52e11dd09c478d73109176b599a885a.tar.gz
ayatana-indicator-session-d29ab0ecb52e11dd09c478d73109176b599a885a.tar.bz2
ayatana-indicator-session-d29ab0ecb52e11dd09c478d73109176b599a885a.zip
* New upstream release.
* Fix convert file key naming (LP: #847807) * Use environment variable to get seat path (LP: #856455) * Fix abort when using ConsoleKit fallback (LP: #740382) * Update session icon instead of creating a new one (LP: #854292) * Update to latest Launchpad translations
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);
}