Fix wrong cairo path generation. (#437879, Eddie C. Dost)

2007-05-12  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path 
        generation.  (#437879, Eddie C. Dost)


svn path=/trunk/; revision=17831
This commit is contained in:
Behdad Esfahbod 2007-05-12 18:52:36 +00:00 committed by Behdad Esfahbod
parent 401e3fed68
commit 59325686f2
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-05-12 Behdad Esfahbod <behdad@gnome.org>
* gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path
generation. (#437879, Eddie C. Dost)
2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
GtkFileChooser search fixes and recent files support. (#435342)

View File

@ -993,7 +993,7 @@ gdk_draw_trapezoids (GdkDrawable *drawable,
cairo_move_to (cr, trapezoids[i].x11, trapezoids[i].y1);
cairo_line_to (cr, trapezoids[i].x21, trapezoids[i].y1);
cairo_line_to (cr, trapezoids[i].x22, trapezoids[i].y2);
cairo_line_to (cr, trapezoids[i].x21, trapezoids[i].y2);
cairo_line_to (cr, trapezoids[i].x12, trapezoids[i].y2);
cairo_close_path (cr);
}