Patch: Generate window events

Mark Wielaard mark@klomp.org
Fri Nov 21 13:38:00 GMT 2003


Hi,

On Fri, 2003-11-07 at 00:03, Bryce McKinlay wrote:
> On Nov 1, 2003, at 3:18 AM, Mark Wielaard wrote:
> > This uses GdkDisplay which isn't available in GTK+ pre 2.2.
> > GTK+ 2.2 is now about 9 months old. I am not sure how many people will
> > have it. When I compiled Classpath on an old Debian (stable) release
> > which comes with gtk+ 2.0.2, I didn't get a configure failure, but a
> > compile error.
> 
> Its quite reasonable to target the latest stable release, especially 
> given that the AWT is still in development and the current releases 
> will no doubt be "mainstream" by the time its done. Of course, version 
> errors should be detected at configure time:

I think the patch below should go in. I did the same for Classpath.

> diff -u -r1.173 configure.in
> --- configure.in        22 Oct 2003 16:35:15 -0000      1.173
> +++ configure.in        6 Nov 2003 23:02:28 -0000
> @@ -835,8 +835,8 @@
> 
>      # Test for Gtk stuff, if asked for.
>      if test "$use_gtk_awt" = yes; then
> -      AM_PATH_GTK_2_0(2.0.0,,exit 1)
> -      AM_PATH_GLIB_2_0(2.0.0,,exit 1,gthread)
> +      AM_PATH_GTK_2_0(2.2.0,,exit 1)
> +      AM_PATH_GLIB_2_0(2.2.0,,exit 1,gthread)
>         dnl XXX Fix me when libart.m4 has the compile test fixed!
>         enable_libarttest=no
>         AM_PATH_LIBART(2.1.0,,exit 1)

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20031121/482ba980/attachment.sig>


More information about the Java-patches mailing list