~fboucault/lightdm/crossbuild_fixes

« back to all changes in this revision

Viewing changes to src/pam-session.c

  • Committer: Robert Ancell
  • Date: 2011-09-20 00:14:17 UTC
  • Revision ID: robert.ancell@canonical.com-20110920001417-lsvpni6bf7zmbegc
Rename user functions to accounts functions

Show diffs side-by-side

added added

removed removed

Lines of Context:
404
404
    g_return_val_if_fail (session != NULL, NULL);
405
405
 
406
406
    if (!session->priv->user && pam_session_get_username (session))
407
 
        session->priv->user = user_get_by_name (pam_session_get_username (session));
 
407
        session->priv->user = accounts_get_user_by_name (pam_session_get_username (session));
408
408
 
409
409
    return session->priv->user;
410
410
}