~lightdm-team/lightdm/1.4

« back to all changes in this revision

Viewing changes to src/display.c

  • Committer: robert.ancell at canonical
  • Date: 2010-08-23 05:21:13 UTC
  • Revision ID: robert.ancell@canonical.com-20100823052113-qvlggtumxgb95j44
Connect up SwitchToUser()

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
    return display->priv->greeter_user;  
120
120
}
121
121
 
 
122
const gchar *
 
123
display_get_session_user (Display *display)
 
124
{
 
125
    if (display->priv->user_session)
 
126
        return pam_session_get_username (display->priv->user_pam_session);
 
127
    else
 
128
        return NULL;
 
129
}
 
130
 
122
131
void
123
132
display_set_greeter_theme (Display *display, const gchar *greeter_theme)
124
133
{