diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2011-07-12 17:16:55 +1000 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2011-07-12 17:16:55 +1000 |
commit | 4dc994cc56cb5980f6d6d3711c93b06480d7aac8 (patch) | |
tree | 2138f76434be542acb281bc646ec7acae383d84a /liblightdm-gobject/greeter.c | |
parent | e20b86837a8a344bcee56bb130e065ac533e1920 (diff) | |
download | lightdm-4dc994cc56cb5980f6d6d3711c93b06480d7aac8.tar.gz |
Remove complex use of const, fix annotations on list ownership
Diffstat (limited to 'liblightdm-gobject/greeter.c')
-rw-r--r-- | liblightdm-gobject/greeter.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/liblightdm-gobject/greeter.c b/liblightdm-gobject/greeter.c index 6460f3b2..c5789c96 100644 --- a/liblightdm-gobject/greeter.c +++ b/liblightdm-gobject/greeter.c @@ -870,9 +870,9 @@ ldm_greeter_get_num_users (LdmGreeter *greeter) * Get a list of users to present to the user. This list may be a subset of the * available users and may be empty depending on the server configuration. * - * Return value: (element-type LdmUser) (transfer container): A list of #LdmUser that should be presented to the user. + * Return value: (element-type LdmUser) (transfer none): A list of #LdmUser that should be presented to the user. **/ -const GList * +GList * ldm_greeter_get_users (LdmGreeter *greeter) { g_return_val_if_fail (LDM_IS_GREETER (greeter), NULL); @@ -973,9 +973,9 @@ ldm_greeter_get_default_language (LdmGreeter *greeter) * * Get a list of languages to present to the user. * - * Return value: (element-type LdmLanguage): A list of #LdmLanguage that should be presented to the user. + * Return value: (element-type LdmLanguage) (transfer none): A list of #LdmLanguage that should be presented to the user. **/ -const GList * +GList * ldm_greeter_get_languages (LdmGreeter *greeter) { g_return_val_if_fail (LDM_IS_GREETER (greeter), NULL); @@ -1019,9 +1019,9 @@ setup_xkl (LdmGreeter *greeter) * * Get a list of keyboard layouts to present to the user. * - * Return value: (element-type LdmLayout): A list of #LdmLayout that should be presented to the user. + * Return value: (element-type LdmLayout) (transfer none): A list of #LdmLayout that should be presented to the user. **/ -const GList * +GList * ldm_greeter_get_layouts (LdmGreeter *greeter) { XklConfigRegistry *registry; @@ -1171,9 +1171,9 @@ update_sessions (LdmGreeter *greeter) * * Get the available sessions. * - * Return value: (element-type LdmSession): A list of #LdmSession + * Return value: (element-type LdmSession) (transfer none): A list of #LdmSession **/ -const GList * +GList * ldm_greeter_get_sessions (LdmGreeter *greeter) { g_return_val_if_fail (LDM_IS_GREETER (greeter), NULL); |