summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/collections.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/collections.c b/src/core/collections.c
index 80d2ae3..c867d57 100644
--- a/src/core/collections.c
+++ b/src/core/collections.c
@@ -109,7 +109,7 @@ bool load_hard_coded_collection_definitions(void)
* afin de garder la correspondance entre les identifiants.
*/
- id = register_collection_type(G_TYPE_DB_BOOKMARK, create_bookmark_db_table);
+ id = register_collection_type(G_TYPE_BM_COLLECTION, create_bookmark_db_table);
assert(id == DBF_BOOKMARKS);
return true;
@@ -164,7 +164,8 @@ GList *create_collections_list(void)
for (i = 0; i < _collection_definitions_count; i++)
{
def = &_collection_definitions[i];
- collec = g_db_collection_new(i, def->items, "Bookmarks");
+ //collec = g_db_collection_new(i, def->items, "Bookmarks");
+ collec = g_object_new(def->items, NULL);
result = g_list_append(result, collec);