GNOME Bugzilla – Bug 679671
Misc fixes for g_dbus_node_info_new_for_xml
Last modified: 2012-07-11 13:22:51 UTC
Please see the attached patches. Nothing serious, just drive-by cleanups.
Created attachment 218404 [details] [review] GDBusNodeInfo: the XML string must contain exactly one node element Make the documentation clear about this.
Created attachment 218405 [details] [review] GDBusNodeInfo: remove a spurious for loop
Review of attachment 218404 [details] [review]: ::: gio/gdbusintrospection.c @@ +1760,3 @@ * parser that only accepts a subset of valid XML documents. * + * The XML data must contain exactly one toplevel <node> element. I think you want <tag class="starttag">node</tag> here, otherwise it will be interpreted as docbook markup, and that won't go well.
Review of attachment 218405 [details] [review]: looks right
Created attachment 218496 [details] [review] GDBusNodeInfo: the XML string must contain exactly one node element -- Ah right, fixed.
Review of attachment 218496 [details] [review]: ok
Comment on attachment 218496 [details] [review] GDBusNodeInfo: the XML string must contain exactly one node element Attachment 218496 [details] pushed as 6f23c33 - GDBusNodeInfo: the XML string must contain exactly one node element
Attachment 218405 [details] pushed as eda1735 - GDBusNodeInfo: remove a spurious for loop