[gthumb] crop: removed unused variable
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] crop: removed unused variable
- Date: Sat, 9 Nov 2013 19:59:27 +0000 (UTC)
commit 24812cd1f7eafe308be0b4b1b5567759841cc144
Author: Paolo Bacchilega <paobac src gnome org>
Date: Wed Sep 25 10:44:11 2013 +0200
crop: removed unused variable
extensions/file_tools/gth-file-tool-crop.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/extensions/file_tools/gth-file-tool-crop.c b/extensions/file_tools/gth-file-tool-crop.c
index 8e704cd..a59fd94 100644
--- a/extensions/file_tools/gth-file-tool-crop.c
+++ b/extensions/file_tools/gth-file-tool-crop.c
@@ -421,7 +421,6 @@ gth_file_tool_crop_get_options (GthFileTool *base)
GtkWidget *window;
GtkWidget *viewer_page;
GtkWidget *viewer;
- cairo_surface_t *image;
GtkWidget *options;
char *text;
@@ -433,8 +432,7 @@ gth_file_tool_crop_get_options (GthFileTool *base)
return NULL;
viewer = gth_image_viewer_page_get_image_viewer (GTH_IMAGE_VIEWER_PAGE (viewer_page));
- image = gth_image_viewer_get_current_image (GTH_IMAGE_VIEWER (viewer));
- if (image == NULL)
+ if (gth_image_viewer_get_current_image (GTH_IMAGE_VIEWER (viewer)) == NULL)
return NULL;
gth_image_viewer_get_original_size(GTH_IMAGE_VIEWER (viewer), &self->priv->original_width,
&self->priv->original_height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]