[gnome-photos] image-view: Simplify code



commit ef138b9c65221696b5fdfbb5165fc48529c902e6
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Apr 6 14:41:31 2017 +0200

    image-view: Simplify code

 src/photos-image-view.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-image-view.c b/src/photos-image-view.c
index 11d8e71..165321a 100644
--- a/src/photos-image-view.c
+++ b/src/photos-image-view.c
@@ -553,6 +553,5 @@ photos_image_view_set_node (PhotosImageView *self, GeglNode *node)
                                G_CONNECT_SWAPPED);
     }
 
-  photos_image_view_update (self);
-  gtk_widget_queue_draw (GTK_WIDGET (self));
+  gtk_widget_queue_resize (GTK_WIDGET (self));
 }


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