Revert "model: Use guint for the n_columns field"

The int storage, and the initial value of -1, is used as a guard when
subclassing ClutterListModel to allow the sub-class to call
clutter_model_set_names() and clutter_model_set_types().

This reverts commit c274118a8f.
This commit is contained in:
Emmanuele Bassi 2010-03-16 18:53:24 +00:00
parent 035d571e95
commit de4abfac95

View File

@ -193,7 +193,7 @@ struct _ClutterModelPrivate
{
GType *column_types;
gchar **column_names;
guint n_columns;
gint n_columns;
ClutterModelFilterFunc filter_func;
gpointer filter_data;
@ -419,7 +419,7 @@ clutter_model_init (ClutterModel *self)
self->priv = priv = CLUTTER_MODEL_GET_PRIVATE (self);
priv->n_columns = 0;
priv->n_columns = -1;
priv->column_types = NULL;
priv->column_names = NULL;