diff options
author | Bastian Winkler <buz@netbuz.org> | 2010-03-02 09:26:57 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2010-03-15 16:22:20 +0000 |
commit | c274118a8f7ed18e5bc703e614a9ea0a7cdb553c (patch) | |
tree | 7de8a05b5db91f52ca5b564c254a0bda8441f6d5 /clutter/clutter-model.c | |
parent | c2faaa4f39d3ad69523e806bffe4651545c0bdea (diff) | |
download | clutter-c274118a8f7ed18e5bc703e614a9ea0a7cdb553c.tar.gz |
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>
Diffstat (limited to 'clutter/clutter-model.c')
-rw-r--r-- | clutter/clutter-model.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clutter/clutter-model.c b/clutter/clutter-model.c index c2e975f74..545c9f3b4 100644 --- a/clutter/clutter-model.c +++ b/clutter/clutter-model.c @@ -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; |