**** gtk-trow-980217-0.patch ****

This patch makes two small changes to gdk/gdkdraw.c and gdk/gdk.h:

(1) It adds a gdk_draw_lines function, similar to gdk_draw_points and
    gdk_draw_segments.  I guess this got left out when gdkdraw.c was
    originally written.

(2) If you try to draw an unfilled polygon using gtk_draw_polygon, and if
    the first and last points are not equal, the current implementation
    of gtk_draw_polygon will:

    a) Connect up the points you passed in with XDrawLines.
    b) Connect up the first and last points with XDrawLine.

    That is fine until you try to draw a polygon using thick lines and
    want to have your lines join up nicely... the joins on the last side
    of the polygon is all screwed up.
    
    This patch adds a tiny bit of code to detect this case, allocate
    a new list of points w/ one more entry, copy everything into it,
    and then set the new extra point equal to the first point before
    calling XDrawLines.

    A bit less efficient, but the results are pretty.