13
0

Remove unused tabbed-changed callback

This commit is contained in:
Robin Gareus 2024-11-02 22:03:06 +01:00
parent 166c446974
commit 82a9fc4abb
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 0 additions and 7 deletions

View File

@ -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);
}
}

View File

@ -100,8 +100,6 @@ protected:
bool delete_event_handler (GdkEventAny *ev);
sigc::signal1<void, bool> 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