model: Add a comment on the n_columns field type
authorEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 16 Mar 2010 18:57:28 +0000 (18:57 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 16 Mar 2010 18:57:28 +0000 (18:57 +0000)
commit0a6497a3b6c4219e6a6a9310849159b00c864671
treede3a2c76992dd41217c208c84edaee2870497113
parentde4abfac955641de9218d272e6aea1a8c618a577
model: Add a comment on the n_columns field type

To avoid another bug report like:

  http://bugzilla.openedhand.com/show_bug.cgi?id=2017

with a patch that gets applied without a proper review, resulting in a
bug like:

  http://bugzilla.openedhand.com/show_bug.cgi?id=2032

I should probably add a comment on why on earth we're using an integer
as the n_columns member of the ClutterModelPrivate structure, and why it
is important that it is initialized as -1.
clutter/clutter-model.c