stylecontext: Always pass the static style

... to build_properties.
There is always one available, so we can insist on that one.

This simplifies a bunch of code.
This commit is contained in:
Benjamin Otte
2014-10-27 00:25:18 +01:00
parent c7e9489e3e
commit 270e73bfcc
5 changed files with 15 additions and 54 deletions

View File

@ -20,7 +20,7 @@
#include <glib-object.h>
#include "gtk/gtkbitmaskprivate.h"
#include "gtk/gtkcssstyleprivate.h"
#include "gtk/gtkcssstaticstyleprivate.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,
GtkCssStyle *style,
GtkCssStaticStyle *style,
GtkCssStyle *parent_style);
static inline const GtkBitmask *