aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-03 15:42:31 -0600
committerTed Gould <ted@gould.cx>2010-03-03 15:42:31 -0600
commitd9dd91ad86cfff9457140ee4debd68752e79a99c (patch)
tree10f6a20fb362ed1b5138377572c0446c6f93ba64 /src
parentd694e0a23c44a6c48a6b23509dd8b00a3d622611 (diff)
downloadayatana-indicator-session-d9dd91ad86cfff9457140ee4debd68752e79a99c.tar.gz
ayatana-indicator-session-d9dd91ad86cfff9457140ee4debd68752e79a99c.tar.bz2
ayatana-indicator-session-d9dd91ad86cfff9457140ee4debd68752e79a99c.zip
Updating merge to new enums.
Diffstat (limited to 'src')
-rw-r--r--src/gtk-dialog/gtk-logout-helper.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gtk-dialog/gtk-logout-helper.c b/src/gtk-dialog/gtk-logout-helper.c
index a76a135..bf37ca7 100644
--- a/src/gtk-dialog/gtk-logout-helper.c
+++ b/src/gtk-dialog/gtk-logout-helper.c
@@ -29,7 +29,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include "gconf-helper.h"
static void
-consolekit_fallback (LogoutDialogAction action)
+consolekit_fallback (LogoutDialogType action)
{
DBusGConnection * sbus = dbus_g_bus_get(DBUS_BUS_SYSTEM, NULL);
g_return_if_fail(sbus != NULL); /* worst case */
@@ -45,16 +45,16 @@ consolekit_fallback (LogoutDialogAction action)
GError * error = NULL;
switch (action) {
- case LOGOUT_DIALOG_LOGOUT:
+ case LOGOUT_DIALOG_TYPE_LOG_OUT:
g_warning("Unable to fallback to ConsoleKit for logout as it's a session issue. We need some sort of session handler.");
break;
- case LOGOUT_DIALOG_SHUTDOWN:
+ case LOGOUT_DIALOG_TYPE_SHUTDOWN:
dbus_g_proxy_call(proxy,
"Stop",
&error,
G_TYPE_INVALID);
break;
- case LOGOUT_DIALOG_RESTART:
+ case LOGOUT_DIALOG_TYPE_RESTART:
dbus_g_proxy_call(proxy,
"Restart",
&error,