problems with connect()
- From: Doug McLain <dougmclain cayf org>
- To: gtkmm <gtkmm-list gnome org>
- Subject: problems with connect()
- Date: Wed, 19 Oct 2005 17:01:54 -0400
Thanks to everyone who has helped me out so far. I'm going to sit down
and do a thorough RTFM of sigc and gtkmm as soon as I get past these
last few hangups, till then hopefully you guys can help me out again:)
model = ListStore::create(columns);
model->signal_rows_reordered().connect (mem_fun (*this,
&RedirectBox::redirects_reordered));
Here's the error:
redirect_box.cc:95: instantiated from here
libs/sigc++2/sigc++/adaptors/adaptor_trait.h:123: error: no match for
call to '(sigc::bound_mem_functor0<void, RedirectBox>) (const
Gtk::TreePath&, const Gtk::TreeIter&, int* const&)'
libs/sigc++2/sigc++/functors/mem_fun.h:1780: note: candidates are:
T_return sigc::bound_mem_functor0<T_return, T_obj>::operator()() const
[with T_return = void, T_obj = RedirectBox]
libs/sigc++2/sigc++/adaptors/adaptor_trait.h:123: error:
return-statement with a value, in function returning 'void'
the original member declaration of redirects_orderered was:
void redirects_reordered (int, int);
I changed it to void redirects_reordered () but it didnt help.
Thanks for any help
Doug
--
http://nostar.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]