diff options
author | Benjamin Otte <otte@redhat.com> | 2014-10-26 19:38:38 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-01-07 14:26:47 +0100 |
commit | c7e9489e3e9629c394ff3b3de7378bbf09ec92f0 (patch) | |
tree | b917195652f86e8bd6ec675fd47ebbd4b9c81fe7 /gtk/gtkcsslookupprivate.h | |
parent | ac215ffc8fbefe2493c071721d5cf72c916b6bc6 (diff) | |
download | gtk+-c7e9489e3e9629c394ff3b3de7378bbf09ec92f0.tar.gz |
stylecontext: Use a static style when saved
The only style that is animated is the style of the unsaved primary
node. So there's no need to create animated style objects for the other
ones.
There is a bunch of ugliness in the code currently. Further commits are
expected to fix them.
Diffstat (limited to 'gtk/gtkcsslookupprivate.h')
-rw-r--r-- | gtk/gtkcsslookupprivate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcsslookupprivate.h b/gtk/gtkcsslookupprivate.h index 2b53e4ace6..2b0c02105b 100644 --- a/gtk/gtkcsslookupprivate.h +++ b/gtk/gtkcsslookupprivate.h @@ -20,7 +20,7 @@ #include <glib-object.h> #include "gtk/gtkbitmaskprivate.h" -#include "gtk/gtkcssanimatedstyleprivate.h" +#include "gtk/gtkcssstyleprivate.h" #include "gtk/gtkcsssection.h" @@ -51,7 +51,7 @@ void _gtk_css_lookup_set (GtkCssLookup void _gtk_css_lookup_resolve (GtkCssLookup *lookup, GtkStyleProviderPrivate *provider, int scale, - GtkCssAnimatedStyle *style, + GtkCssStyle *style, GtkCssStyle *parent_style); static inline const GtkBitmask * |