[balsa/gtk4: 289/312] balsa-message: Pass NULL for the parent




commit ca71c71a7dfac4799f3e79bb1ffe2a7b4f156e99
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 302229cd0..3c7a29290 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]