gtkcolumnviewcolumn: Only create cells when the column is visible
authorCorey Berla <corey@berla.me>
Thu, 29 Dec 2022 18:56:01 +0000 (10:56 -0800)
committerCorey Berla <corey@berla.me>
Thu, 29 Dec 2022 19:11:40 +0000 (11:11 -0800)
commit7ad693f865fc7ca36b63301ef261e3030f321d47
treebd0706e2c0fb5ca447231839aca35d7325f96f21
parentf3ad6015c6f7c64d4bfc27362ccaae24e2e87b6f
gtkcolumnviewcolumn: Only create cells when the column is visible

It's a big performance drag to create many cells (and their associated
widgets) for columns that may never be shown. Only create cells
is the column is visible, and subsequently create/remove cells
when in column_set_visible.
gtk/gtkcolumnlistitemfactory.c
gtk/gtkcolumnviewcolumn.c