forked from AuroraMiddleware/gtk
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:
parent
306b6c6024
commit
78373eb9f7
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user