~darkxst/ubuntu/saucy/gdm/lp1212408

« back to all changes in this revision

Viewing changes to gui/gdmsession.h

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2008-09-02 10:37:20 UTC
  • mfrom: (1.4.27 upstream)
  • mto: This revision was merged to the branch mainline in revision 261.
  • Revision ID: james.westby@ubuntu.com-20080902103720-p810vv530hqj45wg
Tags: 2.20.7-3
* Install the debian-moreblue-orbit theme, thanks Andre Luiz Rodrigues 
  Ferreira. Closes: #497440.
* 35_gdm.conf.patch: make it the default.
* copyright: fix encoding.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
        char *comment;
34
34
} GdmSession;
35
35
 
 
36
enum {
 
37
        SESSION_LOOKUP_SUCCESS,
 
38
        SESSION_LOOKUP_PREFERRED_MISSING,
 
39
        SESSION_LOOKUP_DEFAULT_MISMATCH,
 
40
        SESSION_LOOKUP_USE_SWITCHDESK
 
41
};
 
42
 
36
43
void            gdm_session_list_init           (void);
 
44
void            _gdm_session_list_init          (GHashTable **sessnames,
 
45
                                                 GList **sessions,
 
46
                                                 gchar **default_session, 
 
47
                                                 const gchar **current_session);
37
48
gint            gdm_session_sort_func           (const char *a, const char *b);
38
49
const char *    gdm_session_name                (const char *name);
39
50
void            gdm_session_list_from_hash_table_func (const char *key,
41
52
                                                GList **sessions);
42
53
gint            gdm_session_sort_func           (const char *a,
43
54
                                                 const char *b);
44
 
char *          gdm_session_lookup              (const char *saved_session);
 
55
char *          gdm_session_lookup              (const char *saved_session, gint *lookup_status);
 
56
 
45
57
gint            gdm_get_save_session            (void);
46
58
 
 
59
void            gdm_set_save_session            (const gint session);
 
60
 
 
61
const char *    gdm_get_default_session         (void);
 
62
 
47
63
#endif /* GDM_SESSION_H */