Improve GApplication test coverage

This commit is contained in:
Matthias Clasen
2012-06-03 19:51:20 -04:00
parent 642e89f356
commit 0a1079d171
2 changed files with 44 additions and 2 deletions

View File

@@ -60,6 +60,7 @@ main (int argc, char **argv)
int status;
app = g_application_new ("org.gtk.TestApplication",
G_APPLICATION_SEND_ENVIRONMENT |
G_APPLICATION_HANDLES_OPEN |
(g_strcmp0 (argv[1], "./cmd") == 0 ?
G_APPLICATION_HANDLES_COMMAND_LINE