summaryrefslogtreecommitdiff
path: root/tests/option-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/option-test.c')
-rw-r--r--tests/option-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/option-test.c b/tests/option-test.c
index 4699afd7d..d3b7f7cef 100644
--- a/tests/option-test.c
+++ b/tests/option-test.c
@@ -840,6 +840,8 @@ empty_test1 (void)
GOptionEntry entries [] =
{ { NULL } };
+ g_set_prgname (NULL);
+
context = g_option_context_new (NULL);
g_option_context_add_main_entries (context, entries, NULL);