view doc/cipher-signals.dox @ 22185:bc2e96c13556

We need to store the img in the hashtable only after we have removed the old one. Otherwise, we end up removing the new img. This fixes a crash when setting the buddyicon from the account specific statusboxes. Some of the prpls unref the img's (a41a12c3718fde3c2e793af5ad8f093942ba2802) without having ref'ed them first. I think fixing that would be a better and more correct solution.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 23 Jan 2008 05:16:39 +0000
parents e0613cf8c493
children
line wrap: on
line source

/** @page cipher-signals Cipher Signals

 @signals
  @signal cipher-added
  @signal cipher-removed
 @endsignals

 @see cipher.h

 <hr>

 @signaldef cipher-added
  @signalproto
void (*cipher_added)(PurpleCipher *cipher);
  @endsignalproto
  @signaldesc
   Emitted when a cipher is added.
  @param cipher The cipher that was added.
 @endsignaldef

 @signaldef cipher-removed
  @signalproto
void (*cipher_removed)(PurpleCipher *cipher);
  @endsignalproto
  @signaldesc
   Emitted when a cipher is removed.
  @param cipher The cipher that was removed.
 @endsignaldef

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