Mercurial > pidgin.yaz
comparison src/gtkroomlist.c @ 9159:31be05742be9
[gaim-migrate @ 9943]
datallah tells me this fixes a crash for getting the list for IRC.
I don't see how, but I don't object to this sanity check either.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Tue, 01 Jun 2004 19:06:00 +0000 |
parents | 1f2bbb359adb |
children | 03be9d653123 |
comparison
equal
deleted
inserted
replaced
9158:c30d81b4dd22 | 9159:31be05742be9 |
---|---|
114 gtk_widget_destroy(rl->tree); | 114 gtk_widget_destroy(rl->tree); |
115 gaim_roomlist_unref(dialog->roomlist); | 115 gaim_roomlist_unref(dialog->roomlist); |
116 } | 116 } |
117 | 117 |
118 dialog->roomlist = gaim_roomlist_get_list(gc); | 118 dialog->roomlist = gaim_roomlist_get_list(gc); |
119 if (!dialog->roomlist) | |
120 return; | |
119 gaim_roomlist_ref(dialog->roomlist); | 121 gaim_roomlist_ref(dialog->roomlist); |
120 rl = dialog->roomlist->ui_data; | 122 rl = dialog->roomlist->ui_data; |
121 rl->dialog = dialog; | 123 rl->dialog = dialog; |
122 | 124 |
123 if (dialog->account_widget) | 125 if (dialog->account_widget) |