chiark / gitweb /
New bindings and bug fixes
[clg] / glib / gerror.lisp
index ab8934ea94c0a5b73a423c3d72244eb8146dbb80..69b39e9fcdbae07809cf54187d58a973a8b0b2b7 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.6 2006-04-25 22:01:12 espen Exp $
+;; $Id: gerror.lisp,v 1.8 2007-09-07 07:32: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))
@@ -100,6 +100,9 @@ (define-condition critical-log-level (log-level)
 (define-condition warning-log-level (log-level)
   ())
 
+(define-condition message-log-level (log-level)
+  ())
+
 (define-condition info-log-level (log-level)
   ())