[gthumb: 22/40] grid not visible when using cario >= 1.9.2
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb: 22/40] grid not visible when using cario >= 1.9.2
- Date: Fri, 10 Sep 2010 16:58:03 +0000 (UTC)
commit e140cb81f89141cdc74b540c9b551a5b0fe95ad5
Author: Paolo Bacchilega <paobac src gnome org>
Date: Thu Sep 9 09:31:18 2010 +0200
grid not visible when using cario >= 1.9.2
set the color to white when using the DIFFERENCE operator
gthumb/gth-image-selector.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-image-selector.c b/gthumb/gth-image-selector.c
index 7f24353..9011c48 100644
--- a/gthumb/gth-image-selector.c
+++ b/gthumb/gth-image-selector.c
@@ -612,7 +612,7 @@ paint_selection (GthImageSelector *self,
cairo_save (cr);
#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 9, 2)
cairo_set_operator (cr, CAIRO_OPERATOR_DIFFERENCE);
- cairo_set_source_rgb (cr, 0.0, 0.0, 0.0);
+ cairo_set_source_rgb (cr, 1.0, 1.0, 1.0);
#else
cairo_set_source_rgb (cr, 1.0, 1.0, 1.0);
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]