Mon, 08 Jun 2009 02:24:49 +0000
Use the JID for adding a chat/buddy because the name is for descriptive
purpose only, and using it will not fill in the Add Chat dialog correctly.
Because the JID is not visible, the user will not know what to actually put
there instead.
#include "gtkmodule.h" MODULE = Pidgin::Privacy PACKAGE = Pidgin::Privacy PREFIX = pidgin_ PROTOTYPES: ENABLE void pidgin_request_add_permit(account, name) Purple::Account account const char * name void pidgin_request_add_block(account, name) Purple::Account account const char * name MODULE = Pidgin::Privacy PACKAGE = Pidgin::Privacy::Dialog PREFIX = pidgin_privacy_dialog_ PROTOTYPES: ENABLE void pidgin_privacy_dialog_show() void pidgin_privacy_dialog_hide()