[balsa/gtk4: 276/286] balsa-message: Pass NULL for the parent




commit ba8b326e9abd8d95c42529f6f789f8bc76bdcd65
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Mon Nov 23 18:07:31 2020 -0500

    balsa-message: Pass NULL for the parent
    
    of the parts popup-menu, because it will be owned by a GtkMenuButton,
    which will set itself as the parent.

 src/balsa-message.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/balsa-message.c b/src/balsa-message.c
index 82574748d..a6d150e30 100644
--- a/src/balsa-message.c
+++ b/src/balsa-message.c
@@ -1745,7 +1745,7 @@ display_content(BalsaMessage * balsa_message)
 
     balsa_message->parts_menu = g_menu_new();
 
-    balsa_message->parts_popup = libbalsa_popup_widget_new(balsa_message->attach_button,
+    balsa_message->parts_popup = libbalsa_popup_widget_new(NULL,
                                                            G_MENU_MODEL(balsa_message->parts_menu),
                                                            "message-menu");
 


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