[libadwaita/libadwaita-1-1] tab-box: Correctly disconnect single tab style handler
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/libadwaita-1-1] tab-box: Correctly disconnect single tab style handler
- Date: Tue, 23 Aug 2022 15:57:59 +0000 (UTC)
commit d13098f66c56b69f3377d11573e35378267c8203
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Aug 16 22:10:09 2022 +0400
tab-box: Correctly disconnect single tab style handler
(cherry picked from commit c663a87c4bfb55669bcf8067c44ad6c9bc48bbc2)
src/adw-tab-box.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/adw-tab-box.c b/src/adw-tab-box.c
index 011721de..6e9dc41b 100644
--- a/src/adw-tab-box.c
+++ b/src/adw-tab-box.c
@@ -3544,6 +3544,7 @@ adw_tab_box_set_view (AdwTabBox *self,
g_signal_handlers_disconnect_by_func (self->view, page_attached_cb, self);
g_signal_handlers_disconnect_by_func (self->view, page_detached_cb, self);
g_signal_handlers_disconnect_by_func (self->view, page_reordered_cb, self);
+ g_signal_handlers_disconnect_by_func (self->view, update_single_tab_style, self);
if (!self->pinned) {
gtk_widget_remove_controller (GTK_WIDGET (self->view), self->view_drop_target);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]