[gnome-photos/wip/rishi/double-buffering: 9/13] preview-view: No need to explicitly queue a redraw after processing



commit 265f3755187135e26b014e4b754491b325bc9113
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Jan 17 10:52:35 2017 +0100

    preview-view: No need to explicitly queue a redraw after processing
    
    PhotosImageView will automatically queue a redraw once the GeglNode's
    entire bounding box has been computed. There is no need to queue it
    once more.

 src/photos-preview-view.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/photos-preview-view.c b/src/photos-preview-view.c
index b2d2d64..767ed76 100644
--- a/src/photos-preview-view.c
+++ b/src/photos-preview-view.c
@@ -271,7 +271,6 @@ photos_preview_view_get_view_from_view_container (GtkWidget *view_container)
 static void
 photos_preview_view_process (GObject *source_object, GAsyncResult *res, gpointer user_data)
 {
-  PhotosPreviewView *self;
   GError *error = NULL;
   PhotosBaseItem *item = PHOTOS_BASE_ITEM (source_object);
 
@@ -289,10 +288,6 @@ photos_preview_view_process (GObject *source_object, GAsyncResult *res, gpointer
           g_error_free (error);
         }
     }
-
-  self = PHOTOS_PREVIEW_VIEW (user_data);
-
-  g_action_activate (self->draw, NULL);
 }
 
 


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