From 4a503bdbd7dd8e6f5560bfb8808fb8c705027f46 Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Fri, 20 Nov 2020 20:08:47 +0100 Subject: [PATCH] Fix several missing initializer warnings in gio/tests/dbus-appinfo.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gio/tests/dbus-appinfo.c:177:3: error: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} 177 | { "frob", test_application_frob }, | ^ gio/tests/dbus-appinfo.c:178:3: error: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} 178 | { "tweak", test_application_tweak }, | ^ gio/tests/dbus-appinfo.c:179:3: error: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} 179 | { "twiddle", test_application_twiddle }, | ^ gio/tests/dbus-appinfo.c:180:3: error: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} 180 | { "quit", test_application_quit } | ^ --- gio/tests/dbus-appinfo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gio/tests/dbus-appinfo.c b/gio/tests/dbus-appinfo.c index 7e2fc4d79..86bdfebee 100644 --- a/gio/tests/dbus-appinfo.c +++ b/gio/tests/dbus-appinfo.c @@ -174,10 +174,10 @@ test_application_quit (GSimpleAction *action, } static const GActionEntry app_actions[] = { - { "frob", test_application_frob }, - { "tweak", test_application_tweak }, - { "twiddle", test_application_twiddle }, - { "quit", test_application_quit } + { "frob", test_application_frob, NULL, NULL, NULL, { 0 } }, + { "tweak", test_application_tweak, NULL, NULL, NULL, { 0 } }, + { "twiddle", test_application_twiddle, NULL, NULL, NULL, { 0 } }, + { "quit", test_application_quit, NULL, NULL, NULL, { 0 } } }; static void