Menu: Don't leak priv->motion_controller

This commit is contained in:
Daniel Boles 2018-03-24 21:57:42 +00:00
parent b83cd9e818
commit f8ecd488cd

View File

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