diff --git a/src/app/browser.cpp b/src/app/browser.cpp index 7e2a333f..73661232 100644 --- a/src/app/browser.cpp +++ b/src/app/browser.cpp @@ -16,8 +16,8 @@ Browser::Browser( browserMain->update(); browserHeader->update( - browserMain->get_current_tab_page_title(), - browserMain->get_current_tab_page_description() + browserMain->get_tab_page_title(), + browserMain->get_tab_page_description() ); } ); diff --git a/src/app/browser/main.cpp b/src/app/browser/main.cpp index cd5b5f55..7a4ba5b7 100644 --- a/src/app/browser/main.cpp +++ b/src/app/browser/main.cpp @@ -112,14 +112,14 @@ void Main::tab_page_navigation_history_forward() }; // Getters -Glib::ustring Main::get_current_tab_page_title() +Glib::ustring Main::get_tab_page_title() { return mainTab->get_page_title( mainTab->get_current_page() ); }; -Glib::ustring Main::get_current_tab_page_description() +Glib::ustring Main::get_tab_page_description() { return mainTab->get_page_description( mainTab->get_current_page() diff --git a/src/app/browser/main.hpp b/src/app/browser/main.hpp index 11c4031c..cfbf8c4d 100644 --- a/src/app/browser/main.hpp +++ b/src/app/browser/main.hpp @@ -50,13 +50,12 @@ namespace app::browser void tab_close(); void tab_page_navigation_reload(); - void tab_page_navigation_history_back(); void tab_page_navigation_history_forward(); // Getters - Glib::ustring get_current_tab_page_title(); - Glib::ustring get_current_tab_page_description(); + Glib::ustring get_tab_page_title(); + Glib::ustring get_tab_page_description(); }; }