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::Sound PACKAGE = Pidgin::Sound PREFIX = pidgin_sound_ PROTOTYPES: ENABLE const char * pidgin_sound_get_event_option(event) Purple::SoundEventID event const char * pidgin_sound_get_event_label(event) Purple::SoundEventID event Purple::Handle pidgin_sound_get_handle()