diff options
author | Benjamin Otte <otte@redhat.com> | 2011-12-23 14:12:04 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-01-09 18:37:49 +0100 |
commit | eb38591c917f2eee733a04efddbfcfe31c460a18 (patch) | |
tree | aeb671e54f1234c2fc1ba206498a6222234a518e /gtk/gtkstyleproperty.c | |
parent | f6cf447cad57b98331c0e4439abd545fbfe5d10e (diff) | |
download | gtk+-eb38591c917f2eee733a04efddbfcfe31c460a18.tar.gz |
css: Add _gtk_style_property_get_id()
Diffstat (limited to 'gtk/gtkstyleproperty.c')
-rw-r--r-- | gtk/gtkstyleproperty.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtkstyleproperty.c b/gtk/gtkstyleproperty.c index f27cd730dc..f1738b15cc 100644 --- a/gtk/gtkstyleproperty.c +++ b/gtk/gtkstyleproperty.c @@ -2444,6 +2444,14 @@ _gtk_style_property_is_inherit (const GtkStyleProperty *property) return property->flags & GTK_STYLE_PROPERTY_INHERIT ? TRUE : FALSE; } +guint +_gtk_style_property_get_id (const GtkStyleProperty *property) +{ + g_return_val_if_fail (property != NULL, FALSE); + + return property->id; +} + static gboolean resolve_color (GtkStyleProperties *props, GValue *value) |