diff options
Diffstat (limited to 'libjava/gnu/java/awt/peer/gtk/GtkContainerPeer.java')
-rw-r--r-- | libjava/gnu/java/awt/peer/gtk/GtkContainerPeer.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkContainerPeer.java b/libjava/gnu/java/awt/peer/gtk/GtkContainerPeer.java index 32ac02f5abd..8ac927cbae6 100644 --- a/libjava/gnu/java/awt/peer/gtk/GtkContainerPeer.java +++ b/libjava/gnu/java/awt/peer/gtk/GtkContainerPeer.java @@ -107,10 +107,7 @@ public class GtkContainerPeer extends GtkComponentPeer public Graphics getGraphics () { - if (GtkToolkit.useGraphics2D ()) - return new GdkGraphics2D (this); - else - return new GdkGraphics (this); + return super.getGraphics(); } public void beginLayout () { } |