chiark / gitweb /
Fixed wrong initarg in GLIB-ERROR definition
authorespen <espen>
Sat, 29 Dec 2007 19:21:26 +0000 (19:21 +0000)
committerespen <espen>
Sat, 29 Dec 2007 19:21:26 +0000 (19:21 +0000)
glib/gerror.lisp

index e12edbe5e3d5d33ac987ec731fc743fbbe826719..c690a5ead4bde35c6a034f03003bae02cf1eaa46 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: gerror.lisp,v 1.8 2007/09/07 07:32:26 espen Exp $
+;; $Id: gerror.lisp,v 1.9 2007/12/29 19:21:26 espen Exp $
 
 
 (in-package "GLIB")
@@ -40,7 +40,7 @@ (defbinding (%gerror-free "g_error_free") () nil
   (location pointer))
 
 (define-condition glib-error (error)
-  ((code :initarg :domain :reader gerror-code)
+  ((code :initarg :code :reader gerror-code)
    (message :initarg :message :reader gerror-message))
   (:report (lambda (condition stream)
             (write-string (gerror-message condition) stream))))