From 2e020c7e9e31a21c440bc3b4f65ac9562ecf852b Mon Sep 17 00:00:00 2001 From: mathrick Date: Thu, 7 Jan 2010 20:54:02 +0100 Subject: [PATCH] Bugfix: call G-VALUE-ZERO instead of G-VALUE-UNSET on freshly allocated gvalues in GTK child property getters. --- gtk/gtk.child-properties.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtk.child-properties.lisp b/gtk/gtk.child-properties.lisp index ea930b0..8930e97 100644 --- a/gtk/gtk.child-properties.lisp +++ b/gtk/gtk.child-properties.lisp @@ -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) -- 1.7.10.4