themingbackground: Use a GtkCssStyle instead of GtkStyleContext

This commit is contained in:
Benjamin Otte
2015-01-17 05:23:00 +01:00
parent 8d94140da9
commit dd2202288a
3 changed files with 37 additions and 37 deletions

View File

@ -500,7 +500,7 @@ gtk_do_render_background (GtkStyleContext *context,
gdouble width,
gdouble height)
{
gtk_theming_background_render (context,
gtk_theming_background_render (gtk_style_context_lookup_style (context),
cr,
x, y,
width, height,
@ -1615,7 +1615,7 @@ gtk_do_render_extension (GtkStyleContext *context,
break;
}
gtk_theming_background_render (context,
gtk_theming_background_render (gtk_style_context_lookup_style (context),
cr,
x, y,
width, height,