st: Remove empty dispose/finalize methods from StBoxLayoutChild
If the only thing we do is chain up to the parent, there's no point in not using the parent's implementation directly. https://bugzilla.gnome.org/show_bug.cgi?id=703810
This commit is contained in:
parent
aa394754b6
commit
741b204fc7
@ -110,18 +110,6 @@ st_box_layout_child_set_property (GObject *object,
|
|||||||
clutter_actor_queue_relayout ((ClutterActor*) box);
|
clutter_actor_queue_relayout ((ClutterActor*) box);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
st_box_layout_child_dispose (GObject *object)
|
|
||||||
{
|
|
||||||
G_OBJECT_CLASS (st_box_layout_child_parent_class)->dispose (object);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
|
||||||
st_box_layout_child_finalize (GObject *object)
|
|
||||||
{
|
|
||||||
G_OBJECT_CLASS (st_box_layout_child_parent_class)->finalize (object);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
st_box_layout_child_class_init (StBoxLayoutChildClass *klass)
|
st_box_layout_child_class_init (StBoxLayoutChildClass *klass)
|
||||||
{
|
{
|
||||||
@ -130,8 +118,6 @@ st_box_layout_child_class_init (StBoxLayoutChildClass *klass)
|
|||||||
|
|
||||||
object_class->get_property = st_box_layout_child_get_property;
|
object_class->get_property = st_box_layout_child_get_property;
|
||||||
object_class->set_property = st_box_layout_child_set_property;
|
object_class->set_property = st_box_layout_child_set_property;
|
||||||
object_class->dispose = st_box_layout_child_dispose;
|
|
||||||
object_class->finalize = st_box_layout_child_finalize;
|
|
||||||
|
|
||||||
|
|
||||||
pspec = g_param_spec_boolean ("expand", "Expand",
|
pspec = g_param_spec_boolean ("expand", "Expand",
|
||||||
|
Loading…
Reference in New Issue
Block a user