chiark / gitweb /
Changed to use of settable FOREIGN-LOCATION
[clg] / gtk / gtkobject.lisp
index ef4bd03f7aed62c4412cdbf6030ac3f836898fb8..8c2764480dae41102cfa6bf08a3692fca97d5a79 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: 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)))