Mercurial > pidgin.yaz
diff src/buddy.c @ 2131:acc11216ec5d
[gaim-migrate @ 2141]
changing some gtk_timeout stuff to g_timeout (since it's likely that these will be used in core rather than gtk-ui). also fixed a small buddy pounce bug.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Mon, 06 Aug 2001 23:38:48 +0000 |
| parents | af59d854de29 |
| children | a6b9983cead1 |
line wrap: on
line diff
--- a/src/buddy.c Mon Aug 06 21:47:17 2001 +0000 +++ b/src/buddy.c Mon Aug 06 23:38:48 2001 +0000 @@ -1695,7 +1695,7 @@ save_prefs(); } -void do_pounce(char *name, int when) +void do_pounce(struct gaim_connection *gc, char *name, int when) { char *who; @@ -1717,7 +1717,7 @@ if (u == NULL) continue; /* check and see if we're signed on as the pouncer */ - if (u->gc == NULL) continue; + if (u->gc != gc) continue; if (!g_strcasecmp(who, normalize(b->name))) { /* find someone to pounce */ if (b->options & OPT_POUNCE_POPUP) {
