[glib] GDBus: Note in docs that g_dbus_node_info_new_for_xml() is using GMarkup



commit 990af4b3725faba230abc6c2e68c112da6f13b41
Author: David Zeuthen <davidz redhat com>
Date:   Tue Dec 6 13:32:12 2011 -0500

    GDBus: Note in docs that g_dbus_node_info_new_for_xml() is using GMarkup
    
    This was discussed in bug 665634.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=665634
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 gio/gdbusintrospection.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gio/gdbusintrospection.c b/gio/gdbusintrospection.c
index ebaf226..702b249 100644
--- a/gio/gdbusintrospection.c
+++ b/gio/gdbusintrospection.c
@@ -1755,6 +1755,10 @@ parser_error (GMarkupParseContext *context,
  *
  * Parses @xml_data and returns a #GDBusNodeInfo representing the data.
  *
+ * Note that this routine is using a
+ * <link linkend="glib-Simple-XML-Subset-Parser.description">GMarkup</link>-based
+ * parser that only accepts a subset of valid XML documents.
+ *
  * Returns: A #GDBusNodeInfo structure or %NULL if @error is set. Free
  * with g_dbus_node_info_unref().
  *



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