mirror of
https://github.com/brl/mutter.git
synced 2025-02-17 05:44:08 +00:00
bin-layout: Add get_child_meta_type() override
Return the GType of ClutterBinLayer.
This commit is contained in:
parent
e6dff59b27
commit
eea00d2805
@ -529,6 +529,12 @@ clutter_bin_layout_allocate (ClutterLayoutManager *manager,
|
|||||||
g_list_free (children);
|
g_list_free (children);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static GType
|
||||||
|
clutter_bin_layout_get_child_meta_type (ClutterLayoutManager *manager)
|
||||||
|
{
|
||||||
|
return CLUTTER_TYPE_BIN_LAYER;
|
||||||
|
}
|
||||||
|
|
||||||
static ClutterLayoutMeta *
|
static ClutterLayoutMeta *
|
||||||
clutter_bin_layout_create_child_meta (ClutterLayoutManager *manager,
|
clutter_bin_layout_create_child_meta (ClutterLayoutManager *manager,
|
||||||
ClutterContainer *container,
|
ClutterContainer *container,
|
||||||
@ -662,6 +668,8 @@ clutter_bin_layout_class_init (ClutterBinLayoutClass *klass)
|
|||||||
clutter_bin_layout_allocate;
|
clutter_bin_layout_allocate;
|
||||||
layout_class->create_child_meta =
|
layout_class->create_child_meta =
|
||||||
clutter_bin_layout_create_child_meta;
|
clutter_bin_layout_create_child_meta;
|
||||||
|
layout_class->get_child_meta_type =
|
||||||
|
clutter_bin_layout_get_child_meta_type;
|
||||||
layout_class->set_container =
|
layout_class->set_container =
|
||||||
clutter_bin_layout_set_container;
|
clutter_bin_layout_set_container;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user