expander: Fix drawing in rtl

GtkBuiltinIcon leaves the cairo context in unclean state
when drawing, work around that.
This commit is contained in:
Matthias Clasen 2015-12-19 11:22:18 -05:00
parent 7d801a4f69
commit d36c93b91b

View File

@ -887,7 +887,9 @@ gtk_expander_render_title (GtkCssGadget *gadget,
GtkExpander *expander = GTK_EXPANDER (widget);
GtkExpanderPrivate *priv = expander->priv;
cairo_save (cr);
gtk_css_gadget_draw (priv->arrow_gadget, cr);
cairo_restore (cr);
return gtk_widget_has_visible_focus (widget);
}