[gtksourceview] StyleScheme: fix secondary cursor color
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] StyleScheme: fix secondary cursor color
- Date: Fri, 25 Mar 2016 15:52:29 +0000 (UTC)
commit 28a97016a3a15ab5a55fb401c11d0a67a349099b
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Mar 25 16:48:02 2016 +0100
StyleScheme: fix secondary cursor color
The alpha channel was set to 0.0, so the secondary cursor was
translucent.
gtksourceview/gtksourcestylescheme.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/gtksourcestylescheme.c b/gtksourceview/gtksourcestylescheme.c
index 0d4c70d..5cf1392 100644
--- a/gtksourceview/gtksourcestylescheme.c
+++ b/gtksourceview/gtksourcestylescheme.c
@@ -692,6 +692,7 @@ get_cursors_css_style (GtkSourceStyleScheme *scheme,
secondary_color.red = rgba->red * 0.5;
secondary_color.green = rgba->green * 0.5;
secondary_color.blue = rgba->blue * 0.5;
+ secondary_color.alpha = 1.0;
gdk_rgba_free (rgba);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]