gtksheet -2



Me again,
Ok,
I've started writing my app using gtksheet2 and decided that I need
to modify gtksheet2, issues, bits and pieces. 

So some of the questions I might ask may seem simple/straightforward
as I get my confidence up.

ok.
In gtksheet.c in the latest gtkextra-2 cvs version, in the 
create_sheet_entry function, I have come across the line

style = gtk_style_copy(GTK_WIDGET(sheet)->style);

I've noticed that style is not actually used any further in this routine
and noticed that during my memprof I was using memory that was never
getting claimed. (about 752 bytes).

So I've commented this out. This has stopped the allocation of memory
each time it creates a new gtkstyle.

Any comments on this?

Cheers

Joe

-- 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]