This is a patch for gtk+ 1.2.0 so that it compiles a bit more cleanly
(less warnings with the HP ANSI C compiler) on HP-UX 10.20.

You can find this modified source code and pre-built HP-UX 10.20 binaries
here:

http://hpux.csc.liv.ac.uk/hppd/hpux/X11/Toolkits/gtk+-1.2.0/

Richard K. Lloyd,           E-mail: rkl@connect.org.uk
Connect,                       WWW: http://www.connect.org.uk/
3, Brownlow Street,
Liverpool University,
Merseyside, UK. L69 3GL

Files changed:

* Makefile.in:
  - Delete config.cache during a "make clean".
  - Don't install gtk.m4.
  - Removed redundant .SUFFIXES line.

* gdk/gdk.c and gdk/gdkwindow.c:
  - 7th param of XChangeProperty() is an (unsigned char *).

* gdk/gdkdnd.c and gtk/gtkcontainer.c:
  - Function forward declared as static, but non-static when actually
    defined, so fixed this.

* gdk/gdkim.c:
  - g_strdup() takes a (const gchar *) param.

* gdk/gdkinput.c:
  - Array inside record is of wrong type.

* gdk/gdkpixmap.c:
  - 4th and 5th params of XGetGeometry() are (int *)'s.

* gtk/gtkaccelgroup.c:
  - Assignment expecting (guint *) on RHS.

* gtk/gtkbindings.c, gtk/gtkitemfactory.c and gtk/gtkmenufactory.c:
  - Final param of gtk_accelerator_parse() is a (GdkModifierType*).

* gtk/gtkbutton.c:
  - Cast RHS of assignment to (GtkButton *).

* gtk/gtkcalendar.c:
  - Second param of gtk_object_class_add_signals() takes a (guint *).
  - Last two params of gdk_text_extents() are (gint *)'s.
  - First two params of week_of_year() are (N_int *)'s.

* gtk/gtkcalendar.c, gtk/gtklayout.c, gtk/gtkplug.c and gtk/gtksocket.c:
  - Not only were two fields of a structure assignment cast to the wrong type,
    the final field was actually missing (it's been added as a NULL field).

* gtk/gtkcolorsel.c:
  - Third param of gtk_drag_dest_set() and gtk_drag_source_set() is
    a (GtkTargetEntry *), so added a cast.

* gtk/gtkdnd.c:
  - Final param of gdk_pixmap_colormap_create_from_xpm_d() is a (gchar **).

* gtk/gtkeditable.c:
  - Third param of gtk_selection_add_targets() is a (GtkTargetEntry *).

* gtk/gtkentry.c:
  - new_text_nt is a (guchar *), so fix incorrect cast.
  - Add a (guchar *) cast to later assignment to new_text_nt.
  - gdk_mbstowcs() takes a (const gchar *) as its 2nd param, so duly cast it.
  - mbstr is a (guchar *), so cast a couple of RHS's to that type before
    assigning to that variable.

* gtk/gtkfontsel.c:
  - row_text array is a (gchar *), so cast RHS of an assignment to it.

* gtk/gtkgamma.c:
  - Final param of gdk_pixmap_create_from_xpm_d() is a (gchar **).

* gtk/gtkhandlebox.c:
  - Third and fourth params to gdk_window_get_size() are (gint *)'s.

* gtk/gtkitemfactory.c:
  - Final param of g_scanner_add_symbol() is a (gpointer).

* gtk/gtkmain.c:
  - Final param of g_slist_find() is a (gpointer).
  - data field of a GSList structure is a (gpointer), so cast an assignment.
  - Cast RHS of an assignment to a GtkModuleInitFunc.

* gtk/gtkselection.c:
  - Data field is a (guchar *).

* gtk/gtksignal.c:
  - GHook.func is a (gpointer).
  - Cast assignment to a GtkEmmisionHook variable.

* gtk/gtkstyle.c:
  - GtkStyle.klass is a (GtkStyleClass *).

* gtk/gtktext.c:
  - g_strdup() takes a (const gchar *).
  - gdk_text_width() takes a (const gchar *) as the second param.
  - gdk_draw_text() takes a (const gchar *) as the sixth param.

* gtk/gtktypeutils.c:
  - Second param to g_slist_prepend is a (gpointer).
  - Cast assignment to (GtkClassInitFunc).

* 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/testdnd.c:
  - Cast constant string to (guchar *) to match param type expected.

* gtk/testgtk.c:
  - Second param of gdk_bitmap_create_from_data() should be a (gchar *).
