From 41cd804f104ab51035c204868751f1876b7409c8 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 9 Jul 2015 14:30:26 +0100 Subject: [PATCH] actor: Rename internal function Map to the field name and the signal name, so it's clear what it does. --- clutter/clutter-actor.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index d6dd4f947..d6f7c7d9e 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -20786,11 +20786,11 @@ _clutter_actor_get_active_framebuffer (ClutterActor *self) } static void -clutter_actor_bound_model__changed (GListModel *model, - guint position, - guint removed, - guint added, - gpointer user_data) +clutter_actor_child_model__items_changed (GListModel *model, + guint position, + guint removed, + guint added, + gpointer user_data) { ClutterActor *parent = user_data; ClutterActorPrivate *priv = parent->priv; @@ -20867,7 +20867,7 @@ clutter_actor_bind_model (ClutterActor *self, priv->create_child_notify (priv->create_child_data); g_signal_handlers_disconnect_by_func (priv->child_model, - clutter_actor_bound_model__changed, + clutter_actor_child_model__items_changed, self); g_clear_object (&priv->child_model); priv->create_child_func = NULL; @@ -20886,11 +20886,12 @@ clutter_actor_bind_model (ClutterActor *self, priv->create_child_notify = notify; g_signal_connect (priv->child_model, "items-changed", - G_CALLBACK (clutter_actor_bound_model__changed), + G_CALLBACK (clutter_actor_child_model__items_changed), self); - clutter_actor_bound_model__changed (priv->child_model, - 0, - 0, g_list_model_get_n_items (priv->child_model), - self); + clutter_actor_child_model__items_changed (priv->child_model, + 0, + 0, + g_list_model_get_n_items (priv->child_model), + self); }