Bugfix: call G-VALUE-ZERO instead of G-VALUE-UNSET on freshly allocated gvalues
[cl-gtk2.git] / 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)