X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/7d04d907f6cd52733178b037410f520d0a31881d..8ac82923ec1f3812c5cd309773d847165949900b:/glib/gtype.lisp diff --git a/glib/gtype.lisp b/glib/gtype.lisp index b14831b..5141a37 100644 --- a/glib/gtype.lisp +++ b/glib/gtype.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: gtype.lisp,v 1.59 2007/01/02 18:39:42 espen Exp $ +;; $Id: gtype.lisp,v 1.60 2007/01/12 10:32:43 espen Exp $ (in-package "GLIB") @@ -368,7 +368,7 @@ ;;;; Superclass for wrapping types in the glib type system (eval-when (:compile-toplevel :load-toplevel :execute) - (defclass ginstance (proxy) + (defclass ginstance (ref-counted-object) (;(class :allocation :alien :type pointer :offset 0) ) (:metaclass proxy-class) @@ -400,12 +400,6 @@ (error "Object at ~A has an unkown type number: ~A" location (%type-number-of-ginstance location))))) -(define-type-method from-alien-form ((type ginstance) form &key (ref :copy)) - (call-next-method type form :ref ref)) - -(define-type-method from-alien-function ((type ginstance) &key (ref :copy)) - (call-next-method type :ref ref)) - ;;;; Registering fundamental types