summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontextprivate.h
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@gnome.org>2011-01-29 12:47:09 +0100
committerPaolo Borelli <pborelli@gnome.org>2011-01-29 13:13:42 +0100
commit001697a22a6e094ca37f4f6c230161b08dff5c20 (patch)
treef53e6b1f69c69c858dd5601b4234660bf54ecb91 /gtk/gtkstylecontextprivate.h
parent9e203417752584b923cf5baec8940836ff2c0bcb (diff)
downloadgtk+-001697a22a6e094ca37f4f6c230161b08dff5c20.tar.gz
Move the get_cursor_color in GtkStyleContext
Move the private get_cursor_color method belongs to StyleContext. Change the api so that retrieving both primary and secondary color is possible. I left the method private for now, though it should probably be public as all the other getters.
Diffstat (limited to 'gtk/gtkstylecontextprivate.h')
-rw-r--r--gtk/gtkstylecontextprivate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkstylecontextprivate.h b/gtk/gtkstylecontextprivate.h
index de70308331..57db77e5cb 100644
--- a/gtk/gtkstylecontextprivate.h
+++ b/gtk/gtkstylecontextprivate.h
@@ -34,6 +34,9 @@ void _gtk_style_context_coalesce_animation_areas (GtkStyleContext *c
GtkWidget *widget);
gboolean _gtk_style_context_check_region_name (const gchar *str);
+void _gtk_style_context_get_cursor_color (GtkStyleContext *context,
+ GdkRGBA *primary_color,
+ GdkRGBA *secondary_color);
G_END_DECLS