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



commit 6bedefe7f7feaed3274f794ca76d76721ba5b84d
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Jan 17 13:06:22 2017 +0100

    application: 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-application.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index 9ec64f7..c69832a 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -833,7 +833,6 @@ photos_application_edit_revert_revert (GObject *source_object, GAsyncResult *res
   photos_base_item_pipeline_save_async (item, NULL, photos_application_edit_revert_pipeline_save, self);
 
  out:
-  g_action_activate (G_ACTION (self->draw_action), NULL);
   g_application_release (G_APPLICATION (self));
 }
 
@@ -984,7 +983,6 @@ photos_application_properties_revert_to_original (GObject *source_object, GAsync
   photos_base_item_pipeline_save_async (item, NULL, photos_application_properties_pipeline_save, self);
 
  out:
-  g_action_activate (G_ACTION (self->draw_action), NULL);
   g_application_release (G_APPLICATION (self));
 }
 


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