forked from AuroraMiddleware/gtk
expander: Fix drawing in rtl
GtkBuiltinIcon leaves the cairo context in unclean state when drawing, work around that.
This commit is contained in:
parent
7d801a4f69
commit
d36c93b91b
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user