mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
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:
parent
035d571e95
commit
de4abfac95
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user