summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-19 18:38:48 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-19 18:38:48 (EST)
commit9efa3b5b1d699d145d81936e8fec6acc2ef850d3 (patch)
tree57467ed9196f90f0363d220fce56a78c76b34443
parente540e2fc65fcbc86c21ae4251c59a88f2bfadae6 (diff)
downloadmarquee-9efa3b5b1d699d145d81936e8fec6acc2ef850d3.zip
marquee-9efa3b5b1d699d145d81936e8fec6acc2ef850d3.tar.gz
marquee-9efa3b5b1d699d145d81936e8fec6acc2ef850d3.tar.bz2
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
-rw-r--r--src/tab-label.c1
1 files changed, 1 insertions, 0 deletions
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);
}