[PATCH] libgoffice should doesn't pass correct type to gsf_xml_gvalue_from_str()

gsf_xml_gvalue_from_str() must know the precise type for G_TYPE_ENUM-
and G_TYPE_FLAGS-derived types, and not just its fundamental type. Thus,
goffice shouldn't pass the fundamental type but the actual object type
to gsf_xml_gvalue_from_str(). Otherwise, libgsf can't read enums and
flags from XML files.

Proposed patch attached.

Christian Neumair <cneumair gnome org>

Attachment: goffice-ftype.diff
Description: Text Data

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]