[gthumb] web album: fixed thumbnail size
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] web album: fixed thumbnail size
- Date: Sun, 13 Apr 2014 09:21:41 +0000 (UTC)
commit 536d849c88d16040e9c5214c5ecad285d98c5066
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Apr 13 11:16:29 2014 +0200
web album: fixed thumbnail size
[bug #727775]
extensions/webalbums/gth-web-exporter.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/extensions/webalbums/gth-web-exporter.c b/extensions/webalbums/gth-web-exporter.c
index f37b7d3..534ce02 100644
--- a/extensions/webalbums/gth-web-exporter.c
+++ b/extensions/webalbums/gth-web-exporter.c
@@ -2601,7 +2601,7 @@ image_loader_ready_cb (GObject *source_object,
scaled = _cairo_image_surface_scale (surface, w, h, SCALE_FILTER_BEST, NULL);
idata->image = gth_image_new_for_surface (scaled);
idata->image_width = cairo_image_surface_get_width (scaled);
- idata->image_height = cairo_image_surface_get_width (scaled);
+ idata->image_height = cairo_image_surface_get_height (scaled);
cairo_surface_destroy (scaled);
}
@@ -2631,7 +2631,7 @@ image_loader_ready_cb (GObject *source_object,
scaled = _cairo_image_surface_scale (surface, w, h, SCALE_FILTER_BEST, NULL);
idata->preview = gth_image_new_for_surface (scaled);
idata->preview_width = cairo_image_surface_get_width (scaled);
- idata->preview_height = cairo_image_surface_get_width (scaled);
+ idata->preview_height = cairo_image_surface_get_height (scaled);
cairo_surface_destroy (scaled);
}
@@ -2663,7 +2663,7 @@ image_loader_ready_cb (GObject *source_object,
scaled = _cairo_image_surface_scale_squared (surface, self->priv->thumb_width,
SCALE_FILTER_BEST, NULL);
idata->thumb = gth_image_new_for_surface (scaled);
idata->thumb_width = cairo_image_surface_get_width (scaled);
- idata->thumb_height = cairo_image_surface_get_width (scaled);
+ idata->thumb_height = cairo_image_surface_get_height (scaled);
cairo_surface_destroy (scaled);
}
@@ -2679,7 +2679,7 @@ image_loader_ready_cb (GObject *source_object,
scaled = _cairo_image_surface_scale (surface, w, h, SCALE_FILTER_BEST, NULL);
idata->thumb = gth_image_new_for_surface (scaled);
idata->thumb_width = cairo_image_surface_get_width (scaled);
- idata->thumb_height = cairo_image_surface_get_width (scaled);
+ idata->thumb_height = cairo_image_surface_get_height (scaled);
cairo_surface_destroy (scaled);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]