On Sun, 2010-05-23 at 13:27 -0400, Jim Orcheson wrote: > 2. If I change the problem line to: > sigc::slot<void, Gtk::TreeIter> s = > sigc::ptr_fun(&FontSelector::set_family); > set_cell_data_func(renderer, s); > then I get the following compiler error on the first line: > error: no matching function for call to 'ptr_fun(void > (FontSelector::*)(Gtk::TreeIter))'
Your set_family() is a member function. Surely you should be using sigc::mem_fun(). It's iter method should probably be const & too. -- [email protected] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
