forked from AuroraMiddleware/gtk
stack: Don't draw an extra background
The gadget draws a background for us, we don't need another one.
This commit is contained in:
parent
07d39299ea
commit
68a54ae81f
@ -2094,16 +2094,8 @@ gtk_stack_render (GtkCssGadget *gadget,
|
||||
GtkWidget *widget = gtk_css_gadget_get_owner (gadget);
|
||||
GtkStack *stack = GTK_STACK (widget);
|
||||
GtkStackPrivate *priv = gtk_stack_get_instance_private (stack);
|
||||
GtkStyleContext *context;
|
||||
cairo_t *pattern_cr;
|
||||
|
||||
context = gtk_widget_get_style_context (widget);
|
||||
gtk_render_background (context,
|
||||
cr,
|
||||
0, 0,
|
||||
gtk_widget_get_allocated_width (widget),
|
||||
gtk_widget_get_allocated_height (widget));
|
||||
|
||||
if (priv->visible_child)
|
||||
{
|
||||
if (gtk_progress_tracker_get_state (&priv->tracker) != GTK_PROGRESS_STATE_AFTER)
|
||||
|
Loading…
Reference in New Issue
Block a user