Bugfix: call G-VALUE-ZERO instead of G-VALUE-UNSET on freshly allocated gvalues
authormathrick <mathrick@hatsumi.(none)>
Thu, 7 Jan 2010 19:54:02 +0000 (20:54 +0100)
committermathrick <mathrick@hatsumi.(none)>
Thu, 7 Jan 2010 19:54:02 +0000 (20:54 +0100)
in GTK child property getters.

gtk/gtk.child-properties.lisp

index ea930b0..8930e97 100644 (file)
@@ -27,7 +27,7 @@
 
 (defun container-call-get-property (container child property-name type)
   (with-foreign-object (gvalue 'g-value)
-    (g-value-unset gvalue)
+    (g-value-zero gvalue)
     (g-value-init gvalue (ensure-g-type type))
     (gtk-container-child-get-property container child property-name gvalue)
     (prog1 (parse-g-value gvalue)