[libadwaita/wip/exalm/tab-fix: 14/14] tab-box: Correctly disconnect single tab style handler




commit c663a87c4bfb55669bcf8067c44ad6c9bc48bbc2
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Aug 16 22:10:09 2022 +0400

    tab-box: Correctly disconnect single tab style handler

 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 67bba257..e66ef47d 100644
--- a/src/adw-tab-box.c
+++ b/src/adw-tab-box.c
@@ -3839,6 +3839,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]