From 622852b580a04c419cfd3df9461b344f027b8eb2 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 03 Oct 2018 19:09:33 -0400 Subject: MqTabLabel: Only restore normal title if custom title set Otherwise, mq_tab_page_set_title() tries to unblock a WebKitWebView notify::title signal handler that isn't blocked. Fixes: (marquee:...): GLib-GObject-WARNING **: /build/glib2.0-B1uXKV/glib2.0-2.50.3/./gobject/gsignal.c:2602: handler '128' of instance '0x...' is not blocked --- diff --git a/src/tab-label.c b/src/tab-label.c index 4d2a3b8..b677997 100644 --- a/src/tab-label.c +++ b/src/tab-label.c @@ -220,7 +220,7 @@ set_custom_title(MqTabLabel *tab_label, const gchar *title) update_label(tab_label); gtk_widget_set_tooltip_text(GTK_WIDGET(tab_label), title); mq_tab_page_set_title(tab_label->tab_page, title); - } else { + } else if (tab_label->custom_title && tab_label->custom_title[0]) { g_free(tab_label->custom_title); tab_label->custom_title = NULL; if (tab_label->scrolling) { -- cgit v0.9.1