comparison src/oscar.c @ 971:26354cf6a362

[gaim-migrate @ 981] small stupid fixes committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 11 Oct 2000 01:05:14 +0000
parents f7886476f9d9
children a45991891aba
comparison
equal deleted inserted replaced
970:9eb07b383df4 971:26354cf6a362
316 return gc; 316 return gc;
317 } 317 }
318 318
319 void oscar_close(struct gaim_connection *gc) { 319 void oscar_close(struct gaim_connection *gc) {
320 if (gc->protocol != PROTO_OSCAR) return; 320 if (gc->protocol != PROTO_OSCAR) return;
321 #ifdef USE_APPLET
322 set_user_state(offline);
323 #endif
324 if (gc->inpa > 0) 321 if (gc->inpa > 0)
325 gdk_input_remove(gc->inpa); 322 gdk_input_remove(gc->inpa);
326 gc->inpa = -1; 323 gc->inpa = -1;
327 if (gc->cnpa > 0) 324 if (gc->cnpa > 0)
328 gdk_input_remove(gc->cnpa); 325 gdk_input_remove(gc->cnpa);