mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 21:50:34 +00:00
spinbutton: Free the gadget in finalize
This commit is contained in:
parent
8ea573b473
commit
c44364f1d1
@ -852,6 +852,7 @@ gtk_spin_button_finalize (GObject *object)
|
||||
GtkSpinButtonPrivate *priv = spin_button->priv;
|
||||
|
||||
gtk_spin_button_unset_adjustment (spin_button);
|
||||
g_clear_object (&priv->gadget);
|
||||
|
||||
g_object_unref (priv->swipe_gesture);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user