[balsa/gtk4] balsa-index: unparent the popup-menu widget



commit e350ea48d39f8f58e5c48391db7d86de1cadb3b9
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Mon Jan 10 17:23:44 2022 -0500

    balsa-index: unparent the popup-menu widget
    
    in the dispose method.

 src/balsa-index.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/balsa-index.c b/src/balsa-index.c
index 8ae5a3176..2aa32c0cf 100644
--- a/src/balsa-index.c
+++ b/src/balsa-index.c
@@ -260,6 +260,7 @@ bndx_destroy(GObject * obj)
 
     g_clear_object(&bindex->popup_actions);
     g_clear_object(&bindex->popup_menu);
+    g_clear_pointer(&bindex->popup_widget, gtk_widget_unparent);
 
     G_OBJECT_CLASS(balsa_index_parent_class)->dispose(obj);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]