| 3170 percent = va_arg(ap, double); |
3170 percent = va_arg(ap, double); |
| 3171 va_end(ap); |
3171 va_end(ap); |
| 3172 |
3172 |
| 3173 if (!(dim = find_direct_im(od, sn))) |
3173 if (!(dim = find_direct_im(od, sn))) |
| 3174 return 1; |
3174 return 1; |
| 3175 gaim_input_remove(dim->watcher); /* Otherwise, the callback will callback */ |
3175 if (dim->watcher) { |
| |
3176 gaim_input_remove(dim->watcher); /* Otherwise, the callback will callback */ |
| |
3177 dim->watcher = 0; |
| |
3178 } |
| 3176 while (gtk_events_pending()) |
3179 while (gtk_events_pending()) |
| 3177 gtk_main_iteration(); |
3180 gtk_main_iteration(); |
| 3178 |
3181 |
| 3179 if ((c = find_conversation(sn))) |
3182 if ((c = find_conversation(sn))) |
| 3180 update_progress(c, percent); |
3183 update_progress(c, percent); |