Mercurial > pidgin
diff plugins/timestamp.c @ 4376:2c985a9e994c
[gaim-migrate @ 4642]
The conversations list is no longer public, and shouldn't have been in
aim.c. This should fix some crashes that may have resulted in the notify
and timestamp plugins.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 21 Jan 2003 05:20:10 +0000 |
parents | 5fb47ec9bfe4 |
children | 1f3241831734 |
line wrap: on
line diff
--- a/plugins/timestamp.c Tue Jan 21 05:12:53 2003 +0000 +++ b/plugins/timestamp.c Tue Jan 21 05:20:10 2003 +0000 @@ -26,7 +26,7 @@ char mdate[6]; time_t tim = time(NULL); - if (!g_list_find(conversations, c)) + if (!g_list_find(gaim_get_conversations(), c)) return FALSE; strftime(mdate, sizeof(mdate), "%H:%M", localtime(&tim)); @@ -99,7 +99,7 @@ char *gaim_plugin_init(GModule *h) { - GList *cnvs = conversations; + GList *cnvs = gaim_get_conversations(); struct gaim_conversation *c; handle = h;