X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/bba7e2d90c17a0bdb8f7c3519faa595bb9cb85f3..4b8ed5d8fa92b43a08b774abd5b75e3819e0e95d:/gtk/gtkobject.lisp diff --git a/gtk/gtkobject.lisp b/gtk/gtkobject.lisp index 31cbe9f..09e1746 100644 --- a/gtk/gtkobject.lisp +++ b/gtk/gtkobject.lisp @@ -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: gtkobject.lisp,v 1.28 2006/02/03 12:47:00 espen Exp $ +;; $Id: gtkobject.lisp,v 1.30 2006/02/08 21:57:26 espen Exp $ (in-package "GTK") @@ -60,7 +60,7 @@ (defmethod initialize-instance :around ((object %object) &rest initargs) (call-next-method) ;; Add a temorary reference which will be removed when the object is ;; sinked - (reference-foreign (class-of object) (proxy-location object)) + (reference-foreign (class-of object) (foreign-location object)) (%object-sink object)) (defbinding %object-sink () nil @@ -128,6 +128,8 @@ (defmethod compute-effective-slot-definition-initargs ((class child-class) direc (if (eq (most-specific-slot-value direct-slotds 'allocation) :property) (nconc (list :pname (most-specific-slot-value direct-slotds 'pname)) + ;; Need this to prevent type type expansion in SBCL (>= 0.9.8) + (list :type (most-specific-slot-value direct-slotds 'type)) (call-next-method)) (call-next-method)))