~lightdm-team/lightdm/1.2

« back to all changes in this revision

Viewing changes to tests/src/initctl.c

  • Committer: Robert Ancell
  • Date: 2015-11-18 00:23:53 UTC
  • Revision ID: robert.ancell@canonical.com-20151118002353-lyaui7suaci5b298
BackportĀ testĀ improvements

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
int
10
10
main (int argc, char **argv)
11
11
{
12
 
    status_connect (NULL);
 
12
    status_connect (NULL, NULL);
13
13
 
14
14
    config = g_key_file_new ();
15
15
    g_key_file_load_from_file (config, g_build_filename (g_getenv ("LIGHTDM_TEST_ROOT"), "script", NULL), G_KEY_FILE_NONE, NULL);
22
22
        status_text = g_string_new ("INIT");
23
23
        for (i = 1; i < argc; i++)
24
24
            g_string_append_printf (status_text, " %s", argv[i]);
25
 
        status_notify (status_text->str);
 
25
        status_notify ("%s", status_text->str);
26
26
        g_string_free (status_text, TRUE);
27
27
    }
28
28