From 57fab1c2196242db8fb452c98550eef0f5f2de18 Mon Sep 17 00:00:00 2001 From: "Richard A. Hankins" Date: Wed, 19 Jan 2011 15:59:24 +0000 Subject: [PATCH] fix bad DBusMessageIter doc example Bug: https://bugs.freedesktop.org/show_bug.cgi?id=11190 Reviewed-by: Simon McVittie --- dbus/dbus-message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus/dbus-message.c b/dbus/dbus-message.c index b19697e..442ec2a 100644 --- a/dbus/dbus-message.c +++ b/dbus/dbus-message.c @@ -1979,7 +1979,7 @@ dbus_message_iter_next (DBusMessageIter *iter) * #DBUS_TYPE_INVALID. You can thus write a loop as follows: * * @code - * dbus_message_iter_init (&iter); + * dbus_message_iter_init (message, &iter); * while ((current_type = dbus_message_iter_get_arg_type (&iter)) != DBUS_TYPE_INVALID) * dbus_message_iter_next (&iter); * @endcode -- 2.7.4