chiark / gitweb /
PROXY-LOCATION renamed to FOREIGN-LOCATION
[clg] / gtk / gtk.lisp
index cba75e959a3a7fc00186c0ae6e631f84f3d6d5d3..8b137ad31344c965f0416846ed8c3b9695f14c10 100644 (file)
@@ -20,7 +20,7 @@
 ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
-;; $Id: gtk.lisp,v 1.45 2005-09-26 21:34:53 espen Exp $
+;; $Id: gtk.lisp,v 1.48 2006-02-04 12:17:45 espen Exp $
 
 
 (in-package "GTK")
@@ -45,7 +45,7 @@ (defun gtk-version ()
       (format nil "Gtk+ v~A.~A.~A" major minor micro))))
 
 (defun clg-version ()
-  "clg CVS version")
+  "clg 0.91 version")
 
 
 ;;;; Initalization
@@ -1294,13 +1294,13 @@ (progn
   (defbinding %window-present () nil
     (window window))
 
-  (defbinding %window-present-with-timestamp () nil
+  (defbinding %window-present-with-time () nil
     (window window)
     (timespamp unsigned-int))
 
   (defun window-present (window &optional timestamp)
     (if timestamp
-       (%window-present-with-timestamp window timestamp)
+       (%window-present-with-time window timestamp)
       (%window-present window))))
 
 (defbinding window-iconify () nil
@@ -2231,7 +2231,7 @@ (defbinding %stock-lookup () boolean
 
 (defun stock-lookup (stock-id)
   (let ((location 
-        (allocate-memory (proxy-instance-size (find-class 'stock-item)))))
+        (allocate-memory (foreign-size (find-class 'stock-item)))))
     (unwind-protect
        (when (%stock-lookup stock-id location)
          (ensure-proxy-instance 'stock-item (%stock-item-copy location)))