Make EVCardAttribute/EVCardAttributeParam structures ref-counted internally
in python I cannot run this:
from gi.repository import EDataServer
from gi.repository import EBook
from gi.repository import EBookContacts
vcard = EBookContacts.VCard.new_from_string(
"BEGIN:VCARD\r\nVERSION:2.1\r\nFN:John Doe\r\nEMAIL:john@doe.com\r\nEND:VCARD")
vcard.remove_attribute(vcard.get_attribute("FN"))
attrs = vcard.get_attributes()
len(attrs)
^^ here I have 3 instead of 2
Edited by Milan Crha