Commit c1867761 authored by Matthias Clasen's avatar Matthias Clasen

Revert "GtkStack: Render background and chain up gtk_widget_draw ()."

This reverts commit f6695b96.
parent 4ef2f24c
......@@ -1772,14 +1772,8 @@ gtk_stack_draw (GtkWidget *widget,
{
GtkStack *stack = GTK_STACK (widget);
GtkStackPrivate *priv = gtk_stack_get_instance_private (stack);
GtkStyleContext *context;
GtkAllocation allocation;
cairo_t *pattern_cr;
context = gtk_widget_get_style_context (widget);
gtk_widget_get_allocation (widget, &allocation);
gtk_render_background (context, cr, 0, 0, allocation.width, allocation.height);
if (priv->visible_child)
{
if (priv->transition_pos < 1.0)
......@@ -1836,7 +1830,7 @@ gtk_stack_draw (GtkWidget *widget,
cr);
}
return GTK_WIDGET_CLASS (gtk_stack_parent_class)->draw (widget, cr);
return TRUE;
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment