summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2013-06-06 22:20:57 +0100
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2013-06-06 22:20:57 +0100
commit7a9b07951a9460b1c221582232daea8a45e077ee (patch)
treeebb82f414a4f897b8bfee9124d25faad8745d244
parent43623e3a6303cc6201f0ebfd151841a2f69b5c11 (diff)
downloadclasspath-7a9b07951a9460b1c221582232daea8a45e077ee.tar.gz
Make resources for AicasGraphicsBenchmark example work within the examples zip.
2013-06-06 Andrew John Hughes <gnu_andrew@member.fsf.org> * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java: (AicasGraphicsBenchmark()): Use absolute paths to resources so they work within the zip file. Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
-rw-r--r--ChangeLog6
-rw-r--r--examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 701d4297a..8ea8e7218 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2013-06-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
+ * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
+ (AicasGraphicsBenchmark()): Use absolute paths
+ to resources so they work within the zip file.
+
+2013-06-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
* native/jni/gstreamer-peer/gst_classpath_src.c:
Define GLIB_DISABLE_DEPRECATION_WARNINGS so
the use of GStaticRecMutex in GStreamer still works.
diff --git a/examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java b/examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java
index 20cd5926e..4903b2ed1 100644
--- a/examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java
+++ b/examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java
@@ -100,8 +100,8 @@ public class AicasGraphicsBenchmark extends Panel
public AicasGraphicsBenchmark()
{
- pngTestImage = loadImage("../icons/aicas.png");
- gifTestImage = loadImage("../icons/palme.gif");
+ pngTestImage = loadImage("/gnu/classpath/examples/icons/aicas.png");
+ gifTestImage = loadImage("/gnu/classpath/examples/icons/palme.gif");
setLayout(new BorderLayout());
testLabel = new Label();