diff --git a/src/app/browser/main/tab.cpp b/src/app/browser/main/tab.cpp index 082c4acb..027da2f2 100644 --- a/src/app/browser/main/tab.cpp +++ b/src/app/browser/main/tab.cpp @@ -29,13 +29,13 @@ Tab::~Tab() = default; Glib::ustring Tab::get_page_title( const int & PAGE_NUMBER ) { - return get_tabPage_ptr(PAGE_NUMBER)->get_title(); + return get_tabPage(PAGE_NUMBER)->get_title(); }; Glib::ustring Tab::get_page_subtitle( const int & PAGE_NUMBER ) { - return get_tabPage_ptr(PAGE_NUMBER)->get_subtitle(); + return get_tabPage(PAGE_NUMBER)->get_subtitle(); }; // Actions @@ -101,11 +101,11 @@ void Tab::close_all() void Tab::refresh( const int & PAGE_NUMBER ) { - auto tabPage = get_tabPage_ptr( + auto tabPage = get_tabPage( PAGE_NUMBER ); - get_tabLabel_ptr(PAGE_NUMBER)->set_label( + get_tabLabel(PAGE_NUMBER)->set_label( tabPage->get_title() ); @@ -130,7 +130,7 @@ void Tab::update( } // @TODO // Private helpers -tab::Label * Tab::get_tabLabel_ptr( +tab::Label * Tab::get_tabLabel( const int & PAGE_NUMBER ) { auto pageWidget = get_nth_page( @@ -154,7 +154,7 @@ tab::Label * Tab::get_tabLabel_ptr( return (tab::Label *) labelWidget; } -tab::Page * Tab::get_tabPage_ptr( +tab::Page * Tab::get_tabPage( const int & PAGE_NUMBER ) { auto pageWidget = get_nth_page( diff --git a/src/app/browser/main/tab.hpp b/src/app/browser/main/tab.hpp index 1f963dd1..9c7d3aaf 100644 --- a/src/app/browser/main/tab.hpp +++ b/src/app/browser/main/tab.hpp @@ -18,11 +18,11 @@ namespace app::browser::main const bool REORDERABLE = true; const bool SCROLLABLE = true; - tab::Label * get_tabLabel_ptr( + tab::Label * get_tabLabel( const int & PAGE_NUMBER ); - tab::Page * get_tabPage_ptr( + tab::Page * get_tabPage( const int & PAGE_NUMBER );