From b7caeb7adbf9dc14cf3ce6733d100eb35c5d381c Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 12 Jan 2011 20:29:08 +0100 Subject: [PATCH] Fix rendering glitch in menu radiobuttons The arcs needed a new subpath. --- gtk/gtkthemingengine.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c index 4dc889c00e..ac1a462ee6 100644 --- a/gtk/gtkthemingengine.c +++ b/gtk/gtkthemingengine.c @@ -1211,6 +1211,8 @@ gtk_theming_engine_render_option (GtkThemingEngine *engine, if (border_style == GTK_BORDER_STYLE_SOLID) { cairo_set_line_width (cr, border_width); + + cairo_new_sub_path (cr); cairo_arc (cr, x + exterior_size / 2., y + exterior_size / 2., @@ -1266,6 +1268,7 @@ gtk_theming_engine_render_option (GtkThemingEngine *engine, pad = MAX (0, (exterior_size - interior_size) / 2); } + cairo_new_sub_path (cr); cairo_arc (cr, x + pad + interior_size / 2., y + pad + interior_size / 2.,