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(
signal_close_request().connect( signal_close_request().connect(
[this] [this]
{ {
browserMain->shutdown(); browserMain->save();
// @TODO sqlite3_close(db); // @TODO sqlite3_close(db);

5
src/app/browser/main.cpp

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

2
src/app/browser/main.hpp

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

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

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

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

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

Loading…
Cancel
Save