summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Fleury <emmanuel.fleury@gmail.com>2020-11-17 23:15:33 +0100
committerEmmanuel Fleury <emmanuel.fleury@gmail.com>2021-02-16 13:32:26 +0100
commit02126e0a074d1d3bcb4240a1baf946621c68fbe6 (patch)
treeb6ef743de45f25cc2de09194be4bc282781b7bf8
parente89bd4cc15cc1a45abbee6542f0a45fd4be16465 (diff)
downloadglib-02126e0a074d1d3bcb4240a1baf946621c68fbe6.tar.gz
Fix missing initializer warnings in gio/gapplication-tool.c
gio/gapplication-tool.c:51:3: error: missing initializer for field ‘synopsis’ of ‘const struct help_topic’ 51 | }, | ^ gio/gapplication-tool.c:54:3: error: missing initializer for field ‘synopsis’ of ‘const struct help_topic’ 54 | }, | ^
-rw-r--r--gio/gapplication-tool.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gio/gapplication-tool.c b/gio/gapplication-tool.c
index 89b7e70b2..e34f50f69 100644
--- a/gio/gapplication-tool.c
+++ b/gio/gapplication-tool.c
@@ -47,10 +47,12 @@ static const struct help_topic topics[] = {
N_("[COMMAND]")
},
{ "version", N_("Print version"),
- N_("Print version information and exit")
+ N_("Print version information and exit"),
+ NULL
},
{ "list-apps", N_("List applications"),
- N_("List the installed D-Bus activatable applications (by .desktop files)")
+ N_("List the installed D-Bus activatable applications (by .desktop files)"),
+ NULL
},
{ "launch", N_("Launch an application"),
N_("Launch the application (with optional files to open)"),