comparison plugins/yay/yay.c @ 1351:3c7ccd2fd4b0

[gaim-migrate @ 1361] bleargh. this should solve problems. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 22 Dec 2000 02:09:39 +0000
parents 4c5c2fcb83cd
children 567758889707
comparison
equal deleted inserted replaced
1350:2185d9011ec0 1351:3c7ccd2fd4b0
280 static void yahoo_close(struct gaim_connection *gc) { 280 static void yahoo_close(struct gaim_connection *gc) {
281 struct yahoo_data *yd = (struct yahoo_data *)gc->proto_data; 281 struct yahoo_data *yd = (struct yahoo_data *)gc->proto_data;
282 if (gc->inpa) 282 if (gc->inpa)
283 gdk_input_remove(gc->inpa); 283 gdk_input_remove(gc->inpa);
284 gc->inpa = -1; 284 gc->inpa = -1;
285 yahoo_cmd_logoff(yd->ctxt); 285 if (yd->ctxt)
286 yahoo_cmd_logoff(yd->ctxt);
286 g_hash_table_foreach_remove(yd->hash, yahoo_destroy_hash, NULL); 287 g_hash_table_foreach_remove(yd->hash, yahoo_destroy_hash, NULL);
287 g_hash_table_destroy(yd->hash); 288 g_hash_table_destroy(yd->hash);
288 g_free(yd); 289 g_free(yd);
289 } 290 }
290 291