Remove SessionType type

SessionType has now completely been replaced by the finer-grained
session-mode, so remove the remaining type definition.

https://bugzilla.gnome.org/show_bug.cgi?id=676156
This commit is contained in:
Florian Müllner 2012-05-17 16:11:54 +02:00
parent e4f1572a3a
commit e49b94658c
2 changed files with 4 additions and 10 deletions

View File

@ -1,7 +1,6 @@
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
const Lang = imports.lang;
const Shell = imports.gi.Shell;
const Config = imports.misc.config;
const Main = imports.ui.main;
@ -53,8 +52,8 @@ const _modes = {
'keyboard': imports.ui.status.keyboard.XKBIndicator,
'powerMenu': imports.gdm.powerMenu.PowerMenuButton
}
},
sessionType: Shell.SessionType.GDM },
}
},
'user': { hasOverview: true,
hasAppMenu: true,
@ -72,8 +71,8 @@ const _modes = {
'network', 'battery', 'userMenu'
],
implementation: STANDARD_STATUS_AREA_SHELL_IMPLEMENTATION
},
sessionType: Shell.SessionType.USER }
}
}
};
function modeExists(mode) {

View File

@ -141,11 +141,6 @@ void shell_global_reexec_self (ShellGlobal *global);
void shell_global_launch_calendar_server (ShellGlobal *global);
typedef enum {
SHELL_SESSION_USER,
SHELL_SESSION_GDM
} ShellSessionType;
const char * shell_global_get_session_mode (ShellGlobal *global);
G_END_DECLS