[gthumb/gthumb-3-2] thumbnail list: images drawn with wrong offset
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb/gthumb-3-2] thumbnail list: images drawn with wrong offset
- Date: Tue, 18 Jun 2013 17:58:49 +0000 (UTC)
commit c8bb39a025fc975cba882ded202270e028cca900
Author: Paolo Bacchilega <paobac src gnome org>
Date: Tue Jun 18 19:41:04 2013 +0200
thumbnail list: images drawn with wrong offset
[bug #702538]
gthumb/gth-grid-view.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-grid-view.c b/gthumb/gth-grid-view.c
index 50b7e67..8865e67 100644
--- a/gthumb/gth-grid-view.c
+++ b/gthumb/gth-grid-view.c
@@ -1322,6 +1322,7 @@ _gth_grid_view_item_draw_thumbnail (GthGridViewItem *item,
/* ...draw a frame with a drop-shadow effect */
+ cairo_save (cr);
cairo_translate (cr, 0.5, 0.5);
cairo_set_line_width (cr, 0.5);
cairo_set_antialias (cr, CAIRO_ANTIALIAS_NONE);
@@ -1384,7 +1385,7 @@ _gth_grid_view_item_draw_thumbnail (GthGridViewItem *item,
cairo_stroke (cr);
*/
- cairo_identity_matrix (cr);
+ cairo_restore (cr);
}
if (! item->is_icon && item->is_video) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]