Skip to content
Commit 635a7d1b authored by Marien Zwart's avatar Marien Zwart Committed by Martin Pitt
Browse files

Check types in GBoxed assignments

Check if the Python value is GBoxed instead of assuming it is.
Without this, the following segfaults:

from gi.repository import Soup

msg = Soup.Message()
msg.props.uri = 'http://www.gnome.org'

as we assume the new property is a GBoxed while it is actually a
string.

https://bugzilla.gnome.org/show_bug.cgi?id=676603



Co-authored-by: default avatarMartin Pitt <martinpitt@gnome.org>
Signed-off-by: default avatarMartin Pitt <martinpitt@gnome.org>
parent 2305dcd7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment