|
From: Allin C. <cot...@wf...> - 2000-06-29 17:54:01
|
I asked Adrian about this earlier: memprof shows a lot of
leakage after I destroy a window containing an instance of
gtksheet. The setup is (snipping the irrelevant bits):
sheetwin = gtk_window_new(GTK_WINDOW_TOPLEVEL);
main_vbox = gtk_vbox_new(FALSE, 1);
gtk_container_add(GTK_CONTAINER(sheetwin), main_vbox);
scroller = gtk_scrolled_window_new(NULL, NULL);
gtk_box_pack_start(GTK_BOX(main_vbox), scroller,
TRUE, TRUE, 0);
mysheet = gtk_sheet_new(numrows, numcols, title);
gtk_container_add(GTK_CONTAINER(scroller), mysheet);
and "sheetwin" has a close button. On close everything
disappears OK, but memprof shows that all the sheet cell
pointers and titles are still allocated.
Thanks for any help in deallocating this properly.
Allin Cottrell.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
|