From 29c4742383157523a86f384f72faaa47a06ca67b Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 23 Jul 2010 18:27:34 -0400 Subject: [PATCH] [gdmuser] Annotate gdm_list_users() Recently, g-ir-scanner got a little stricter with regard to GSList, marking functions not introspectable if the element type is not annotated. This fixes a visible JS Error by g-ir and gdmuser/gdm-user-manager.c --- src/gdmuser/gdm-user-manager.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gdmuser/gdm-user-manager.c b/src/gdmuser/gdm-user-manager.c index e636b3564..202c24207 100644 --- a/src/gdmuser/gdm-user-manager.c +++ b/src/gdmuser/gdm-user-manager.c @@ -1030,6 +1030,11 @@ listify_hash_values_hfunc (gpointer key, *list = g_slist_prepend (*list, value); } +/** + * gdm_user_manager_list_users: + * + * Return value: (element-type GdmUser) (transfer container): list of #GdmUser elements + */ GSList * gdm_user_manager_list_users (GdmUserManager *manager) {