~xnox/lightdm/archive-upload

« back to all changes in this revision

Viewing changes to src/session-child.c

  • Committer: Robert Ancell
  • Date: 2013-11-07 07:54:55 UTC
  • mto: This revision was merged to the branch mainline in revision 1841.
  • Revision ID: robert.ancell@canonical.com-20131107075455-p9g14zxgy63e3g47
Remove lightdm-set-defaults and gdmflexiserver.

lightdm-set-defaults is not required since 1.8 as configuration can now be loaded from a lightdm.conf.d directory. This allows a file per setting to be written and better handles more than one thing (e.g. a packaging system) setting these values.

Any software that still relies on gdmflexiserver should have switched to using dm-tool or the D-Bus interface by now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
530
530
        g_free (value);
531
531
    }
532
532
 
533
 
    /* Put our tools directory in the path as a hack so we can use the legacy gdmflexiserver interface */
534
 
    path = pam_getenv (pam_handle, "PATH");
535
 
    if (path)
536
 
        pam_putenv (pam_handle, g_strdup_printf ("PATH=%s:%s", PKGLIBEXEC_DIR, path));
537
 
 
538
533
    /* Catch terminate signal and pass it to the child */
539
534
    signal (SIGTERM, signal_cb);
540
535