diff options
author | Benjamin Otte <otte@redhat.com> | 2012-11-25 15:31:59 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-11-25 15:31:59 +0100 |
commit | f204473ee0d3c629cd15591bf296db08b003a16a (patch) | |
tree | 009a0c0e20920f684c232f03cbb7c1f860819915 /gtk/gtkcssinitialvalueprivate.h | |
parent | 2ab65ef771616e427db6417815359229faa0beb9 (diff) | |
download | gtk+-f204473ee0d3c629cd15591bf296db08b003a16a.tar.gz |
cssvalue: Add _gtk_css_initial_value_get()
... so we don't bump a refcount whenever we get the initial singleton.
We want to use this function instead of
_gtk_css_style_property_get_initial_value() everywhere where we compute
values, because some initial values may depend on settings soon.
Diffstat (limited to 'gtk/gtkcssinitialvalueprivate.h')
-rw-r--r-- | gtk/gtkcssinitialvalueprivate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcssinitialvalueprivate.h b/gtk/gtkcssinitialvalueprivate.h index cee931034b..185e1be177 100644 --- a/gtk/gtkcssinitialvalueprivate.h +++ b/gtk/gtkcssinitialvalueprivate.h @@ -25,6 +25,7 @@ G_BEGIN_DECLS GtkCssValue * _gtk_css_initial_value_new (void); +GtkCssValue * _gtk_css_initial_value_get (void); G_END_DECLS |