Commit b5743d1d authored by Guido Gunther's avatar Guido Gunther Committed by Adrien Plazas
Browse files

HdyHeaderGroup: Cleanup references to header bars in dispose

The dispose heandler is meant to break refs to other objects, not
finalize.
parent 71a8c019
......@@ -283,7 +283,7 @@ typedef struct {
} GSListSubParserData;
static void
hdy_header_group_finalize (GObject *object)
hdy_header_group_dispose (GObject *object)
{
HdyHeaderGroup *self = (HdyHeaderGroup *)object;
HdyHeaderGroupPrivate *priv = hdy_header_group_get_instance_private (self);
......@@ -292,7 +292,7 @@ hdy_header_group_finalize (GObject *object)
priv->header_bars = NULL;
priv->focus = NULL;
G_OBJECT_CLASS (hdy_header_group_parent_class)->finalize (object);
G_OBJECT_CLASS (hdy_header_group_parent_class)->dispose (object);
}
static void
......@@ -554,7 +554,7 @@ hdy_header_group_class_init (HdyHeaderGroupClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
object_class->finalize = hdy_header_group_finalize;
object_class->dispose = hdy_header_group_dispose;
object_class->get_property = hdy_header_group_get_property;
object_class->set_property = hdy_header_group_set_property;
......
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