ElAdnan / gtkdialog

Automatically exported from code.google.com/p/gtkdialog
GNU General Public License v2.0
0 stars 0 forks source link

MAXWIDGETS #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
MAXWIDGETS

Currently hardcoded to 529.

The widget pointer array really needs to be dynamically allocated rather than 
the simple fixed size that it currently is. A GList linked-list is the solution 
and a priority since I'm writing something that uses a lot of widgets and I 
have to think about the limit which is silly.

Original issue reported on code.google.com by thunor...@hotmail.com on 28 Sep 2011 at 9:06

GoogleCodeExporter commented 8 years ago
I've since found that MAXWIDGETS is per container and not the entire project, 
and each stack element (2048 is the maximum stack elements) could be a 
container so it's not so bad. It would still be a good idea though to 
investigate using GLists instead of fixed sized arrays because then the memory 
usage can drop.

Original comment by thunor...@hotmail.com on 8 Oct 2011 at 10:49

GoogleCodeExporter commented 8 years ago
I've dropped MAXWIDGETS back down to 256 and there's nothing here that requires 
attention.

Original comment by thunor...@hotmail.com on 12 Aug 2012 at 4:33