Mercurial > pidgin
comparison src/multi.c @ 4111:ee884f1d7ae3
[gaim-migrate @ 4326]
<Robot101> adds a gc->flag called OPT_CONN_AUTO_RESP so that
gc->away can always store the away message even if
the prpl doesn't support autoresponding
<Robot101> makes all protos correctly free and set gc->away to
avoid leaks
<Robot101> stores the current away state in gc->away_state
whenever gc->away is non-NULL (ie it's not just a
plain on-line)
<Robot101> also minor change to Jabber to make Chatty an away
state, and to Gadu-Gadu to make some other thing an
away state too
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Sat, 21 Dec 2002 19:33:54 +0000 |
| parents | 4b04ecb3eb97 |
| children | fa5075168c23 |
comparison
equal
deleted
inserted
replaced
| 4110:64d983d6b7bb | 4111:ee884f1d7ae3 |
|---|---|
| 87 gc->inpa = 0; | 87 gc->inpa = 0; |
| 88 gc->buddy_chats = NULL; | 88 gc->buddy_chats = NULL; |
| 89 gc->groups = NULL; | 89 gc->groups = NULL; |
| 90 gc->permit = NULL; | 90 gc->permit = NULL; |
| 91 gc->deny = NULL; | 91 gc->deny = NULL; |
| 92 gc->away = NULL; | |
| 93 gc->away_state = NULL; | |
| 92 | 94 |
| 93 connections = g_slist_append(connections, gc); | 95 connections = g_slist_append(connections, gc); |
| 94 | 96 |
| 95 user->gc = gc; | 97 user->gc = gc; |
| 96 gc->user = user; | 98 gc->user = user; |
| 132 g = gc->deny; | 134 g = gc->deny; |
| 133 while (g) { | 135 while (g) { |
| 134 g_free(g->data); | 136 g_free(g->data); |
| 135 g = g_slist_remove(g, g->data); | 137 g = g_slist_remove(g, g->data); |
| 136 } | 138 } |
| 139 g_free(gc->away); | |
| 140 g_free(gc->away_state); | |
| 137 g_free(gc); | 141 g_free(gc); |
| 138 | 142 |
| 139 if (!connections && mainwindow) | 143 if (!connections && mainwindow) |
| 140 gtk_widget_show(mainwindow); | 144 gtk_widget_show(mainwindow); |
| 141 } | 145 } |
