[glib/glib-2-30] GVariant docs: be clear that the serialisation format isn't the same as D-Bus



commit 82df2070accf1938a5a8de7ef5ad71d47c91a7a4
Author: Simon McVittie <simon mcvittie collabora co uk>
Date:   Wed Oct 13 12:21:22 2010 +0100

    GVariant docs: be clear that the serialisation format isn't the same as D-Bus
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=632049
    Signed-off-by: Simon McVittie <simon mcvittie collabora co uk>
    Reviewed-by: Ryan Lortie <desrt desrt ca>

 glib/gvariant.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/glib/gvariant.c b/glib/gvariant.c
index db6765c..99a0db0 100644
--- a/glib/gvariant.c
+++ b/glib/gvariant.c
@@ -67,7 +67,9 @@
  *
  * #GVariant is largely compatible with D-Bus.  Almost all types of
  * #GVariant instances can be sent over D-Bus.  See #GVariantType for
- * exceptions.
+ * exceptions.  (However, #GVariant's serialisation format is not the same
+ * as the serialisation format of a D-Bus message body: use #GDBusMessage,
+ * in the gio library, for those.)
  *
  * For convenience to C programmers, #GVariant features powerful
  * varargs-based value construction and destruction.  This feature is



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