diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-09-12 21:44:24 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-09-12 21:44:38 (GMT) |
commit | 682159e73cfbf8ec61d2f2aba765be1016a30ded (patch) | |
tree | 9477af8765263667b20a48c53835aa9b3be73a2a /src/gui/panels | |
parent | 57f6179e22f880bbcff031714e8576cf9bd488ac (diff) |
Extended the Python API for update databases.
Diffstat (limited to 'src/gui/panels')
-rw-r--r-- | src/gui/panels/bookmarks.c | 2 | ||||
-rw-r--r-- | src/gui/panels/history.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/panels/bookmarks.c b/src/gui/panels/bookmarks.c index 112afe9..5fbc2fc 100644 --- a/src/gui/panels/bookmarks.c +++ b/src/gui/panels/bookmarks.c @@ -473,7 +473,7 @@ static void reload_bookmarks_into_treeview(GBookmarksPanel *panel, GLoadedBinary g_db_collection_rlock(collec); - items = g_db_collection_list_items(collec); + items = g_db_collection_get_items(collec); for (b = g_list_first(items); b != NULL; b = g_list_next(b)) { diff --git a/src/gui/panels/history.c b/src/gui/panels/history.c index cfea509..3bdf77e 100644 --- a/src/gui/panels/history.c +++ b/src/gui/panels/history.c @@ -292,7 +292,7 @@ static void change_history_panel_current_content(GHistoryPanel *panel, GLoadedCo if (panel->binary != NULL) { - collections = g_loaded_binary_get_all_collections(panel->binary, &count); + collections = g_loaded_binary_get_collections(panel->binary, &count); for (k = 0; k < count; k++) { @@ -324,13 +324,13 @@ static void change_history_panel_current_content(GHistoryPanel *panel, GLoadedCo /* Actualisation de l'affichage */ - collections = g_loaded_binary_get_all_collections(binary, &count); + collections = g_loaded_binary_get_collections(binary, &count); for (k = 0; k < count; k++) { g_db_collection_rlock(collections[k]); - items = g_db_collection_list_items(collections[k]); + items = g_db_collection_get_items(collections[k]); for (i = g_list_first(items); i != NULL; i = g_list_next(i)) { |