mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-01 04:28:01 +02:00
fix bad DBusMessageIter doc example
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=11190 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
2bfed4cc54
commit
57fab1c219
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue