~brian-murray/lightdm/bug-967229

« back to all changes in this revision

Viewing changes to src/session.c

  • Committer: Robert Ancell
  • Date: 2012-02-15 09:02:48 UTC
  • mto: This revision was merged to the branch mainline in revision 1073.
  • Revision ID: robert.ancell@canonical.com-20120215090248-l6fli7k3ro9hdum8
Tags: upstream-1.1.3
ImportĀ upstreamĀ versionĀ 1.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
324
324
}
325
325
 
326
326
void
 
327
session_lock (Session *session)
 
328
{    
 
329
    g_return_if_fail (session != NULL);
 
330
    if (getuid () == 0)
 
331
        ck_lock_session (session->priv->console_kit_cookie);
 
332
}
 
333
 
 
334
void
327
335
session_unlock (Session *session)
328
336
{    
329
337
    g_return_if_fail (session != NULL);