modelbutton: Stop saving cairo state

GtkBuiltinIcon does this now on its own.
This commit is contained in:
Matthias Clasen 2015-12-20 01:04:59 -05:00
parent 9ac80c2510
commit ea01921d09

View File

@ -998,11 +998,7 @@ gtk_model_button_render (GtkCssGadget *gadget,
button = GTK_MODEL_BUTTON (widget);
if (gtk_css_node_get_visible (gtk_css_gadget_get_node (button->indicator_gadget)))
{
cairo_save (cr);
gtk_css_gadget_draw (button->indicator_gadget, cr);
cairo_restore (cr);
}
gtk_css_gadget_draw (button->indicator_gadget, cr);
child = gtk_bin_get_child (GTK_BIN (widget));
if (child)