Patch: FYI: fix the build

Tom Tromey tromey@redhat.com
Thu Jan 24 08:44:00 GMT 2002


I'm checking this in.

For some reason changing Toolkit didn't cause XToolkit to be rebuilt.
I don't understand that.  Anyway, that lead to a build failure due to
a missing function.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.

Index: gnu/awt/xlib/XToolkit.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/awt/xlib/XToolkit.java,v
retrieving revision 1.1
diff -u -r1.1 XToolkit.java
--- gnu/awt/xlib/XToolkit.java 2000/10/22 17:46:09 1.1
+++ gnu/awt/xlib/XToolkit.java 2002/01/24 16:40:59
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000  Free Software Foundation
+/* Copyright (C) 2000, 2002  Free Software Foundation
 
    This file is part of libgcj.
 
@@ -14,6 +14,7 @@
 import java.awt.image.ImageObserver;
 import java.net.*;
 import java.awt.datatransfer.Clipboard;
+import java.util.Properties;
 
 import gnu.gcj.xlib.Display;
 import gnu.gcj.xlib.Screen;
@@ -292,6 +293,11 @@
     return queue;
   }
     
+  public PrintJob getPrintJob (Frame frame, String title, Properties props)
+  {
+    return null;		// FIXME
+  }
+
   XGraphicsConfiguration getDefaultXGraphicsConfiguration()
   {
     if (defaultConfig == null)



More information about the Java-patches mailing list