summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-09-17 22:06:54 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-09-17 22:06:54 (GMT)
commit3dc843b3f7991dcd738a30821ff56c7fe13f1094 (patch)
tree22b40ef7cd933a57942bd01d61c9e6a07fdd80c6 /src/gui
parent682159e73cfbf8ec61d2f2aba765be1016a30ded (diff)
Kept tracks of current active DB items.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/panels/bookmarks.c4
-rw-r--r--src/gui/panels/history.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/panels/bookmarks.c b/src/gui/panels/bookmarks.c
index 5fbc2fc..f32f9f5 100644
--- a/src/gui/panels/bookmarks.c
+++ b/src/gui/panels/bookmarks.c
@@ -450,8 +450,8 @@ static void reload_bookmarks_into_treeview(GBookmarksPanel *panel, GLoadedBinary
g_object_ref(G_OBJECT(binary));
collec = g_loaded_binary_find_collection(binary, DBF_BOOKMARKS);
- g_signal_connect_to_main(collec, "content-changed", G_CALLBACK(on_collection_content_changed), panel,
- g_cclosure_user_marshal_VOID__ENUM_OBJECT);
+ //g_signal_connect_to_main(collec, "content-changed", G_CALLBACK(on_collection_content_changed), panel,
+ // g_cclosure_user_marshal_VOID__ENUM_OBJECT);
}
diff --git a/src/gui/panels/history.c b/src/gui/panels/history.c
index 3bdf77e..57e6a14 100644
--- a/src/gui/panels/history.c
+++ b/src/gui/panels/history.c
@@ -350,8 +350,8 @@ static void change_history_panel_current_content(GHistoryPanel *panel, GLoadedCo
}
- g_signal_connect_to_main(collections[k], "content-changed", G_CALLBACK(on_history_changed), panel,
- g_cclosure_user_marshal_VOID__ENUM_OBJECT);
+ //g_signal_connect_to_main(collections[k], "content-changed", G_CALLBACK(on_history_changed), panel,
+ // g_cclosure_user_marshal_VOID__ENUM_OBJECT);
g_object_unref(G_OBJECT(collections[k]));