[gthumb] overview: simplified the frame
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] overview: simplified the frame
- Date: Thu, 17 Apr 2014 20:55:49 +0000 (UTC)
commit 1f10c55105283772f3b8c46c60d3e590e2954db4
Author: Paolo Bacchilega <paobac src gnome org>
Date: Thu Apr 17 22:38:46 2014 +0200
overview: simplified the frame
gthumb/gth-image-overview.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gthumb/gth-image-overview.c b/gthumb/gth-image-overview.c
index b6480c6..8e7cb5a 100644
--- a/gthumb/gth-image-overview.c
+++ b/gthumb/gth-image-overview.c
@@ -441,9 +441,7 @@ gth_image_overview_draw (GtkWidget *widget,
/* frame */
cairo_save (cr);
- cairo_rectangle (cr, 0.5, 0.5, allocation.width - 1, allocation.height - 1);
- cairo_set_source_rgb (cr, 0.0, 0.0, 0.0);
- cairo_stroke_preserve (cr);
+ cairo_rectangle (cr, 0.0, 0.0, allocation.width - 0.5, allocation.height - 0.5);
cairo_set_source_rgb (cr, 1.0, 1.0, 1.0);
cairo_fill (cr);
cairo_restore (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]