diff options
author | Paolo Borelli <pborelli@gnome.org> | 2011-01-29 12:47:09 +0100 |
---|---|---|
committer | Paolo Borelli <pborelli@gnome.org> | 2011-01-29 13:13:42 +0100 |
commit | 001697a22a6e094ca37f4f6c230161b08dff5c20 (patch) | |
tree | f53e6b1f69c69c858dd5601b4234660bf54ecb91 /gtk/gtkstylecontextprivate.h | |
parent | 9e203417752584b923cf5baec8940836ff2c0bcb (diff) | |
download | gtk+-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.h | 3 |
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 |