mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-14 19:55:12 +01:00
gvariant: Fix doc for g_variant_new_object_path
The parameter is named 'object_path', not 'string'.
This commit is contained in:
parent
9308f2c353
commit
edb85b99f6
@ -1352,8 +1352,8 @@ g_variant_new_printf (const gchar *format_string,
|
||||
* g_variant_new_object_path:
|
||||
* @object_path: a normal C nul-terminated string
|
||||
*
|
||||
* Creates a D-Bus object path #GVariant with the contents of @string.
|
||||
* @string must be a valid D-Bus object path. Use
|
||||
* Creates a D-Bus object path #GVariant with the contents of @object_path.
|
||||
* @object_path must be a valid D-Bus object path. Use
|
||||
* g_variant_is_object_path() if you're not sure.
|
||||
*
|
||||
* Returns: (transfer none): a floating reference to a new object path #GVariant instance
|
||||
|
Loading…
x
Reference in New Issue
Block a user