Browse Source

MT#61822 support FILENAME_ARRAY in config wrapper

Change-Id: Iba89d708ba9be67b6f84fc61c9db78012ef804f4
pull/1897/head
Richard Fuchs 12 months ago
parent
commit
2b90581e6c
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      lib/auxlib.c

+ 2
- 0
lib/auxlib.c View File

@ -313,6 +313,7 @@ void config_load_ext(int *argc, char ***argv, GOptionEntry *app_entries, const c
break;
}
case G_OPTION_ARG_FILENAME_ARRAY:
case G_OPTION_ARG_STRING_ARRAY: {
char ***s = e->arg_data;
g_strfreev(*s);
@ -356,6 +357,7 @@ void config_load_ext(int *argc, char ***argv, GOptionEntry *app_entries, const c
break;
}
case G_OPTION_ARG_FILENAME_ARRAY:
case G_OPTION_ARG_STRING_ARRAY: {
char ***s = e->arg_data;
if (!*s && e->description)


Loading…
Cancel
Save