diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-11-08 20:27:22 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-11-08 21:08:38 -0500 |
commit | 78373eb9f7407202d3ac114764b60d3d81d7cfa4 (patch) | |
tree | 2365b21d33948bdef7f3085ca87b1d81855e14b6 /gtk/gtkrender.c | |
parent | 306b6c6024bc5153ccf5fe5407bea496749842bc (diff) | |
download | gtk+-78373eb9f7407202d3ac114764b60d3d81d7cfa4.tar.gz |
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.
Diffstat (limited to 'gtk/gtkrender.c')
-rw-r--r-- | gtk/gtkrender.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk/gtkrender.c b/gtk/gtkrender.c index 4f986bbf5a..d8abadc85f 100644 --- a/gtk/gtkrender.c +++ b/gtk/gtkrender.c @@ -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); } |