classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] [Patch] throw user-understandable expception when cairo sup


From: Michael Koch
Subject: [cp-patches] [Patch] throw user-understandable expception when cairo support is missing
Date: Tue, 8 Feb 2005 18:55:55 -0600
User-agent: Mutt/1.5.6+20040907i

Hi list,


I commited the attached patch to throw an exception the actually tells
the user that cairo support is missing when it was not compiled with
cairo support and -Dgnu.java.awt.peer.gtk.Graphics=Graphics2D was used.


Michael


2005-02-08  Michael Koch  <address@hidden>

        * configure.ac: Define substition variable GTK_CAIRO_ENABLED.
        Fix handling of GTK_CAIRO conditional.
        * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED):
        New constant.
        * gnu/java/awt/peer/gtk/GdkGraphics2D.java (static):
        Throw error when Cairo support was not enabled during configure time.

Attachment: gtk.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]