summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2010-11-30 02:14:00 +0100
committerCarlos Garnacho <carlosg@gnome.org>2010-12-04 15:39:51 +0100
commit297fa7a3dd6f114cecc1c2f1306312599f392e23 (patch)
treed09ae018f339034c7c32462e3deeab9c4b883a98 /gtk/gtkstylecontext.h
parent2ca905db5ebeeb275e72629b535b8153f0ae9b01 (diff)
downloadgtk+-297fa7a3dd6f114cecc1c2f1306312599f392e23.tar.gz
GtkStyleProvider: Add GtkStateFlags parameter to get_style_property().
Widget style properties can now have different values depending on the current state.
Diffstat (limited to 'gtk/gtkstylecontext.h')
-rw-r--r--gtk/gtkstylecontext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index 2868c85a8c..b2dd734d10 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -424,6 +424,7 @@ void gtk_style_context_pop_animatable_region (GtkStyleContext *context);
/* Semi-private API */
const GValue * _gtk_style_context_peek_style_property (GtkStyleContext *context,
GType widget_type,
+ GtkStateFlags state,
GParamSpec *pspec);
void _gtk_style_context_invalidate_animation_areas (GtkStyleContext *context);
void _gtk_style_context_coalesce_animation_areas (GtkStyleContext *context,