Gui: Menubar: GActionEntry definition expanded to set unused values to zero, especially pointers

This commit is contained in:
Mario Hüttel 2019-03-14 19:10:06 +01:00
parent 55fd080796
commit a9c7b9f61f

4
main.c
View File

@ -57,8 +57,8 @@ static void app_about(GSimpleAction *action, GVariant *parameter, gpointer user_
}
const static GActionEntry app_actions[] = {
{"quit", app_quit},
{"about", app_about}
{"quit", app_quit, NULL, NULL, NULL, {0}},
{"about", app_about, NULL, NULL, NULL, {0}}
};
static void gapp_activate(GApplication *app, gpointer user_data)