summaryrefslogtreecommitdiff
path: root/gtk/gtkstyleproperties.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2010-12-02 23:41:24 +0100
committerCarlos Garnacho <carlosg@gnome.org>2010-12-04 15:39:55 +0100
commitbacb7906f238c716dac395b923e41897428a263a (patch)
treeff848dff658a36eb0ed331ed40295fd3fc3959e0 /gtk/gtkstyleproperties.h
parent3e8d138ed6310e795c4a9c34cd7e82c232b797ec (diff)
downloadgtk+-bacb7906f238c716dac395b923e41897428a263a.tar.gz
Add helper API for getting colors/borders in GtkStyleContext/GtkThemingEngine
Diffstat (limited to 'gtk/gtkstyleproperties.h')
-rw-r--r--gtk/gtkstyleproperties.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkstyleproperties.h b/gtk/gtkstyleproperties.h
index 8a243b7f4f..4ff783a729 100644
--- a/gtk/gtkstyleproperties.h
+++ b/gtk/gtkstyleproperties.h
@@ -56,6 +56,11 @@ typedef gboolean (* GtkStylePropertyParser) (const gchar *string,
GType gtk_style_properties_get_type (void) G_GNUC_CONST;
+/* Semi-private API */
+const GValue * _gtk_style_properties_peek_property (GtkStyleProperties *props,
+ const gchar *prop_name,
+ GtkStateFlags state);
+
/* Functions to register style properties */
void gtk_style_properties_register_property (GtkStylePropertyParser parse_func,
GParamSpec *pspec);