pidgin/plugins/perl/common/GtkSound.xs

Sun, 15 Feb 2009 22:52:47 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Sun, 15 Feb 2009 22:52:47 +0000
changeset 25616
7ffb51d133a4
parent 15899
75f0041f72b8
child 18068
b6554e3c8224
permissions
-rw-r--r--

Set a NULL statusline and CurrentMedia if the UBX returns an empty payload,
instead of trying to parse the empty text. If only users wouldn't freak out
just because they see the word "error"...

Fixes #8348.

#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