chiark / gitweb /
Removed comment about setting up logical pathname translation
[clg] / glib / gerror.lisp
index 4010ae2a1711e2f1f43c12d2748bb110b0c91d05..18289d149a13cc4445ff016b16f2caae8efa6fa0 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.7 2006-04-28 08:27:22 espen Exp $
+;; $Id: gerror.lisp,v 1.9 2007-12-29 19:21:26 espen Exp $
 
 
 (in-package "GLIB")
@@ -30,8 +30,8 @@ (defclass gerror (struct)
    (code :allocation :alien :type int :reader gerror-code)
    (message :allocation :alien :type string :reader gerror-message))
   (:metaclass struct-class)
-  (:ref gerror-copy)
-  (:unref gerror-free))
+  (:ref %gerror-copy)
+  (:unref %gerror-free))
 
 (defbinding (%gerror-copy "g_error_copy") () pointer
   (location pointer))
@@ -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))))