pidgin/plugins/perl/common/GtkSound.xs

Sun, 19 Dec 2010 20:30:38 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Sun, 19 Dec 2010 20:30:38 +0000
changeset 31258
1ce5b83274c1
parent 15899
75f0041f72b8
child 18068
b6554e3c8224
permissions
-rw-r--r--

Fix a crash on receiving a file with no preview that I just introduced
with the new functions. The preview pointer/size was left
uninitialized if there wasn't one.

#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()

mercurial