mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
GtkApplcationWindow: plug two obvious leaks
This commit is contained in:
parent
c7e7237559
commit
f0c2ff39fc
@ -507,6 +507,9 @@ gtk_application_window_dispose (GObject *object)
|
||||
gtk_widget_unparent (window->priv->menubar);
|
||||
window->priv->menubar = NULL;
|
||||
}
|
||||
|
||||
g_clear_object (&window->priv->app_menu_section);
|
||||
g_clear_object (&window->priv->menubar_section);
|
||||
g_clear_object (&window->priv->actions);
|
||||
|
||||
G_OBJECT_CLASS (gtk_application_window_parent_class)
|
||||
|
Loading…
Reference in New Issue
Block a user