[glom/gtkmm4v3: 14/21] gtkmm4: Remove show_all_vfunc() implementations.



commit 70afb627cf691f4232f707d8250436a5c2bfaecb
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Mar 14 09:23:56 2017 +0100

    gtkmm4: Remove show_all_vfunc() implementations.
    
    Gtk::Widget::show_all_vfunc() no longer exists.

 glom/mode_data/box_data_details.cc                |    9 ---------
 glom/mode_data/box_data_details.h                 |    1 -
 glom/mode_data/db_adddel/db_adddel_withbuttons.cc |    9 ---------
 glom/mode_data/db_adddel/db_adddel_withbuttons.h  |    2 --
 glom/utility_widgets/adddel/adddel_withbuttons.cc |   13 -------------
 glom/utility_widgets/adddel/adddel_withbuttons.h  |    2 --
 6 files changed, 0 insertions(+), 36 deletions(-)
---
diff --git a/glom/mode_data/box_data_details.cc b/glom/mode_data/box_data_details.cc
index 3bddecc..c1f7639 100644
--- a/glom/mode_data/box_data_details.cc
+++ b/glom/mode_data/box_data_details.cc
@@ -1005,13 +1005,4 @@ void Box_Data_Details::set_enable_drag_and_drop(bool enabled)
   m_FlowTable.set_enable_drag_and_drop(enabled);
 }
 
-void Box_Data_Details::show_all_vfunc()
-{
-  //Call the base class:
-  Box_Data::show_all_vfunc();
-
-  //Hide some stuff:
-  show_layout_toolbar(m_show_toolbar);
-}
-
 } //namespace Glom
diff --git a/glom/mode_data/box_data_details.h b/glom/mode_data/box_data_details.h
index f6af984..41c0f5c 100644
--- a/glom/mode_data/box_data_details.h
+++ b/glom/mode_data/box_data_details.h
@@ -136,7 +136,6 @@ protected:
 #endif // !GLOM_ENABLE_CLIENT_ONLY
 
   std::shared_ptr<Field> m_field_primary_key;
- void show_all_vfunc() override;
 
   Gnome::Gda::Value m_primary_key_value;
 
diff --git a/glom/mode_data/db_adddel/db_adddel_withbuttons.cc 
b/glom/mode_data/db_adddel/db_adddel_withbuttons.cc
index a1205c9..a47b0a9 100644
--- a/glom/mode_data/db_adddel/db_adddel_withbuttons.cc
+++ b/glom/mode_data/db_adddel/db_adddel_withbuttons.cc
@@ -112,15 +112,6 @@ void DbAddDel_WithButtons::setup_buttons()
   m_ButtonBox.show();
 }
 
-void DbAddDel_WithButtons::show_all_vfunc()
-{
-  //Call the base class:
-  Gtk::Box::show_all_vfunc();
-
-  //Hide some stuff:
-  setup_buttons();
-}
-
 void DbAddDel_WithButtons::set_allow_view_details(bool val)
 {
   DbAddDel::set_allow_view_details(val);
diff --git a/glom/mode_data/db_adddel/db_adddel_withbuttons.h 
b/glom/mode_data/db_adddel/db_adddel_withbuttons.h
index 2281d3e..c1c4bfe 100644
--- a/glom/mode_data/db_adddel/db_adddel_withbuttons.h
+++ b/glom/mode_data/db_adddel/db_adddel_withbuttons.h
@@ -47,8 +47,6 @@ private:
   void on_button_edit();
   void on_selection_changed(bool selection) override;
 
-  void show_all_vfunc() override;
-
   //member widgets:
   Gtk::ButtonBox m_ButtonBox;
 
diff --git a/glom/utility_widgets/adddel/adddel_withbuttons.cc 
b/glom/utility_widgets/adddel/adddel_withbuttons.cc
index c4fa3ca..31e3010 100644
--- a/glom/utility_widgets/adddel/adddel_withbuttons.cc
+++ b/glom/utility_widgets/adddel/adddel_withbuttons.cc
@@ -189,18 +189,5 @@ void AddDel_WithButtons::set_edit_button_label(const Glib::ustring& label)
   m_Button_Edit.set_use_underline();
 }
 
-//We override this so we can avoid showing an empty Extra button:
-void AddDel_WithButtons::show_all_vfunc()
-{
-  //Call the base class:
-  Gtk::Box::show_all_vfunc();
-
-  if(!m_label_extra.empty())
-    m_Button_Extra.show();
-  else
-    m_Button_Extra.hide();
-}
-
-
 } //namespace Glom
 
diff --git a/glom/utility_widgets/adddel/adddel_withbuttons.h 
b/glom/utility_widgets/adddel/adddel_withbuttons.h
index 7c5d467..9e3328f 100644
--- a/glom/utility_widgets/adddel/adddel_withbuttons.h
+++ b/glom/utility_widgets/adddel/adddel_withbuttons.h
@@ -58,8 +58,6 @@ private:
   void on_button_edit();
   void on_button_extra();
 
-  void show_all_vfunc() override;
-
   //member widgets:
   Gtk::ButtonBox m_ButtonBox;
   Gtk::Button m_Button_Add;


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