Browse Source

remove extra method

CPP-GTK4
yggverse 3 months ago
parent
commit
e193240d69
  1. 2
      src/app/browser.cpp
  2. 5
      src/app/browser/main.cpp
  3. 2
      src/app/browser/main.hpp
  4. 7
      src/app/browser/main/tab.cpp
  5. 2
      src/app/browser/main/tab.hpp

2
src/app/browser.cpp

@ -226,7 +226,7 @@ Browser::Browser( @@ -226,7 +226,7 @@ Browser::Browser(
signal_close_request().connect(
[this]
{
browserMain->shutdown();
browserMain->save();
// @TODO sqlite3_close(db);

5
src/app/browser/main.cpp

@ -105,11 +105,6 @@ void Main::tab_page_navigation_history_forward() @@ -105,11 +105,6 @@ void Main::tab_page_navigation_history_forward()
);
};
void Main::shutdown()
{
mainTab->shutdown();
}
// Getters
Glib::ustring Main::get_current_tab_page_title()
{

2
src/app/browser/main.hpp

@ -53,8 +53,6 @@ namespace app::browser @@ -53,8 +53,6 @@ namespace app::browser
void tab_page_navigation_history_back();
void tab_page_navigation_history_forward();
void shutdown();
// Getters
Glib::ustring get_current_tab_page_title();
Glib::ustring get_current_tab_page_subtitle();

7
src/app/browser/main/tab.cpp

@ -170,13 +170,6 @@ int Tab::save() @@ -170,13 +170,6 @@ int Tab::save()
return EXEC_STATUS;
}
void Tab::shutdown()
{
save();
// @TODO shutdown children components
}
// Actions
void Tab::refresh(
const int & PAGE_NUMBER

2
src/app/browser/main/tab.hpp

@ -98,8 +98,6 @@ namespace app::browser::main @@ -98,8 +98,6 @@ namespace app::browser::main
int save();
void shutdown();
// Getters
Glib::ustring get_page_title(
const int & PAGE_NUMBER

Loading…
Cancel
Save