Add static to global variable

This commit is contained in:
Mario Hüttel 2018-09-22 23:32:22 +02:00
parent d69082a676
commit e8b7bd65ac

2
main.c
View File

@ -50,7 +50,7 @@ static void app_about(GSimpleAction *action, GVariant *parameter, gpointer user_
g_object_unref(builder); g_object_unref(builder);
} }
const GActionEntry app_actions[] = { const static GActionEntry app_actions[] = {
{ "quit", app_quit }, { "quit", app_quit },
{ "about", app_about } { "about", app_about }
}; };