Skip to content
Snippets Groups Projects
Verified Commit 00420de4 authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Make action entries private

parent c60aa864
No related branches found
No related tags found
No related merge requests found
......@@ -100,11 +100,6 @@ activate_show_primary_menu (G_GNUC_UNUSED GSimpleAction *action,
gtk_menu_button_popup (GTK_MENU_BUTTON (self->menu_button));
}
const GActionEntry win_entries[] = {
{ .name = "score-changed", .activate = activate_score_changed, .parameter_type = "s" },
{ .name = "show-primary-menu", .activate = activate_show_primary_menu },
};
static void
rugby_app_window_dispose (GObject *object)
{
......@@ -118,6 +113,11 @@ rugby_app_window_init (RugbyAppWindow *self)
{
gtk_widget_init_template (GTK_WIDGET (self));
const GActionEntry win_entries[] = {
{ .name = "score-changed", .activate = activate_score_changed, .parameter_type = "s" },
{ .name = "show-primary-menu", .activate = activate_show_primary_menu },
};
g_action_map_add_action_entries (G_ACTION_MAP (self),
win_entries,
G_N_ELEMENTS (win_entries),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment