2007-12-10 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-model.c:
	(clutter_model_get_sorting_column): Fix wrong type check.
This commit is contained in:
Emmanuele Bassi 2007-12-10 16:42:21 +00:00
parent 81e908f9fb
commit 6e61c0a999
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-12-10 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-model.c:
(clutter_model_get_sorting_column): Fix wrong type check.
2007-12-10 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-model.[ch]: Allow unsorting the model (passing

View File

@ -1264,7 +1264,7 @@ clutter_model_set_sorting_column (ClutterModel *model,
/**
* clutter_model_get_sorting_column:
* @model: a #ClutterModelIter
* @model: a #ClutterModel
*
* Retrieves the number of column used for sorting the @model.
*
@ -1275,7 +1275,7 @@ clutter_model_set_sorting_column (ClutterModel *model,
gint
clutter_model_get_sorting_column (ClutterModel *model)
{
g_return_val_if_fail (CLUTTER_IS_MODEL_ITER (model), -1);
g_return_val_if_fail (CLUTTER_IS_MODEL (model), -1);
return model->priv->sort_column;
}