diff options
author | Benjamin Otte <otte@redhat.com> | 2011-12-29 14:04:19 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-01-09 18:37:50 +0100 |
commit | 5a815e21591639cf2901d6c8529cf6b6bba54ab4 (patch) | |
tree | 3b7f1d59b1a15118ea21475a8f9034babff1c730 /gtk/gtkstyleproperty.c | |
parent | 242893a0315990c11bf5ce8908897e49df093081 (diff) | |
download | gtk+-5a815e21591639cf2901d6c8529cf6b6bba54ab4.tar.gz |
styleproperty: Add _gtk_style_property_get_initial_value()
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 518a0e42c3..5eade848a0 100644 --- a/gtk/gtkstyleproperty.c +++ b/gtk/gtkstyleproperty.c @@ -2605,6 +2605,14 @@ _gtk_style_property_resolve (const GtkStyleProperty *property, g_value_copy (val, val_out); } +const GValue * +_gtk_style_property_get_initial_value (const GtkStyleProperty *property) +{ + g_return_val_if_fail (property != NULL, NULL); + + return &property->initial_value; +} + gboolean _gtk_style_property_is_shorthand (const GtkStyleProperty *property) { |