chiark / gitweb /
Using proper function for ref counting
authorespen <espen>
Sun, 24 Mar 2002 13:02:43 +0000 (13:02 +0000)
committerespen <espen>
Sun, 24 Mar 2002 13:02:43 +0000 (13:02 +0000)
gtk/gtkobject.lisp

index b8ba1674586acbf16d8f0d7e6b4a8d295d0d9d0d..676a9587f716461c7c82bb47983346d2b03796b1 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.13 2002/03/19 19:09:18 espen Exp $
+;; $Id: gtkobject.lisp,v 1.14 2002/03/24 13:02:43 espen Exp $
 
 
 (in-package "GTK")
@@ -47,7 +47,7 @@ (defmethod shared-initialize ((object %object) names &rest initargs
                              &allow-other-keys)
   (declare (ignore names))
   (call-next-method)
-  (funcall (proxy-class-copy (class-of object)) nil (proxy-location object)) ; inc ref count before sinking
+  (object-ref object) ; inc ref count before sinking
   (%object-sink object)
   (dolist (signal-definition (get-all initargs :signal))
     (apply #'signal-connect object signal-definition)))