checkbutton: stop saving cairo state

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

View File

@@ -754,11 +754,7 @@ gtk_check_button_draw_indicator (GtkCheckButton *check_button,
if (class->draw_indicator)
class->draw_indicator (check_button, cr);
else
{
cairo_save (cr);
gtk_css_gadget_draw (priv->indicator_gadget, cr);
cairo_restore (cr);
}
gtk_css_gadget_draw (priv->indicator_gadget, cr);
}
GtkCssNode *