[glib: 3/8] Fix missing initializer warnings in gio/gapplication-tool.c




commit 02126e0a074d1d3bcb4240a1baf946621c68fbe6
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date:   Tue Nov 17 23:15:33 2020 +0100

    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 |   },
          |   ^

 gio/gapplication-tool.c | 6 ++++--
 1 file 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)"),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]