From 6e61c0a9991f7c4d54a985da11afe445252de4d5 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 10 Dec 2007 16:42:21 +0000 Subject: [PATCH] 2007-12-10 Emmanuele Bassi * clutter/clutter-model.c: (clutter_model_get_sorting_column): Fix wrong type check. --- ChangeLog | 5 +++++ clutter/clutter-model.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a051b14d8..089c75bbd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-12-10 Emmanuele Bassi + + * clutter/clutter-model.c: + (clutter_model_get_sorting_column): Fix wrong type check. + 2007-12-10 Emmanuele Bassi * clutter/clutter-model.[ch]: Allow unsorting the model (passing diff --git a/clutter/clutter-model.c b/clutter/clutter-model.c index cbc6daa61..507795e0c 100644 --- a/clutter/clutter-model.c +++ b/clutter/clutter-model.c @@ -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; }