From 83c859210e66ffa5e0d7814cb822066c23c1e7bb Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 2 Nov 2011 14:07:41 +0100 Subject: gck: Allow enumerating objects on a session * Add gck_session_enumerate_objects() * This has several advantages such as retrieving attributes during the enumeration, etc. --- gck/gck-modules.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gck/gck-modules.c') diff --git a/gck/gck-modules.c b/gck/gck-modules.c index 0ebd0a6..37518ac 100644 --- a/gck/gck-modules.c +++ b/gck/gck-modules.c @@ -218,7 +218,7 @@ gck_modules_enumerate_objects (GList *modules, uri_data = gck_uri_data_new (); uri_data->attributes = gck_attributes_ref (attrs); - return _gck_enumerator_new (modules, session_options, uri_data); + return _gck_enumerator_new_for_modules (modules, session_options, uri_data); } static GList * @@ -429,5 +429,5 @@ gck_modules_enumerate_uri (GList *modules, return NULL; /* Takes ownership of uri_info */ - return _gck_enumerator_new (modules, session_options, uri_data); + return _gck_enumerator_new_for_modules (modules, session_options, uri_data); } -- cgit v1.2.1