From d36c93b91bad5bcb5fe0ac208c308a96e4851764 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 19 Dec 2015 11:22:18 -0500 Subject: [PATCH] expander: Fix drawing in rtl GtkBuiltinIcon leaves the cairo context in unclean state when drawing, work around that. --- gtk/gtkexpander.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c index fdeb634107..f3f6a00875 100644 --- a/gtk/gtkexpander.c +++ b/gtk/gtkexpander.c @@ -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); }