From 82a9fc4abbb482ba00c5c5bb1b29148fa3df062b Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 2 Nov 2024 22:03:06 +0100 Subject: [PATCH] Remove unused tabbed-changed callback --- libs/widgets/tabbable.cc | 5 ----- libs/widgets/widgets/tabbable.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/libs/widgets/tabbable.cc b/libs/widgets/tabbable.cc index b687aeaf3b..72b24756db 100644 --- a/libs/widgets/tabbable.cc +++ b/libs/widgets/tabbable.cc @@ -280,7 +280,6 @@ void Tabbable::detach () { show_own_window (true); - signal_tabbed_changed (false); } void @@ -316,8 +315,6 @@ Tabbable::attach () _parent_notebook->set_tab_reorderable (*_contents); _parent_notebook->set_current_page (_parent_notebook->page_num (*_contents)); - signal_tabbed_changed (true); - _contents->show (); /* have to force this on, which is semantically correct, since @@ -415,7 +412,6 @@ Tabbable::set_state (const XMLNode& node, int version) if (_visible) { show_own_window (true); - signal_tabbed_changed (false); } XMLNodeList children = node.children (); @@ -437,7 +433,6 @@ Tabbable::set_state (const XMLNode& node, int version) } else { /* this does nothing if not tabbed */ hide_tab (); - signal_tabbed_changed (false); } } diff --git a/libs/widgets/widgets/tabbable.h b/libs/widgets/widgets/tabbable.h index f7e0242fe4..a7be3cd8e8 100644 --- a/libs/widgets/widgets/tabbable.h +++ b/libs/widgets/widgets/tabbable.h @@ -100,8 +100,6 @@ protected: bool delete_event_handler (GdkEventAny *ev); - sigc::signal1 signal_tabbed_changed; - /* This is the heirarchy of a Tabbable's widget packing. * The end result is to provide 8(ish) event-boxen where the tab can put its contents * Please maintain the indention here so the hierarchy is visible