Top | ![]() |
![]() |
![]() |
![]() |
ThunarVfsUserManager *
thunar_vfs_user_manager_get_default (void
);
Returns the default ThunarVfsUserManager instance, which is shared
by all modules using the user module. Call g_object_unref()
on the
returned object when you are done with it.
ThunarVfsGroup * thunar_vfs_user_manager_get_group_by_id (ThunarVfsUserManager *manager
,ThunarVfsGroupId id
);
Looks up the ThunarVfsGroup corresponding to id
in manager
. Returns
NULL
if manager
is unable to determine the ThunarVfsGroup for id
,
else a pointer to the corresponding ThunarVfsGroup. The caller is
responsible for freeing the returned object using g_object_unref()
.
ThunarVfsUser * thunar_vfs_user_manager_get_user_by_id (ThunarVfsUserManager *manager
,ThunarVfsUserId id
);
Looks up the ThunarVfsUser corresponding to id
in manager
. Returns
NULL
if manager
is unable to determine the ThunarVfsUser for id
,
else a pointer to the corresponding ThunarVfsUser. The caller is
responsible for freeing the returned object using g_object_unref()
.
GList *
thunar_vfs_user_manager_get_all_groups
(ThunarVfsUserManager *manager
);
Returns the list of all ThunarVfsGroups in the system
that are known to the manager
.
The caller is responsible to free the returned list using:
1 2 |
g_list_foreach (list, (GFunc) g_object_unref, NULL); g_list_free (list); |