mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Menu: Don't leak priv->motion_controller
This commit is contained in:
parent
b83cd9e818
commit
f8ecd488cd
@ -1232,6 +1232,7 @@ gtk_menu_finalize (GObject *object)
|
||||
gtk_widget_unparent (priv->bottom_arrow_widget);
|
||||
g_clear_object (&priv->click_gesture);
|
||||
g_clear_object (&priv->scroll_controller);
|
||||
g_clear_object (&priv->motion_controller);
|
||||
|
||||
G_OBJECT_CLASS (gtk_menu_parent_class)->finalize (object);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user