Commit 7d695068 authored by Matthias Clasen's avatar Matthias Clasen

notebook: Don't leak arrow gadgets

This was pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=774743
parent da9bd46a
......@@ -1843,6 +1843,10 @@ gtk_notebook_finalize (GObject *object)
g_clear_object (&priv->gadget);
g_clear_object (&priv->header_gadget);
g_clear_object (&priv->tabs_gadget);
g_clear_object (&priv->arrow_gadget[0]);
g_clear_object (&priv->arrow_gadget[1]);
g_clear_object (&priv->arrow_gadget[2]);
g_clear_object (&priv->arrow_gadget[3]);
g_clear_object (&priv->stack_gadget);
G_OBJECT_CLASS (gtk_notebook_parent_class)->finalize (object);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment