spinbutton: Free the gadget in finalize

This commit is contained in:
Timm Bäder 2016-02-10 12:30:35 +01:00
parent 8ea573b473
commit c44364f1d1

View File

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