[gnome-photos] view-container: Update the name of the callback



commit 7993d8567282fe048f3e988473ef834218fd401e
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Feb 10 15:44:37 2015 +0100

    view-container: Update the name of the callback

 src/photos-view-container.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-view-container.c b/src/photos-view-container.c
index dfff04d..da0b901 100644
--- a/src/photos-view-container.c
+++ b/src/photos-view-container.c
@@ -76,7 +76,7 @@ G_DEFINE_TYPE_WITH_PRIVATE (PhotosViewContainer, photos_view_container, GTK_TYPE
 
 
 static void
-photos_view_container_view_changed (PhotosViewContainer *self, GtkPositionType pos)
+photos_view_container_edge_reached (PhotosViewContainer *self, GtkPositionType pos)
 {
   if (pos == GTK_POS_BOTTOM)
     photos_offset_controller_increase_offset (self->priv->offset_cntrlr);
@@ -88,7 +88,7 @@ photos_view_container_connect_view (PhotosViewContainer *self)
 {
   g_signal_connect_swapped (self->priv->view,
                             "edge-reached",
-                            G_CALLBACK (photos_view_container_view_changed),
+                            G_CALLBACK (photos_view_container_edge_reached),
                             self);
 }
 
@@ -108,7 +108,7 @@ photos_view_container_disconnect_view (PhotosViewContainer *self)
 {
   PhotosViewContainerPrivate *priv = self->priv;
 
-  g_signal_handlers_disconnect_by_func (priv->view, photos_view_container_view_changed, self);
+  g_signal_handlers_disconnect_by_func (priv->view, photos_view_container_edge_reached, self);
 }
 
 


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