diff options
Diffstat (limited to 'gtk/gtkstyle.c')
-rw-r--r-- | gtk/gtkstyle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index c27b514a4..10fb2f7e2 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -4560,9 +4560,9 @@ gtk_default_draw_focus (GtkStyle *style, cr = gdk_drawable_create_cairo_context (window); if (detail && !strcmp (detail, "colorwheel_light")) - cairo_set_rgb_color (cr, 0., 0., 0.); + cairo_set_source_rgb (cr, 0., 0., 0.); else if (detail && !strcmp (detail, "colorwheel_dark")) - cairo_set_rgb_color (cr, 1., 1., 1.); + cairo_set_source_rgb (cr, 1., 1., 1.); else gdk_cairo_set_source_color (cr, &style->fg[state_type]); |