view doc/sound-signals.dox @ 28533:52eef06b1829

Fix receiving any codecs that aren't in the codec intersection. The g_list_concat docs said that it reused the elements. I misread that as the data in the node, but it appears it means the node itself. Therefore, it shouldn't be freed like I did.
author maiku@pidgin.im
date Wed, 11 Nov 2009 05:40:13 +0000
parents e0613cf8c493
children
line wrap: on
line source

/** @page sound-signals Sound Signals

 @signals
  @signal playing-sound-event
 @endsignals

 @see sound.h

 <hr>

 @signaldef playing-sound-event
  @signalproto
gboolean (*playing_sound_event)(PurpleSoundEventID event, PurpleAccount *account);
  @endsignalproto
  @signaldesc
   Emitted when libpurple is going to play a sound event. This can be used to cancel playing sound by returning TRUE.
  @param event   The event this sound represents.
  @param account The account the sound is being played for.
  @return @c TRUE if the sound should not be played, or @c FALSE otherwise.
 @endsignaldef

 */
// vim: syntax=c.doxygen tw=75 et