[gtksourceview] Use background color instead of text color unset current line color.



commit b74579673528ad98ba44e1316ede1297b48943ac
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Thu Jan 13 15:39:34 2011 +0100

    Use background color instead of text color unset current line color.

 gtksourceview/gtksourceview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index a048770..f9684e9 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -2443,7 +2443,7 @@ gtk_source_view_draw (GtkWidget *widget,
 
 			context = gtk_widget_get_style_context (widget);
 			state = gtk_widget_get_state_flags (widget);
-			gtk_style_context_get_color (context, state, &color);
+			gtk_style_context_get_background_color (context, state, &color);
 
 			gtk_source_view_paint_line_background (text_view,
 							       cr,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]