summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2015-07-09 14:30:26 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2015-07-09 14:30:26 +0100
commit41cd804f104ab51035c204868751f1876b7409c8 (patch)
tree747bfb5b66f39907593abbf12bfbddadd7a09c9f
parentb0300a624719196a9e0291d140fe6166c791ae64 (diff)
downloadclutter-41cd804f104ab51035c204868751f1876b7409c8.tar.gz
actor: Rename internal function
Map to the field name and the signal name, so it's clear what it does.
-rw-r--r--clutter/clutter-actor.c23
1 files 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);
}