X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/56ccd5b731e30f2d195cefc4cbf0b8640fac2c92..e339200bb4ce98efe8b1d052504e7d781087ede3:/glib/gerror.lisp?ds=sidebyside diff --git a/glib/gerror.lisp b/glib/gerror.lisp index e19063f..5e0f56d 100644 --- a/glib/gerror.lisp +++ b/glib/gerror.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: gerror.lisp,v 1.4 2006-02-19 19:31:14 espen Exp $ +;; $Id: gerror.lisp,v 1.5 2006-02-26 15:30:01 espen Exp $ (in-package "GLIB") @@ -67,9 +67,9 @@ (deftype gerror-signal () 'gerror) -(defmethod from-alien-form (gerror (type (eql 'gerror-signal)) &rest args) - (declare (ignore type args)) - `(let ((gerror ,(from-alien-form gerror 'gerror))) +(define-type-method from-alien-form ((type gerror-signal) gerror) + (declare (ignore type)) + `(let ((gerror ,(from-alien-form 'gerror gerror))) (when gerror (signal-gerror gerror))))