Index: trunk/src_plugins/hid_gtk3_cairo/gtkhid-cairo.c =================================================================== --- trunk/src_plugins/hid_gtk3_cairo/gtkhid-cairo.c (revision 8835) +++ trunk/src_plugins/hid_gtk3_cairo/gtkhid-cairo.c (revision 8836) @@ -114,7 +114,7 @@ return parsed; } -static void cr_draw_line(cairo_t * cr, int fill, double x1, int y1, int x2, int y2) +static void cr_draw_line(cairo_t * cr, int fill, double x1, double y1, double x2, double y2) { if (cr == NULL) return; @@ -122,9 +122,10 @@ cairo_move_to(cr, x1, y1); cairo_line_to(cr, x2, y2); if (fill) + /*FIXME: What means "fill a line" ? cairo_fill is not appropriate if path is only a line. */ + cairo_fill(cr); + else cairo_stroke(cr); - else - cairo_fill(cr); } /** TODO: Does this function have some specifics in cairo ? or is it general ? */