Mercurial > pidgin
comparison src/gtkroomlist.c @ 8287:ef881489396e
[gaim-migrate @ 9011]
Another patch from Scott Lamb to change g_source_remove calls to
gaim_timeout_remove. It also implements gaim_timeout_remove.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 18 Feb 2004 07:43:21 +0000 |
parents | 4e354776ae2a |
children | 77baefe979c6 |
comparison
equal
deleted
inserted
replaced
8286:89d9d004e3f3 | 8287:ef881489396e |
---|---|
77 if (dialog->roomlist && gaim_roomlist_get_in_progress(dialog->roomlist)) | 77 if (dialog->roomlist && gaim_roomlist_get_in_progress(dialog->roomlist)) |
78 gaim_roomlist_cancel_get_list(dialog->roomlist); | 78 gaim_roomlist_cancel_get_list(dialog->roomlist); |
79 | 79 |
80 if (dialog->roomlist) { | 80 if (dialog->roomlist) { |
81 if (dialog->pg_to_active) { | 81 if (dialog->pg_to_active) { |
82 g_source_remove(dialog->pg_update_to); | 82 gaim_timeout_remove(dialog->pg_update_to); |
83 dialog->pg_to_active = FALSE; | 83 dialog->pg_to_active = FALSE; |
84 /* yes, that's right, unref it twice. */ | 84 /* yes, that's right, unref it twice. */ |
85 gaim_roomlist_unref(dialog->roomlist); | 85 gaim_roomlist_unref(dialog->roomlist); |
86 } | 86 } |
87 } | 87 } |