[gthumb] fixed wrong image size in the statusbar after modification
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] fixed wrong image size in the statusbar after modification
- Date: Wed, 23 Dec 2015 20:48:23 +0000 (UTC)
commit 1f04df2c4f5497251960c3118f3c7026e4b82a61
Author: Paolo Bacchilega <paobac src gnome org>
Date: Wed Dec 23 21:46:35 2015 +0100
fixed wrong image size in the statusbar after modification
gth_image_get_original_size: set the output parameters
gthumb/gth-image.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-image.c b/gthumb/gth-image.c
index f9a166f..a53cf12 100644
--- a/gthumb/gth-image.c
+++ b/gthumb/gth-image.c
@@ -366,6 +366,11 @@ gth_image_get_original_size (GthImage *image,
break;
}
+ if (value_set) {
+ if (width != NULL) *width = local_width;
+ if (height != NULL) *height = local_height;
+ }
+
return value_set;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]