pidgin/gtkconv.c

changeset 33393
ab10a481e30f
parent 33384
215f0b668ac6
child 33394
a9fbe66bccc2
child 33510
8019461267d9
equal deleted inserted replaced
33392:42be492fd74d 33393:ab10a481e30f
10112 } 10112 }
10113 10113
10114 void 10114 void
10115 pidgin_conv_window_destroy(PidginWindow *win) 10115 pidgin_conv_window_destroy(PidginWindow *win)
10116 { 10116 {
10117 PidginConversation *gtkconv;
10118 GList *iter;
10119
10120 if (win->gtkconvs) { 10117 if (win->gtkconvs) {
10121 for (iter = win->gtkconvs; iter != NULL; iter = iter->next) { 10118 GList *iter = win->gtkconvs;
10122 gtkconv = iter->data; 10119 while (iter)
10120 {
10121 PidginConversation *gtkconv = iter->data;
10122 iter = iter->next;
10123 close_conv_cb(NULL, gtkconv); 10123 close_conv_cb(NULL, gtkconv);
10124 } 10124 }
10125 return; 10125 return;
10126 } 10126 }
10127 10127

mercurial