CairoGraphics2D.java: Always loadLibrary gtk-peer.

* gnu/java/awt/peer/gtk/CairoGraphics2D.java: Always loadLibrary
        gtk-peer.
        * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
        * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
        * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Likewise.
        * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
        * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
        * gnu/java/awt/peer/gtk/*.class: Rebuilt.

From-SVN: r139181
This commit is contained in:
Mark Wielaard 2008-08-17 21:42:34 +00:00
parent 0859c412cf
commit 67e88bcd66
14 changed files with 19 additions and 8 deletions

View file

@ -122,7 +122,7 @@ public abstract class CairoGraphics2D extends Graphics2D
{
static
{
if (Configuration.INIT_LOAD_LIBRARY)
if (true) // GCJ LOCAL
{
System.loadLibrary("gtkpeer");
}
@ -2171,4 +2171,4 @@ public abstract class CairoGraphics2D extends Graphics2D
return new Rectangle2D.Double(minX, minY, (maxX - minX), (maxY - minY));
}
}
}

View file

@ -167,7 +167,7 @@ public class GdkFontPeer extends ClasspathFontPeer
static
{
if (Configuration.INIT_LOAD_LIBRARY)
if (true) // GCJ LOCAL
{
System.loadLibrary("gtkpeer");
}

View file

@ -73,7 +73,7 @@ public class GdkGraphicsEnvironment extends ClasspathGraphicsEnvironment
static
{
if (Configuration.INIT_LOAD_LIBRARY)
if (true) // GCJ LOCAL
{
System.loadLibrary("gtkpeer");
}

View file

@ -75,7 +75,7 @@ public class GdkPixbufDecoder extends gnu.java.awt.image.ImageDecoder
{
static
{
if (Configuration.INIT_LOAD_LIBRARY)
if (true) // GCJ LOCAL
{
System.loadLibrary("gtkpeer");
}

View file

@ -99,7 +99,7 @@ class GdkScreenGraphicsDevice extends GraphicsDevice
static
{
if (Configuration.INIT_LOAD_LIBRARY)
if (true) // GCJ LOCAL
{
System.loadLibrary("gtkpeer");
}

View file

@ -172,7 +172,7 @@ public class GtkToolkit extends gnu.java.awt.ClasspathToolkit
static
{
if (Configuration.INIT_LOAD_LIBRARY)
if (true) // GCJ LOCAL
{
System.loadLibrary("gtkpeer");
}