[glom/gmenu] Refactor: Remove unused AppWindow::get_ui_manager().



commit f50e5eaed3107dc2d124a2eacda5ee45d66e5b6d
Author: Murray Cumming <murrayc murrayc com>
Date:   Sat Sep 14 11:02:15 2013 +0200

    Refactor: Remove unused AppWindow::get_ui_manager().

 glom/appwindow.cc |    6 ------
 glom/appwindow.h  |    6 ------
 po/POTFILES.in    |    1 -
 3 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/glom/appwindow.cc b/glom/appwindow.cc
index 072d225..9b15f86 100644
--- a/glom/appwindow.cc
+++ b/glom/appwindow.cc
@@ -1384,12 +1384,6 @@ void AppWindow::update_userlevel_ui()
 }
 #endif // !GLOM_ENABLE_CLIENT_ONLY
 
-Glib::RefPtr<Gtk::UIManager> AppWindow::get_ui_manager()
-{
-  return m_refUIManager;
-}
-
-
 bool AppWindow::offer_new_or_existing()
 {
   //Offer to load an existing document, or start a new one.
diff --git a/glom/appwindow.h b/glom/appwindow.h
index e18c49f..e7342cb 100644
--- a/glom/appwindow.h
+++ b/glom/appwindow.h
@@ -76,12 +76,6 @@ public:
    */
   bool init_with_document(const Glib::ustring& document_uri = Glib::ustring(), bool restore = false); 
//override
 
-  //virtual void statusbar_set_text(const Glib::ustring& strText);
-  //virtual void statusbar_clear();
-
-  /// Get the UIManager so we can merge new menus in.
-  Glib::RefPtr<Gtk::UIManager> get_ui_manager();
-
   /** Changes the mode to Data mode, as if the user had selected the Data Mode menu item.
    */
   void set_mode_data();
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 146a269..77d2d23 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -18,7 +18,6 @@ glom/glade_utils.cc
 glom/utils_ui.cc
 glom/onlineglom_strings.cc
 glom/bakery/appwindow.cc
-glom/bakery/appwindow_withdoc_gtk.cc
 glom/bakery/appwindow_withdoc.cc
 glom/bakery/dialog_offersave.cc
 


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