*** Underline Patch (#2) for GtkText by Patrick Earl (patearl@pobox.com)

The previous patch I sent in was icky cause it broke the existing API.  This
version no longer breaks things.

This patch is for adding underline to the gtk text widget.  It is based off of
the released gtk+-1.1.6 code.  The only visible change outside of gtktext.c is
the addition of the following:

	gtk_text_insert_underlined (GtkText *text, GdkFont *font, GdkColor *fore, GdkColor *back, char *chars, gint length)

Within the gtktext.c widget, the changes were quite straight-forward and
involved not much more than carefully adding an extra property to the text
that was similar to the other properties.  I'm pretty sure that I didn't
introduce any bugs into the code with this patch, but it was not extensively
tested.  The part of the code that actually draws the line starts one pixel
over from the "real" start of the line... I found that it looked better this
way, but I didn't test it with many fonts.  The code I speak of is around line
4900.

As for the format of the patch, I simply untared gtk+-1.1.6.tar.gz twice,
renamed one copy to gtk+-1.1.6.new, copied the new gtktext.c and .h files into
the new dir, and did a "diff -u -r gtk+-1.1.6/ gtk+-1.1.6.new/"  Since this
is my second time submitting a patch I'm still not sure if this was the best
way to do this, or what would be.  If there is a better way, it would be nice
if I could be made aware of that method :)

Thanks for your time... hope to see underlines in an upcoming release :)

Thanks to the people in #gimp on irc.gimp.org for suggesting the improvements
for this second patch.
