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.
| 12737 | 1 | /** @page log-signals Log Signals |
| 2 | ||
| 3 | @signals | |
| 4 | @signal log-timestamp | |
| 5 | @endsignals | |
| 6 | ||
| 7 | <hr> | |
| 8 | ||
| 9 | @signaldef log-timestamp | |
| 10 | @signalproto | |
| 11 | char *(*log_timestamp)(GaimConversation *conv, struct tm *tm); | |
| 12 | @endsignalproto | |
| 13 | @signaldesc | |
| 14 | Emitted to allow plugins to customize the timestamp on a message | |
| 15 | being logged. | |
| 16 | @param log The log the message belongs to. | |
| 17 | @param tm The time to be converted to a string. | |
| 18 | @return A textual representation of the time, or @c NULL to use a | |
| 19 | default format. | |
| 20 | @note Plugins must be careful of logs with a type of GAIM_LOG_SYSTEM. | |
| 21 | @endsignaldef | |
| 22 | ||
| 23 | */ | |
| 24 | // vim: syntax=c tw=75 et |