summaryrefslogtreecommitdiff
path: root/src/gui/panels/bookmarks.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-12-08 23:27:45 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-12-08 23:27:45 (GMT)
commit70243bca0f6b77c6861a98a014f68f74d7a415fd (patch)
treecf53aba857a32aa5cbf91d192d817f36d6fb0405 /src/gui/panels/bookmarks.c
parentda97f9c3b608a238a5862bd67992f65866e1df4f (diff)
Fixed registered signals for ephemeral panels.
Diffstat (limited to 'src/gui/panels/bookmarks.c')
-rw-r--r--src/gui/panels/bookmarks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/panels/bookmarks.c b/src/gui/panels/bookmarks.c
index b57e657..75d0a85 100644
--- a/src/gui/panels/bookmarks.c
+++ b/src/gui/panels/bookmarks.c
@@ -315,6 +315,8 @@ static void g_bookmarks_panel_init(GBookmarksPanel *panel)
static void g_bookmarks_panel_dispose(GBookmarksPanel *panel)
{
+ change_bookmarks_panel_current_content(panel, NULL, NULL);
+
g_clear_object(&panel->binary);
G_OBJECT_CLASS(g_bookmarks_panel_parent_class)->dispose(G_OBJECT(panel));