From eea00d280549641403dbaae27e370e16fe9f975b Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 5 Nov 2009 12:23:22 +0000 Subject: [PATCH] bin-layout: Add get_child_meta_type() override Return the GType of ClutterBinLayer. --- clutter/clutter-bin-layout.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/clutter/clutter-bin-layout.c b/clutter/clutter-bin-layout.c index 59e564e9e..243004f53 100644 --- a/clutter/clutter-bin-layout.c +++ b/clutter/clutter-bin-layout.c @@ -529,6 +529,12 @@ clutter_bin_layout_allocate (ClutterLayoutManager *manager, g_list_free (children); } +static GType +clutter_bin_layout_get_child_meta_type (ClutterLayoutManager *manager) +{ + return CLUTTER_TYPE_BIN_LAYER; +} + static ClutterLayoutMeta * clutter_bin_layout_create_child_meta (ClutterLayoutManager *manager, ClutterContainer *container, @@ -662,6 +668,8 @@ clutter_bin_layout_class_init (ClutterBinLayoutClass *klass) clutter_bin_layout_allocate; layout_class->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 = clutter_bin_layout_set_container; }