GNOME Bugzilla – Bug 524260
Use sigc::Slots instead of C-style callbacks with void * arguments
Last modified: 2011-07-11 08:30:11 UTC
[Forwarded from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346482 which was filed originally by Bas Wijnen <shevek@fmf.nl>] The callbacks which are used for things like setup_menu take a void * like the C version of them. Gtkmm usually uses sigc::Slot for that purpose. This is very useful, because it allows to add extra arguments using sigc::bind. It would be nice if libpanelappletmm would do the same. If this is done, some arguments may be omitted from the function prototype, because they can be passed by the user if it is desired (using sigc::bind) and only make the source unreadable otherwise. This is particularly true for void *applet, because sigc::mem_fun can be used to create the slot. It may also be true for BonoboUIComponent, I'm not sure what that is for.
Yes. I'd welcome a patch against svn.
libpanelappletmm development has been stalled [1]. Maintainers don't have future development plan so i am closing the bugs as WONTFIX. [1] http://mail.gnome.org/archives/desktop-devel-list/2011-June/msg00073.html
Anyone is welcome to take over maintainership of libpanelappletmm. But it doesn't seem useful in the GNOME 3 world.