[gnome-photos] tool-crop: Remove redundant function call



commit 4f8e12bf391332e76c8b3c24de1e9d7945fa3b31
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Feb 11 11:01:06 2016 +0100

    tool-crop: Remove redundant function call
    
    A draw will be queued as a result of emitting PhotosTool::activated.
    No need to do it again.

 src/photos-tool-crop.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-tool-crop.c b/src/photos-tool-crop.c
index f62e877..29df50a 100644
--- a/src/photos-tool-crop.c
+++ b/src/photos-tool-crop.c
@@ -917,7 +917,6 @@ photos_tool_crop_process (GObject *source_object, GAsyncResult *res, gpointer us
   g_signal_emit_by_name (self, "activated");
 
  out:
-  gtk_widget_queue_draw (self->view);
   g_object_unref (self);
 }
 


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