~josharenson/lightdm/withhold-invalid-x-args

« back to all changes in this revision

Viewing changes to src/seat-xvnc.c

  • Committer: Robert Ancell
  • Date: 2013-04-12 03:38:56 UTC
  • mto: This revision was merged to the branch mainline in revision 1636.
  • Revision ID: robert.ancell@canonical.com-20130412033856-ctjqc9idw0onr4f3
Correctly read command from config and fix test case

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
    xserver = xserver_xvnc_new ();
42
42
    xserver_xvnc_set_socket (xserver, g_socket_get_fd (SEAT_XVNC (seat)->priv->connection));
43
43
 
44
 
    command = config_get_string (config_get_instance (), "VNCServer", "xserver-command");
 
44
    command = config_get_string (config_get_instance (), "VNCServer", "command");
45
45
    if (command)
46
46
        xserver_xvnc_set_command (xserver, command);
47
47