From 9efa3b5b1d699d145d81936e8fec6acc2ef850d3 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 19 Nov 2017 18:38:48 -0500 Subject: MqTabLabel: Hide popover before closing tab Fixes: (marquee:...): Gtk-WARNING **: MqWindow 0x... is mapped but visible child GtkPopover 0x... is not mapped (marquee:...): Gtk-WARNING **: MqWindow 0x... is mapped but visible child GtkPopover 0x... is not mapped --- diff --git a/src/tab-label.c b/src/tab-label.c index 46138eb..b6fd5b9 100644 --- a/src/tab-label.c +++ b/src/tab-label.c @@ -66,6 +66,7 @@ reload_tab_clicked_cb(GtkWidget G_GNUC_UNUSED *button, MqTabLabel *tab_label) static void close_clicked_cb(GtkWidget G_GNUC_UNUSED *button, MqTabLabel *tab_label) { + gtk_widget_hide(tab_label->popover); mq_tab_page_close(tab_label->tab_page); } -- cgit v0.9.1