[gnome-shell] [gdmuser] Annotate gdm_list_users()
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] [gdmuser] Annotate gdm_list_users()
- Date: Sat, 24 Jul 2010 11:41:26 +0000 (UTC)
commit 29c4742383157523a86f384f72faaa47a06ca67b
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Jul 23 18:27:34 2010 -0400
[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 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/gdmuser/gdm-user-manager.c b/src/gdmuser/gdm-user-manager.c
index e636b35..202c242 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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]