summaryrefslogtreecommitdiff
path: root/gnu/java
diff options
context:
space:
mode:
authorFrancis Kung <fkung@redhat.com>2007-04-09 21:34:27 +0000
committerFrancis Kung <fkung@redhat.com>2007-04-09 21:34:27 +0000
commit54ab2274d08f26ca2145e799f7908824c103fab9 (patch)
tree06e0ccc6755487ac0b2c3cba62a544b35c3a1629 /gnu/java
parent716a3ae013bf361efa4348fea76c1ee873258716 (diff)
downloadclasspath-54ab2274d08f26ca2145e799f7908824c103fab9.tar.gz
2007-04-09 Francis Kung <fkung@redhat.com>
PR 31311 * gnu/java/awt/peer/gtk/ComponentGraphics.java (dispose): Removed method. (disposeSurface): Removed method. * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed. (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface after it is used to create a cairo context.
Diffstat (limited to 'gnu/java')
-rw-r--r--gnu/java/awt/peer/gtk/ComponentGraphics.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/gnu/java/awt/peer/gtk/ComponentGraphics.java b/gnu/java/awt/peer/gtk/ComponentGraphics.java
index 7074e0320..4ce20a30d 100644
--- a/gnu/java/awt/peer/gtk/ComponentGraphics.java
+++ b/gnu/java/awt/peer/gtk/ComponentGraphics.java
@@ -151,21 +151,6 @@ public class ComponentGraphics extends CairoGraphics2D
}
/**
- * Destroys the component surface and calls dispose on the cairo
- * graphics2d to destroy any super class resources.
- */
- public void dispose()
- {
- super.dispose();
- disposeSurface(nativePointer);
- }
-
- /**
- * Destroys the component surface.
- */
- private native void disposeSurface(long nativePointer);
-
- /**
* Creates a cairo_t for a volatile image
*/
protected native long initFromVolatile( long pixmapPtr, int width, int height);