comparison src/prpl.c @ 1530:0b6e4d52de63

[gaim-migrate @ 1540] possible segfault? committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 04 Mar 2001 01:00:08 +0000
parents a054c28735fb
children 3a9f11c9278b
comparison
equal deleted inserted replaced
1529:e2f256502345 1530:0b6e4d52de63
382 if (!protomenu) 382 if (!protomenu)
383 return; 383 return;
384 384
385 l = gtk_container_children(GTK_CONTAINER(protomenu)); 385 l = gtk_container_children(GTK_CONTAINER(protomenu));
386 while (l) { 386 while (l) {
387 gtk_widget_destroy(GTK_WIDGET(l->data)); 387 gtk_container_remove(GTK_CONTAINER(protomenu), GTK_WIDGET(l->data));
388 l = l->next; 388 l = l->next;
389 } 389 }
390 390
391 while (c) { 391 while (c) {
392 gc = c->data; 392 gc = c->data;