mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
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") }, | ^~
This commit is contained in:
parent
0cc48ee937
commit
2fd429046d
@ -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 }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user