diff options
author | Emmanuel Fleury <emmanuel.fleury@gmail.com> | 2020-11-17 21:13:01 +0100 |
---|---|---|
committer | Emmanuel Fleury <emmanuel.fleury@gmail.com> | 2021-02-01 11:14:21 +0100 |
commit | 2fd429046daddd39ff98dd17f5a89e6242c56fba (patch) | |
tree | 2991ec8b30cd8b874cc9789dd2f23005b4966a44 | |
parent | 0cc48ee9375c11d0e3e11dca406dafd0cb779950 (diff) | |
download | glib-2fd429046daddd39ff98dd17f5a89e6242c56fba.tar.gz |
Fix several missing initializer warnings in gio/gapplication.c:g_application_parse_command_line()
gio/gapplication.c: In function ‘g_application_parse_command_line’:
gio/gapplication.c:545:11: error: missing initializer for field ‘arg_description’ of ‘GOptionEntry’ {aka ‘struct _GOptionEntry’}
545 | N_("Enter GApplication service mode (use from D-Bus service files)") },
| ^~
gio/gapplication.c:557:11: error: missing initializer for field ‘arg_description’ of ‘GOptionEntry’ {aka ‘struct _GOptionEntry’}
557 | N_("Override the application’s ID") },
| ^~
gio/gapplication.c:569:11: error: missing initializer for field ‘arg_description’ of ‘GOptionEntry’ {aka ‘struct _GOptionEntry’}
569 | N_("Replace the running instance") },
| ^~
-rw-r--r-- | gio/gapplication.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gio/gapplication.c b/gio/gapplication.c index 8a473e63f..1c560e5e8 100644 --- a/gio/gapplication.c +++ b/gio/gapplication.c @@ -542,7 +542,7 @@ g_application_parse_command_line (GApplication *application, { GOptionEntry entries[] = { { "gapplication-service", '\0', 0, G_OPTION_ARG_NONE, &become_service, - N_("Enter GApplication service mode (use from D-Bus service files)") }, + N_("Enter GApplication service mode (use from D-Bus service files)"), NULL }, { NULL } }; @@ -554,7 +554,7 @@ g_application_parse_command_line (GApplication *application, { GOptionEntry entries[] = { { "gapplication-app-id", '\0', 0, G_OPTION_ARG_STRING, &app_id, - N_("Override the application’s ID") }, + N_("Override the application’s ID"), NULL }, { NULL } }; @@ -566,7 +566,7 @@ g_application_parse_command_line (GApplication *application, { GOptionEntry entries[] = { { "gapplication-replace", '\0', 0, G_OPTION_ARG_NONE, &replace, - N_("Replace the running instance") }, + N_("Replace the running instance"), NULL }, { NULL } }; |