gui: Remove Tab post_init() function
Nothing uses this anymore. Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
parent
3d89bf2563
commit
5bf861b9f3
|
@ -239,8 +239,7 @@ static void renumber_queues()
|
|||
|
||||
void on_pq_created(Queue *pq, unsigned int num)
|
||||
{
|
||||
QueueTab *tab = new QueueTab(pq, num);
|
||||
tab->on_post_init();
|
||||
new QueueTab(pq, num);
|
||||
}
|
||||
|
||||
static void on_page_reordered(Gtk::Widget *page, int num)
|
||||
|
|
|
@ -219,8 +219,6 @@ void Tab :: tab_ban_selected()
|
|||
*
|
||||
*/
|
||||
|
||||
void Tab :: on_post_init() {}
|
||||
|
||||
bool Tab :: on_key_press_event(const std::string &key)
|
||||
{
|
||||
if (key >= "0" && key <= "9")
|
||||
|
@ -465,10 +463,6 @@ void init_tabs()
|
|||
|
||||
void post_init_tabs()
|
||||
{
|
||||
std::map<Queue *, Tab *>::iterator it;
|
||||
for (it = queue_mapping.begin(); it != queue_mapping.end(); it++)
|
||||
it->second->on_post_init();
|
||||
|
||||
post_init_queue_tabs();
|
||||
|
||||
unsigned int tab = 0;
|
||||
|
|
|
@ -72,7 +72,6 @@ public:
|
|||
/**
|
||||
* internal callback functions that can be overridden if necessary
|
||||
*/
|
||||
virtual void on_post_init();
|
||||
virtual bool on_key_press_event(const std::string &);
|
||||
virtual void on_show_rc_menu();
|
||||
|
||||
|
|
Loading…
Reference in New Issue