summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2016-11-02 21:05:03 +1300
committerRobert Ancell <robert.ancell@canonical.com>2016-11-02 21:05:03 +1300
commit0732143dd25f72b10b3a30d53fcd03acf580ff3c (patch)
tree8d52a8c4a908f64097a7ce78fd2659fc4fe70b46
parente302b4485bde0f00394c59d92c883b94b7e75693 (diff)
downloadlightdm-git-0732143dd25f72b10b3a30d53fcd03acf580ff3c.tar.gz
Annotate a string array is NULL terminated
-rw-r--r--liblightdm-gobject/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblightdm-gobject/user.c b/liblightdm-gobject/user.c
index 9b831bb4..fe52b9cb 100644
--- a/liblightdm-gobject/user.c
+++ b/liblightdm-gobject/user.c
@@ -531,7 +531,7 @@ lightdm_user_get_layout (LightDMUser *user)
*
* Get the configured keyboard layouts for a user.
*
- * Return value: (transfer none): A NULL-terminated array of keyboard layouts for the given user. Copy the values if you want to use them long term.
+ * Return value: (transfer none) (array zero-terminated=1): A NULL-terminated array of keyboard layouts for the given user. Copy the values if you want to use them long term.
**/
const gchar * const *
lightdm_user_get_layouts (LightDMUser *user)