src/protocols/oscar/oscar.c

changeset 3059
bd4d661482f5
parent 3048
22ccf641f97b
child 3063
b27e1b7c1775
equal deleted inserted replaced
3058:0e2afe5f3f56 3059:bd4d661482f5
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);

mercurial