XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL

Brian J. Tarricone bjt23 at cornell.edu
Mon Sep 26 08:57:20 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jasper Huijsmans wrote:
> Brian J. Tarricone schreef:
> ...
> 
>>The problem with using exit(), however, rather than some other means, is
>>that the plugin itself can't catch its own destruction and do something
>>interesting (which may not be a bad thing).
> 
> Which could be 'fixed' by using _after(), right?

It should.  Unless the plugin uses _after() as well, but I think that's
an ok limitation.

>>Really, though, what's wrong with pulling in stdlib.h?  It adds perhaps
>>a couple milliseconds to the build process.
> 
> So, you guys fight it out and tell me what to do, ok? ;-)

Do what I say!  ^_^  I think using g_signal_connect_after() with exit()
is fine.

	-brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDN5vQ6XyW6VEeAnsRAsA7AJ0aIjCvC6vcPunAlWP8k34V09BtzQCgoWo0
3YIACk5ntLnoQSHG0h4MnJA=
=24iL
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list