Sat, 17 Jun 2006 23:22:30 +0000
[gaim-migrate @ 16273]
This fixes a crash when gaim_circ_buffer_destroy is called with a NULL
circular buffer. I'm using g_return_if_fail so it still reports a
warning, because it is possible that the circumstance in question
shouldn't even come up. If that isn't the case, we can make it fail
silently.
| 12053 | 1 | /** @page cipher-signals Cipher Signals |
| 2 | ||
| 3 | @signals | |
| 4 | @signal cipher-added | |
| 5 | @signal cipher-removed | |
| 6 | @endsignals | |
| 7 | ||
| 8 | <hr> | |
| 9 | ||
| 10 | @signaldef cipher-added | |
| 11 | @signalproto | |
| 12 | void (*cipher_added)(GaimCipher *cipher); | |
| 13 | @endsignalproto | |
| 14 | @signaldesc | |
| 15 | Emitted when a cipher is added. | |
| 16 | @param cipher The cipher that was added. | |
| 17 | @endsignaldef | |
| 18 | ||
| 19 | @signaldef cipher-removed | |
| 20 | @signalproto | |
| 21 | void (*cipher_removed)(GaimCipher *cipher); | |
| 22 | @endsignalproto | |
| 23 | @signaldesc | |
| 24 | Emitted when a cipher is removed. | |
| 25 | @param cipher The cipher that was removed. | |
| 26 | @endsignaldef | |
| 27 | ||
| 28 | */ | |
| 29 | // vim: syntax=c tw=75 et |