[gthumb] Fixed crash when using the red-eye removal tool



commit 9976dd770d11c47b594dc2915624e292bfa57a61
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Mon Jun 28 09:04:45 2010 +0200

    Fixed crash when using the red-eye removal tool
    
    [bug #623000]

 gthumb/gth-image-selector.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-image-selector.c b/gthumb/gth-image-selector.c
index 440b9e5..617a0d5 100644
--- a/gthumb/gth-image-selector.c
+++ b/gthumb/gth-image-selector.c
@@ -939,12 +939,12 @@ gth_image_selector_button_press (GthImageViewerTool *base,
 			set_active_area (self, get_event_area_from_id (self, C_BOTTOM_RIGHT_AREA));
 		}
 		else if (self->priv->type == GTH_SELECTOR_TYPE_POINT) {
-			retval = TRUE;
 			g_signal_emit (G_OBJECT (self),
 				       signals[SELECTED],
 				       0,
 				       new_selection.x,
 				       new_selection.y);
+			return TRUE;
 		}
 	}
 



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