model: Use guint for the n_columns field
clutter_model_get_n_columns is supposed to return a guint, so the n_columns field needs to be a guint with the initial value set to 0. http://bugzilla.openedhand.com/show_bug.cgi?id=2017 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
parent
c2faaa4f39
commit
c274118a8f
@ -193,7 +193,7 @@ struct _ClutterModelPrivate
|
||||
{
|
||||
GType *column_types;
|
||||
gchar **column_names;
|
||||
gint n_columns;
|
||||
guint 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 = -1;
|
||||
priv->n_columns = 0;
|
||||
priv->column_types = NULL;
|
||||
priv->column_names = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user