Removed duplicate definition
[clg] / gtk / gtk.lisp
index 4696f60..dd3606e 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.50 2006/02/08 15:22:33 espen Exp $
 
 
 (in-package "GTK")
@@ -45,7 +45,7 @@
       (format nil "Gtk+ v~A.~A.~A" major minor micro))))
 
 (defun clg-version ()
-  "clg CVS version")
+  "clg 0.91 version")
 
 
 ;;;; Initalization
   (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
   (window window)
   (left int :out) (top int :out) (rigth int :out) (bottom int :out))
 
-(defbinding %window-get-icon-list () (glist gdk:pixbuf)
+(defbinding %window-get-icon-list () (glist (copy-of gdk:pixbuf))
   (window window))
 
 (defbinding window-get-position () nil
 
 (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)))