[glom] Remove more declared but undefined and unused methods.



commit 2913771436f9567cd64847ac421543e3bdd25ec7
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Mar 15 20:45:37 2016 +0100

    Remove more declared but undefined and unused methods.
    
    Found by IntelliJ CLion inspections.

 glom/mode_design/dialog_database_preferences.h     |    2 --
 .../window_relationships_overview.h                |    1 -
 glom/print_layout/canvas_layout_item.h             |    4 ----
 glom/utility_widgets/adddel/adddel.h               |    5 -----
 .../canvas/canvas_group_resizable.h                |    3 ---
 5 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/glom/mode_design/dialog_database_preferences.h b/glom/mode_design/dialog_database_preferences.h
index 04226bf..483c882 100644
--- a/glom/mode_design/dialog_database_preferences.h
+++ b/glom/mode_design/dialog_database_preferences.h
@@ -47,8 +47,6 @@ public:
 
   Dialog_Database_Preferences(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Builder>& builder);
 
-  std::shared_ptr<SharedConnection> connect_to_server_with_connection_settings() const;
-
   void load_from_document() override;
   void save_to_document() override;
 
diff --git a/glom/mode_design/relationships_overview/window_relationships_overview.h 
b/glom/mode_design/relationships_overview/window_relationships_overview.h
index 6a98b00..480b276 100644
--- a/glom/mode_design/relationships_overview/window_relationships_overview.h
+++ b/glom/mode_design/relationships_overview/window_relationships_overview.h
@@ -59,7 +59,6 @@ private:
   void draw_tables();
   void draw_lines();
   void setup_context_menu();
-  void update_relationships(TableView* table_from);
   void print_or_preview(Gtk::PrintOperationAction print_action);
   void on_button_close();
 
diff --git a/glom/print_layout/canvas_layout_item.h b/glom/print_layout/canvas_layout_item.h
index d7a5a42..b8726fd 100644
--- a/glom/print_layout/canvas_layout_item.h
+++ b/glom/print_layout/canvas_layout_item.h
@@ -51,10 +51,6 @@ public:
 
   static Glib::RefPtr<CanvasLayoutItem> create();
 
-  //Creates a new canvas item, with an appropriate child canvas item,
-  //and sets the position and size of this canvas item to the position in the LayoutItem.
-  static Glib::RefPtr<CanvasLayoutItem> create(const std::shared_ptr<LayoutItem>& layout_item);
-
   std::shared_ptr<LayoutItem> get_layout_item();
 
   //Create an appropriate child canvas item,
diff --git a/glom/utility_widgets/adddel/adddel.h b/glom/utility_widgets/adddel/adddel.h
index 9530d54..a52b866 100644
--- a/glom/utility_widgets/adddel/adddel.h
+++ b/glom/utility_widgets/adddel/adddel.h
@@ -257,11 +257,6 @@ private:
 
   void on_treeview_button_press_event(GdkEventButton* button_event);
 
-  /** Set the menu to popup when the user right-clicks on the column titles.
-   * This method does not take ownership of the Gtk::Menu.
-   */
-  void set_column_header_popup(Gtk::Menu& popup);
-
   bool row_has_duplicates(const Gtk::TreeModel::iterator& iter) const;
   void warn_about_duplicate();
 
diff --git a/glom/utility_widgets/canvas/canvas_group_resizable.h 
b/glom/utility_widgets/canvas/canvas_group_resizable.h
index cfd535a..6c2fd56 100644
--- a/glom/utility_widgets/canvas/canvas_group_resizable.h
+++ b/glom/utility_widgets/canvas/canvas_group_resizable.h
@@ -64,9 +64,6 @@ public:
 
   void set_outline_visible(bool visible = true);
 
-  static double get_outline_stroke_width();
-  static Glib::ustring get_outline_stroke_color();
-
   typedef sigc::signal<void> type_signal_resized;
 
   /// This signal is emitted when the canvas item is resized by the user.


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