projects
/
cl-gtk2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bec27d0
)
Bugfix: call G-VALUE-ZERO instead of G-VALUE-UNSET on freshly allocated gvalues
author
mathrick
<mathrick@hatsumi.(none)>
Thu, 7 Jan 2010 19:54:02 +0000
(20:54 +0100)
committer
mathrick
<mathrick@hatsumi.(none)>
Thu, 7 Jan 2010 19:54:02 +0000
(20:54 +0100)
in GTK child property getters.
gtk/gtk.child-properties.lisp
patch
|
blob
|
history
diff --git
a/gtk/gtk.child-properties.lisp
b/gtk/gtk.child-properties.lisp
index
ea930b0
..
8930e97
100644
(file)
--- 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)