Improve GOptionEntry initialization (bug 14401)

This commit is contained in:
rim
2018-05-30 21:42:04 +02:00
committed by Landry Breuil
parent 0111851b4d
commit a5f4aaa667

View File

@@ -30,8 +30,8 @@ static gboolean timeout = FALSE;
static gboolean start_hidden = FALSE;
static GOptionEntry main_entries[] = {
{ "start-hidden", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &start_hidden, "Don't open a task manager window" },
{ NULL }
{ "start-hidden", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &start_hidden, "Don't open a task manager window", NULL },
{ NULL, 0, 0, 0, NULL, NULL, NULL }
};
static void