diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-02-09 22:07:42 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-02-09 22:07:42 (GMT) |
commit | 1d79469f69bba33a2280d4bd531652b71148029f (patch) | |
tree | e81c094d6e829fb1a79d4c413c1cd162e14868a3 /src/core | |
parent | 8d326041a0379b87e54be44506d544367567e89b (diff) |
Created a dialog box to create new bookmarks.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@468 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/collections.c | 5 |
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); |