[gtkmm] TreeView: Work around a HP-UX aCC compiler error.



commit c5dd88f3d06173caeb34ede5e6a691aa5ae16219
Author: Albert Chin <thewrittenword.com>
Date:   Tue Mar 13 10:17:06 2012 +0100

    TreeView: Work around a HP-UX aCC compiler error.
    
    * gtk/src/treeview.hg: _connect_auto_store_editable_signal_handler():
    Specify the function pointer more precisely, mentioning the class.
    Bug #586934

 ChangeLog           |    8 ++++++++
 gtk/src/treeview.hg |    2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4c4310c..3787d73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-03-13  Albert Chin <thewrittenword.com>
+
+	TreeView: Work around a HP-UX aCC compiler error.
+
+	* gtk/src/treeview.hg: _connect_auto_store_editable_signal_handler():
+	Specify the function pointer more precisely, mentioning the class.
+	Bug #586934
+
 2012-03-13  Murray Cumming  <murrayc murrayc com>
 
 	RGBA: set_grey(), set_grey_u(): Correct the default alpha values.
diff --git a/gtk/src/treeview.hg b/gtk/src/treeview.hg
index 6927960..263b429 100644
--- a/gtk/src/treeview.hg
+++ b/gtk/src/treeview.hg
@@ -1099,7 +1099,7 @@ void _connect_auto_store_editable_signal_handler(Gtk::TreeView* this_p, Gtk::Cel
 
     //Some compilers (IRIX MipsPro) don't like us to give the pointer to a template function directly to sigc::ptr_fun():
     typedef void (*type_func)(const Glib::ustring&, const Glib::ustring&, int, const Glib::RefPtr<Gtk::TreeModel>&);
-    type_func func = &(_auto_store_on_cellrenderer_text_edited_string<ColumnType>);
+    type_func func = &(Gtk::TreeView_Private::_auto_store_on_cellrenderer_text_edited_string<ColumnType>);
     sigc::slot<void, const Glib::ustring&, const Glib::ustring&, int, const Glib::RefPtr<Gtk::TreeModel>&> theslot  =
       sigc::ptr_fun(func);
 



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