aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/awt/xlib/XToolkit.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/awt/xlib/XToolkit.java')
-rw-r--r--libjava/gnu/awt/xlib/XToolkit.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/gnu/awt/xlib/XToolkit.java b/libjava/gnu/awt/xlib/XToolkit.java
index c71b39d..df3a2b6 100644
--- a/libjava/gnu/awt/xlib/XToolkit.java
+++ b/libjava/gnu/awt/xlib/XToolkit.java
@@ -183,7 +183,7 @@ public class XToolkit extends Toolkit
public FontMetrics getFontMetrics(Font font)
{
- return defaultConfig.getXFontMetrics(font);
+ return getDefaultXGraphicsConfiguration().getXFontMetrics(font);
}
public void sync()