Don't use a transient node in gtk_render_arrow()

It is not necessary for the users of this API, and causes things
to not work as intended. Without this transient node, styling
"notebook header tabs arrow" has the desired effect on notebook
arrows.
This commit is contained in:
Matthias Clasen 2015-11-08 20:27:22 -05:00
parent 306b6c6024
commit 78373eb9f7

View File

@ -236,12 +236,8 @@ gtk_render_arrow (GtkStyleContext *context,
cairo_save (cr);
cairo_new_path (cr);
gtk_style_context_save (context);
gtk_style_context_add_class (context, GTK_STYLE_CLASS_ARROW);
gtk_do_render_arrow (context, cr, angle, x, y, size);
gtk_style_context_restore (context);
cairo_restore (cr);
}