diff options
author | Tom Tromey <tromey@redhat.com> | 2003-01-31 16:56:27 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2003-01-31 16:56:27 +0000 |
commit | a1314139baa4e9cd89051573d3bb5a5b556f3b32 (patch) | |
tree | a4e35813d9dde45e6be123d7d9e769962a26025d /gnu | |
parent | 42170176777628204333d6ea3ac3f4b9c37ed8da (diff) | |
download | classpath-a1314139baa4e9cd89051573d3bb5a5b556f3b32.tar.gz |
* gnu/java/awt/peer/gtk/GtkToolkit.java (static): Use
INIT_LOAD_LIBRARY.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/java/awt/peer/gtk/GtkToolkit.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/java/awt/peer/gtk/GtkToolkit.java b/gnu/java/awt/peer/gtk/GtkToolkit.java index 7301e7077..a21c1a366 100644 --- a/gnu/java/awt/peer/gtk/GtkToolkit.java +++ b/gnu/java/awt/peer/gtk/GtkToolkit.java @@ -1,5 +1,5 @@ /* GtkToolkit.java -- Implements an AWT Toolkit using GTK for peers - Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2002, 2003 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -69,7 +69,8 @@ public class GtkToolkit extends java.awt.Toolkit static { - System.loadLibrary("gtkpeer"); + if (Configuration.INIT_LOAD_LIBRARY) + System.loadLibrary("gtkpeer"); } public GtkToolkit () |