chiark / gitweb /
Initial checkin
[clg] / gtk / gtk.lisp
index 722584a154365e6d924f0a2ad78502fb6ba810a5..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.46 2005-10-21 12:32:29 espen Exp $
+;; $Id: gtk.lisp,v 1.48 2006-02-04 12:17:45 espen Exp $
 
 
 (in-package "GTK")
@@ -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)))