Add static to global variable
This commit is contained in:
parent
d69082a676
commit
e8b7bd65ac
2
main.c
2
main.c
@ -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 }
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user