~ubuntu-branches/ubuntu/quantal/lightdm/quantal

« back to all changes in this revision

Viewing changes to tests/src/test-gobject-greeter.c

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-08-30 10:15:16 UTC
  • mto: This revision was merged to the branch mainline in revision 74.
  • Revision ID: package-import@ubuntu.com-20120830101516-22ptrv0jg288wpcc
Tags: upstream-1.3.3
ImportĀ upstreamĀ versionĀ 1.3.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
        lightdm_greeter_authenticate_as_guest (greeter);
66
66
    g_free (r);
67
67
 
 
68
    r = g_strdup_printf ("GREETER %s AUTHENTICATE-REMOTE SESSION=", getenv ("DISPLAY"));
 
69
    if (g_str_has_prefix (request, r))
 
70
        lightdm_greeter_authenticate_remote (greeter, request + strlen (r), NULL);
 
71
    g_free (r);
 
72
 
68
73
    r = g_strdup_printf ("GREETER %s RESPOND TEXT=\"", getenv ("DISPLAY"));
69
74
    if (g_str_has_prefix (request, r))
70
75
    {