1
0
Fork 0

actor: Rename internal function

Map to the field name and the signal name, so it's clear what it does.
This commit is contained in:
Emmanuele Bassi 2015-07-09 14:30:26 +01:00
parent b0300a6247
commit 41cd804f10

View file

@ -20786,7 +20786,7 @@ _clutter_actor_get_active_framebuffer (ClutterActor *self)
} }
static void static void
clutter_actor_bound_model__changed (GListModel *model, clutter_actor_child_model__items_changed (GListModel *model,
guint position, guint position,
guint removed, guint removed,
guint added, guint added,
@ -20867,7 +20867,7 @@ clutter_actor_bind_model (ClutterActor *self,
priv->create_child_notify (priv->create_child_data); priv->create_child_notify (priv->create_child_data);
g_signal_handlers_disconnect_by_func (priv->child_model, g_signal_handlers_disconnect_by_func (priv->child_model,
clutter_actor_bound_model__changed, clutter_actor_child_model__items_changed,
self); self);
g_clear_object (&priv->child_model); g_clear_object (&priv->child_model);
priv->create_child_func = NULL; priv->create_child_func = NULL;
@ -20886,11 +20886,12 @@ clutter_actor_bind_model (ClutterActor *self,
priv->create_child_notify = notify; priv->create_child_notify = notify;
g_signal_connect (priv->child_model, "items-changed", g_signal_connect (priv->child_model, "items-changed",
G_CALLBACK (clutter_actor_bound_model__changed), G_CALLBACK (clutter_actor_child_model__items_changed),
self); self);
clutter_actor_bound_model__changed (priv->child_model, clutter_actor_child_model__items_changed (priv->child_model,
0, 0,
0, g_list_model_get_n_items (priv->child_model), 0,
g_list_model_get_n_items (priv->child_model),
self); self);
} }