[gtksourceview] Use caret-color instead of the deprecated properties



commit 5ba9afeaab249492a52e0531957f2163ceb9dfaa
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Jan 9 14:53:27 2016 +0100

    Use caret-color instead of the deprecated properties

 configure.ac                         |    2 +-
 gtksourceview/gtksourcestylescheme.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3d9bb49..429609a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,7 +45,7 @@ AC_SUBST(GSV_LT_VERSION)
 
 # Dependencies
 glib_req=2.47.0
-gtk_req=3.19.4
+gtk_req=3.19.6
 libxml_req=2.6.0
 gladeui_req=3.9
 
diff --git a/gtksourceview/gtksourcestylescheme.c b/gtksourceview/gtksourcestylescheme.c
index 121e155..99d3ee0 100644
--- a/gtksourceview/gtksourcestylescheme.c
+++ b/gtksourceview/gtksourcestylescheme.c
@@ -700,8 +700,8 @@ get_cursors_css_style (GtkSourceStyleScheme *scheme,
        secondary_color_str = gdk_rgba_to_string (&secondary_color);
 
        css = g_strdup_printf ("textview {\n"
-                              "\t-GtkWidget-cursor-color: %s;\n"
-                              "\t-GtkWidget-secondary-cursor-color: %s;\n"
+                              "\t-caret-color: %s;\n"
+                              "\t-gtk-secondary-caret-color: %s;\n"
                               "}\n",
                               primary_color_str,
                               secondary_color_str);


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