[gnome-photos] main-toolbar: Rename a callback



commit beb01053c4c12238ccb386863fccb85eccececbf
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Aug 2 18:15:34 2013 +0200

    main-toolbar: Rename a callback

 src/photos-main-toolbar.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/photos-main-toolbar.c b/src/photos-main-toolbar.c
index 3bbbf06..169eae1 100644
--- a/src/photos-main-toolbar.c
+++ b/src/photos-main-toolbar.c
@@ -160,7 +160,7 @@ photos_main_toolbar_coll_back_button_clicked (GtkButton *button, gpointer user_d
 
 
 static void
-photos_main_toolbar_active_changed (PhotosBaseManager *manager, GObject *object, gpointer user_data)
+photos_main_toolbar_col_active_changed (PhotosBaseManager *manager, GObject *object, gpointer user_data)
 {
   PhotosMainToolbar *self = PHOTOS_MAIN_TOOLBAR (user_data);
   PhotosMainToolbarPrivate *priv = self->priv;
@@ -261,7 +261,7 @@ photos_main_toolbar_add_selection_button (PhotosMainToolbar *self)
 
   g_signal_connect_object (priv->col_mngr,
                            "active-changed",
-                           G_CALLBACK (photos_main_toolbar_active_changed),
+                           G_CALLBACK (photos_main_toolbar_col_active_changed),
                            self,
                            0);
 }
@@ -296,7 +296,7 @@ photos_main_toolbar_clear_state_data (PhotosMainToolbar *self)
     }
 
   if (priv->col_mngr != NULL)
-    g_signal_handlers_disconnect_by_func (priv->col_mngr, photos_main_toolbar_active_changed, self);
+    g_signal_handlers_disconnect_by_func (priv->col_mngr, photos_main_toolbar_col_active_changed, self);
 
   if (priv->sel_cntrlr != NULL)
     g_signal_handlers_disconnect_by_func (priv->sel_cntrlr, photos_main_toolbar_set_toolbar_title, self);
@@ -368,7 +368,7 @@ photos_main_toolbar_populate_for_collections (PhotosMainToolbar *self)
   photos_main_toolbar_add_selection_button (self);
 
   object = photos_base_manager_get_active_object (priv->col_mngr);
-  photos_main_toolbar_active_changed (priv->col_mngr, object, self);
+  photos_main_toolbar_col_active_changed (priv->col_mngr, object, self);
 }
 
 
@@ -400,7 +400,7 @@ photos_main_toolbar_populate_for_favorites (PhotosMainToolbar *self)
   photos_main_toolbar_add_selection_button (self);
 
   object = photos_base_manager_get_active_object (priv->col_mngr);
-  photos_main_toolbar_active_changed (priv->col_mngr, object, self);
+  photos_main_toolbar_col_active_changed (priv->col_mngr, object, self);
 }
 
 
@@ -414,7 +414,7 @@ photos_main_toolbar_populate_for_overview (PhotosMainToolbar *self)
   photos_main_toolbar_add_selection_button (self);
 
   object = photos_base_manager_get_active_object (priv->col_mngr);
-  photos_main_toolbar_active_changed (priv->col_mngr, object, self);
+  photos_main_toolbar_col_active_changed (priv->col_mngr, object, self);
 }
 
 


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