~ubuntu-branches/debian/stretch/lightdm/stretch

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Yves-Alexis Perez
  • Date: 2013-10-31 09:31:16 UTC
  • mfrom: (1.1.18)
  • Revision ID: package-import@ubuntu.com-20131031093116-zpr143y5f7iq2zog
Tags: 1.8.3-1
* New upstream release.
* debian/rules:
  - enable all hardening flags.

Show diffs side-by-side

added added

removed removed

Lines of Context:
299
299
int
300
300
main (int argc, char **argv)
301
301
{
302
 
    gchar *display, *xdg_seat, *xdg_vtnr, *xdg_session_cookie, *mir_socket, *mir_vt, *mir_id;
 
302
    gchar *display, *xdg_seat, *xdg_vtnr, *xdg_session_cookie, *xdg_session_class, *mir_socket, *mir_vt, *mir_id;
303
303
    GString *status_text;
304
304
 
305
305
#if !defined(GLIB_VERSION_2_36)
310
310
    xdg_seat = getenv ("XDG_SEAT");
311
311
    xdg_vtnr = getenv ("XDG_VTNR");
312
312
    xdg_session_cookie = getenv ("XDG_SESSION_COOKIE");
 
313
    xdg_session_class = getenv ("XDG_SESSION_CLASS");
313
314
    mir_socket = getenv ("MIR_SOCKET");
314
315
    mir_vt = getenv ("MIR_SERVER_VT");
315
316
    mir_id = getenv ("MIR_ID");
342
343
        g_string_append_printf (status_text, " XDG_VTNR=%s", xdg_vtnr);
343
344
    if (xdg_session_cookie)
344
345
        g_string_append_printf (status_text, " XDG_SESSION_COOKIE=%s", xdg_session_cookie);
 
346
    if (xdg_session_class)
 
347
        g_string_append_printf (status_text, " XDG_SESSION_CLASS=%s", xdg_session_class);
345
348
    if (mir_vt > 0)
346
349
        g_string_append_printf (status_text, " MIR_SERVER_VT=%s", mir_vt);
347
350
    status_notify (status_text->str);