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.
This commit is contained in:
@ -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 *
|
||||
|
Reference in New Issue
Block a user