Was this bug ever resolved? http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326221
I've been trying to declare a slot within a class definition and use the disconnect() and block() functions. They do not prevent signals from calling the associated callback function. However, calling my_slot(i) directly is blocked. For example... class foo : public sigc::trackable { public: foo() { my_slot = sigc::mem_fun(this, &foo::fun); }; ~foo() { my_slot.disconnect(); } sigc::slot<void, int> my_slot; void fun(int i) { std::cout << "i = " << i << '\n'; } }; Is there a better way to accomplish the same concept? Thanks! -Paul _______________________________________________ libsigc-list mailing list libsigc-list@gnome.org http://mail.gnome.org/mailman/listinfo/libsigc-list