[gtkmm] Gtk::TreeView: Remove GTKMM_HAVE_SIGC_BIND



commit de7fe9d243f7ed49151382b5bb9dc0c605eef2d1
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Wed Oct 18 17:10:03 2017 +0200

    Gtk::TreeView: Remove GTKMM_HAVE_SIGC_BIND
    
    It has been unconditionally defined since February 2005.

 gtk/src/treeview.hg |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/gtk/src/treeview.hg b/gtk/src/treeview.hg
index 6128838..a47247d 100644
--- a/gtk/src/treeview.hg
+++ b/gtk/src/treeview.hg
@@ -855,11 +855,6 @@ int TreeView::append_column(const Glib::ustring& title, const TreeModelColumn<Co
   return append_column(*pViewColumn);
 }
 
-//This is here because sigc::bind once did not work on all platforms, but now it does..
-#define GTKMM_HAVE_SIGC_BIND 1
-
-#ifdef GTKMM_HAVE_SIGC_BIND
-
 template <class ColumnType> inline
 int TreeView::append_column_numeric(const Glib::ustring& title, const TreeModelColumn<ColumnType>& 
model_column, const Glib::ustring& format)
 {
@@ -888,8 +883,6 @@ int TreeView::append_column_numeric(const Glib::ustring& title, const TreeModelC
   return append_column(*pViewColumn);
 }
 
-#endif //GTKMM_HAVE_SIGC_BIND
-
 template <class ColumnType> inline
 int TreeView::append_column_numeric_editable(const Glib::ustring& title, const TreeModelColumn<ColumnType>& 
model_column, const Glib::ustring& format)
 {
@@ -982,8 +975,6 @@ namespace TreeView_Private
 // 'short' is not one of those types. It can be handled only by
 // append_column_numeric<>() and append_column_numeric_editable<>().
 
-#ifdef GTKMM_HAVE_SIGC_BIND
-
 //bool specialization:
 template<> inline
 void _connect_auto_store_editable_signal_handler(Gtk::TreeView* this_p, Gtk::CellRenderer* pCellRenderer, 
const Gtk::TreeModelColumn<bool>& model_column)
@@ -1055,8 +1046,6 @@ void _connect_auto_store_editable_signal_handler(Gtk::TreeView* this_p, Gtk::Cel
   _connect_auto_store_numeric_editable_signal_handler<double>(this_p, pCellRenderer, model_column);
 }
 
-#endif //GTKMM_HAVE_SIGC_BIND
-
 } // namespace TreeView_Private
 #endif //DOXYGEN_SHOULD_SKIP_THIS
 
@@ -1065,8 +1054,6 @@ void _connect_auto_store_editable_signal_handler(Gtk::TreeView* this_p, Gtk::Cel
 namespace TreeView_Private
 {
 
-#ifdef GTKMM_HAVE_SIGC_BIND
-
 template <class ColumnType> inline
 void _connect_auto_store_editable_signal_handler(Gtk::TreeView* this_p, Gtk::CellRenderer* pCellRenderer, 
const Gtk::TreeModelColumn<ColumnType>& model_column)
 {
@@ -1129,8 +1116,6 @@ void _connect_auto_store_numeric_editable_signal_handler(Gtk::TreeView* this_p,
   }
 }
 
-#endif //GTKMM_HAVE_SIGC_BIND
-
 template <class ColumnType> inline
 void _auto_store_on_cellrenderer_text_edited_string(const Glib::ustring& path_string, const Glib::ustring& 
new_text, int model_column, const Glib::RefPtr<Gtk::TreeModel>& model)
 {


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