applicationwindw: Don't leak show-help-overlay action

This commit is contained in:
Timm Bäder 2017-10-06 16:30:31 +02:00
parent 9115291515
commit b34c84ab6d

View File

@ -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));
}
}