The accompanying patch is for GTK+ 0.99.7 to remove a fair number (but not
all) of the compiler warnings on an HP-UX 10.20 system with HP's ANSI C
compiler.

X SERVER PATCH REQUIRED

The "dnd" test in "testgtk" may crash if you haven't patched the X Server
supplied with HP-UX.  To fix this, you must apply the "s700_800 Xserver
cumulative patch" (currently PHSS_13516 for HP-UX 10.20, but this may have been
superseded by the time you read this).

Also note that gmake 3.76.1 is needed on HP-UX systems because HP's make
can't handle the generated Makefiles.

Files changed:

* gdk/gdk.c:
 - Add conditional code to support HP-UX 9.X-style select() params.
 - va_arg() is a *macro* in HP-UX, so it's incorrect to attempt to get
   the address via an "&" operator. I've corrected all occurrences to save
   the macro result in a pointer and get the address of the pointer instead.

* gdk/gdkpixmap.c:
 - Third param to gdk_pixmap_read_string() is an (guint *), so cast
   appropriately to avoid compiler warnings.

* glib/gerror.c:
 - Add conditional code to support HP-UX 9.X-style select() params.

* gtk/gtkcombo.c, gtk/gtkentry.c and gtk/gtktext.c:
 - The old chestnut of static void forward declaration vs. void actual
   declaration was fixed - it seems that HP's compiler is one of the few
   to report this cos I see it *so* often in PD source code !

* gtk/gtkcontainer.c:
 - Second param of GtkContainerSignal2 function is a (gpointer), so cast
   appropriately to avoid compiler warning.

* gtk/gtkeditable.c:
 - gtk_selection_data_set() takes a (guchar *) as its 4th param.
 - gtk_editable_insert_text() takes a (char gchar *) as its 2nd param.
 - strlen() takes a (char *) as its param.

* gtk/gtkentry.c:
 - Last param of gtk_editable_insert_text() was cast to a (gint *).

* gtk/gtktext.c:
 - Set text variable to (GtkText *)NULL (it's checked on the RHS further
   down the code without being assigned a value first).

* gtk/gtkwindow.c:
 - Assigned (GtkWindow *)NULL to the "window" variable to keep the HP
   ANSI C compiler quiet (was moaning about a potentially uninitialised
   variable).

* gtk/testgtk.c:
 - Casted type for statusbar->messages when setting up a loop.
 - Second param of gdk_bitmap_create_from_data() should be a (gchar *).

* gtk/testselection.c:
 - The RHS of many assignments (or some function params) had an incorrect
   type, so were cast to (guchar *) to avoid compiler warnings.

Some slightly odd things with testgtk:

You can't close the "button box", "toolbar", "handle box", "dialog",
"rulers", "panes", "shapes", "preview color", "preview gray", "gamma curve"
or "test" windows without either using "Kill window" on your window manager or
exiting testgtk.

Be careful with the "tree" test - don't set "depth level" too high or you'll
eat a load of RAM trying to allocate the tree (surprising there isn't an
upper limit of, say, 4 or 5).

Not sure what the "test" test is supposed to do - it opens up a blank window
and does nothing - maybe that *is* the test !