[gthumb/gthumb-3-2] web album: fixed thumbnail size
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb/gthumb-3-2] web album: fixed thumbnail size
- Date: Sun, 13 Apr 2014 09:36:19 +0000 (UTC)
commit 9a662dc2f8a4db1bd58d46152c9e628cfbc73ec5
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 6ec409b..05e7999 100644
--- a/extensions/webalbums/gth-web-exporter.c
+++ b/extensions/webalbums/gth-web-exporter.c
@@ -2600,7 +2600,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);
}
@@ -2630,7 +2630,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);
}
@@ -2662,7 +2662,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);
}
@@ -2678,7 +2678,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]