[clutter] actor: Rename internal function



commit 41cd804f104ab51035c204868751f1876b7409c8
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu Jul 9 14:30:26 2015 +0100

    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 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index d6dd4f9..d6f7c7d 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);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]