summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2003-01-31 16:56:27 +0000
committerTom Tromey <tromey@redhat.com>2003-01-31 16:56:27 +0000
commita1314139baa4e9cd89051573d3bb5a5b556f3b32 (patch)
treea4e35813d9dde45e6be123d7d9e769962a26025d /gnu
parent42170176777628204333d6ea3ac3f4b9c37ed8da (diff)
downloadclasspath-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.java5
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 ()