After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 524260 - Use sigc::Slots instead of C-style callbacks with void * arguments
Use sigc::Slots instead of C-style callbacks with void * arguments
Status: RESOLVED WONTFIX
Product: libpanelappletmm
Classification: Deprecated
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: libpanelappletmm-maint
libpanelappletmm-maint
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2008-03-25 07:11 UTC by Deng Xiyue
Modified: 2011-07-11 08:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Deng Xiyue 2008-03-25 07:11:16 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.
Comment 1 Murray Cumming 2008-03-25 19:16:23 UTC
Yes. I'd welcome a patch against svn.
Comment 2 Akhil Laddha 2011-07-10 02:30:39 UTC
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
Comment 3 Murray Cumming 2011-07-11 08:30:11 UTC
Anyone is welcome to take over maintainership of libpanelappletmm. But it doesn't seem useful in the GNOME 3 world.