chiark / gitweb /
Updated for gtk 2.0
authorespen <espen>
Tue, 19 Mar 2002 19:06:22 +0000 (19:06 +0000)
committerespen <espen>
Tue, 19 Mar 2002 19:06:22 +0000 (19:06 +0000)
gdk/gdktypes.lisp
gtk/gtkobject.lisp
gtk/gtktypes.lisp

index 12d87a76fc9837fc6c36c5629a261d7e87531eef..299c43dfdefa562c81a7c4f97b573a2dbb120bca 100644 (file)
 ;; License along with this library; if not, write to the Free Software
 ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-;; $Id: gdktypes.lisp,v 1.6 2002/01/20 14:14:38 espen Exp $
+;; $Id: gdktypes.lisp,v 1.7 2002/03/19 19:06:22 espen Exp $
 
 (in-package "GDK")
 
 (eval-when (:compile-toplevel :load-toplevel :execute)
-  (init-types-in-library "libgdk-x11-1.3.so")
-  (init-types-in-library "libgdk_pixbuf-1.3.so"))
+  (init-types-in-library "libgdk-x11-2.0.so")
+  (init-types-in-library "libgdk_pixbuf-2.0.so"))
 
 (defclass color (boxed)
   ((pixel
index 7557fc3e76d9a4197fbf1031493887e41ed5a3f2..b8ba1674586acbf16d8f0d7e6b4a8d295d0d9d0d 100644 (file)
@@ -15,7 +15,7 @@
 ;; License along with this library; if not, write to the Free Software
 ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-;; $Id: gtkobject.lisp,v 1.12 2001/11/12 22:33:08 espen Exp $
+;; $Id: gtkobject.lisp,v 1.13 2002/03/19 19:09:18 espen Exp $
 
 
 (in-package "GTK")
@@ -34,7 +34,7 @@ (in-package "GTK")
 ;;;; Superclass for the gtk class hierarchy
 
 (eval-when (:compile-toplevel :load-toplevel :execute)
-  (init-types-in-library "libgtk-x11-1.3.so"
+  (init-types-in-library "libgtk-x11-2.0.so"
    :ignore ("gtk_window_get_type_hint"))
 
   (defclass %object (gobject)
@@ -135,8 +135,15 @@ (defmethod effective-slot-definition-class ((class child-class) initargs)
     (:property (find-class 'effective-child-slot-definition))
     (t (call-next-method))))
 
+(progn
+  (declaim (optimize (ext:inhibit-warnings 3)))
+  (defun %container-child-get-property (parent child pname gvalue))
+  (defun %container-child-set-property (parent child pname gvalue)))
+
+
 (defmethod compute-virtual-slot-accessors
     ((class child-class) (slotd effective-child-slot-definition) direct-slotds)
+
   (with-slots (type) slotd
     (let ((pname (slot-definition-pname (first direct-slotds)))
          (type-number (find-type-number type)))
index 69399c37029b80678cbd3b1c50d5d91f8bee37f8..b8d7d0bed5545f5bffa247ad659861d868412e2a 100644 (file)
@@ -15,7 +15,7 @@
 ;; License along with this library; if not, write to the Free Software
 ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-;; $Id: gtktypes.lisp,v 1.10 2001/12/12 20:24:41 espen Exp $
+;; $Id: gtktypes.lisp,v 1.11 2002/03/19 19:09:18 espen Exp $
 
 
 (in-package "GTK")
@@ -32,7 +32,7 @@ (defclass requisition (boxed)
     :initarg :height
     :type int))
   (:metaclass boxed-class)
-  (:alien-name "GtkRequisition"))
+  (:alien-name "GtkTypeRequisition"))
 
 (defclass border (boxed)
   ((left
@@ -56,7 +56,7 @@ (defclass border (boxed)
     :initarg :bottom
     :type int))
   (:metaclass boxed-class)
-  (:alien-name "GtkBorder"))
+  (:alien-name "GtkTypeBorder"))
 
 (defclass adjustment (%object)
   ((lower