mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 22:46:15 +01:00
Fix several missing initializer warnings in gio/tests/dbus-appinfo.c
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 } | ^
This commit is contained in:
parent
4ad62f7fab
commit
4a503bdbd7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user