X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/31ce821b69a94ebc1a3f063d88de7a2ecec72a4d..953030a3519ecb9d66d9f55d46f8c8b6906094ed:/glib/gerror.lisp diff --git a/glib/gerror.lisp b/glib/gerror.lisp index ab8934e..18289d1 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.6 2006-04-25 22:01:12 espen Exp $ +;; $Id: gerror.lisp,v 1.9 2007-12-29 19:21:26 espen Exp $ (in-package "GLIB") @@ -30,8 +30,8 @@ (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 @@ (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)))) @@ -100,6 +100,9 @@ (define-condition warning-log-level (log-level) ()) +(define-condition message-log-level (log-level) + ()) + (define-condition info-log-level (log-level) ())