Revision 148434f2c674bfb3937bfd7da3f9d34c43e3e89e

am at adiumx.com am at adiumx.com
Mon Jun 25 16:06:24 EDT 2007


-----------------------------------------------------------------
Revision: 148434f2c674bfb3937bfd7da3f9d34c43e3e89e
Ancestor: e55801db44b83fecc897493327397d7cefaf50dd
Author: am at adiumx.com
Date: 2007-06-25T19:08:16
Branch: im.pidgin.soc.2007.xmpp

Modified files:
        libpurple/plugin.h
        libpurple/protocols/jabber/adhoccommands.c
        libpurple/protocols/jabber/adhoccommands.h
        libpurple/protocols/jabber/disco.c
        libpurple/protocols/jabber/jabber.c
        libpurple/protocols/jabber/jabber.h

ChangeLog: 

The server's ad-hoc commands are now listed in the account's action menu. Note that this requires an additional field in the _PurplePluginAction struct. There's no other way, since there was no way to supply user_data, and dynamically created functions are not supported by C. This should be fine, since that struct is only malloced in purple_plugin_action_new, which is part of the core. Applications have to either pass the struct unmodified, or restore the user_data pointer if the action is recreated when necessary (as is the case in Adium).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 148434f2c674bfb3937bfd7da3f9d34c43e3e89e.diff
Type: text/x-diff
Size: 6275 bytes
Desc: not available
Url : http://pidgin.im/pipermail/commits/attachments/20070625/d2baa08c/attachment.diff 


More information about the Commits mailing list