forked from AuroraMiddleware/gtk
applicationwindw: Don't leak show-help-overlay action
This commit is contained in:
parent
9115291515
commit
b34c84ab6d
@ -982,6 +982,7 @@ gtk_application_window_set_help_overlay (GtkApplicationWindow *window,
|
||||
g_signal_connect (action, "activate", G_CALLBACK (show_help_overlay), window);
|
||||
|
||||
g_action_map_add_action (G_ACTION_MAP (window->priv->actions), G_ACTION (action));
|
||||
g_object_unref (G_OBJECT (action));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user