]> Pileus Git - ~andy/gtk/commit
Add more defensive code to avoid accessing GtkIconView's cell area before it exists.
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Wed, 23 Feb 2011 11:50:50 +0000 (20:50 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Wed, 23 Feb 2011 11:50:50 +0000 (20:50 +0900)
commit4d76644f5c753874224d62c660ba96ec6c19c6f1
tree4bb612cfc1cfa2018edaaa730dc5716fac99a0c9
parent3ab4cb61e2ce5baf50b6236e679c398308e6dc11
Add more defensive code to avoid accessing GtkIconView's cell area before it exists.

Adding these cases here to cater to icon view subclasses that want to
access icon view APIs from the instance structure initializer instead
of properly waiting for the super class to initialize and adding renderers
from the ->constructor() vfunc.
gtk/gtkiconview.c