Mercurial > pidgin
comparison plugins/mailchk.c @ 2259:866bf3ced1bc
[gaim-migrate @ 2269]
Daniel J Peng submitted this patch
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 10 Sep 2001 18:39:57 +0000 |
parents | c7b288ea3892 |
children | 61b139b6d6d3 |
comparison
equal
deleted
inserted
replaced
2258:a8232c7dafa9 | 2259:866bf3ced1bc |
---|---|
88 timer = gtk_timeout_add(2000, check_timeout, NULL); | 88 timer = gtk_timeout_add(2000, check_timeout, NULL); |
89 } | 89 } |
90 | 90 |
91 static void mail_signoff(struct gaim_connection *gc) | 91 static void mail_signoff(struct gaim_connection *gc) |
92 { | 92 { |
93 if (timer) | 93 if (!blist && timer) { |
94 gtk_timeout_remove(timer); | 94 gtk_timeout_remove(timer); |
95 timer = 0; | 95 timer = 0; |
96 } | |
96 } | 97 } |
97 | 98 |
98 char *gaim_plugin_init(GModule *m) | 99 char *gaim_plugin_init(GModule *m) |
99 { | 100 { |
100 if (!check_timeout(NULL)) | 101 if (!check_timeout(NULL)) |