summaryrefslogtreecommitdiff
path: root/gtk/gtkrender.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkrender.c')
-rw-r--r--gtk/gtkrender.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkrender.c b/gtk/gtkrender.c
index f395bece97..b702a07cc7 100644
--- a/gtk/gtkrender.c
+++ b/gtk/gtkrender.c
@@ -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,