[glom] Remove unused method.



commit 7cce9d8b97c38802a9b285be277ec94dd35151f2
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Nov 3 17:47:16 2015 +0100

    Remove unused method.
    
    Though this looks kind of useful, so I just commented it out.

 glom/appwindow.cc |    2 ++
 glom/appwindow.h  |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/glom/appwindow.cc b/glom/appwindow.cc
index 80c9599..10b305d 100644
--- a/glom/appwindow.cc
+++ b/glom/appwindow.cc
@@ -2330,6 +2330,7 @@ Glib::ustring AppWindow::ui_file_select_save(const Glib::ustring& old_file_uri)
   return Glib::ustring();
 }
 
+/*
 void AppWindow::stop_self_hosting_of_document_database()
 {
   auto pDocument = static_cast<Document*>(get_document());
@@ -2342,6 +2343,7 @@ void AppWindow::stop_self_hosting_of_document_database()
     connection_pool->cleanup( sigc::mem_fun(*this, &AppWindow::on_connection_close_progress ));
   }
 }
+*/
 
 void AppWindow::on_menu_developer_changelanguage()
 {
diff --git a/glom/appwindow.h b/glom/appwindow.h
index 559d309..68f83a5 100644
--- a/glom/appwindow.h
+++ b/glom/appwindow.h
@@ -262,7 +262,7 @@ private:
   bool recreate_database_from_backup(const std::string& backup_data_file_path, bool& user_cancelled); 
//return indicates success.
   void on_recreate_database_progress();
 
-  void stop_self_hosting_of_document_database();
+  //void stop_self_hosting_of_document_database();
 
   void on_connection_avahi_begin();
   void on_connection_avahi_progress();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]