* clutter/clutter-model.c: (clutter_model_resort):

Don't return when there's no sort function set, leave that to the
        model sub-class
This commit is contained in:
Chris Lord 2008-02-19 12:31:50 +00:00
parent 6af626aabd
commit 015eba286f
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2008-02-19 Chris Lord <chris@openedhand.com>
* clutter/clutter-model.c: (clutter_model_resort):
Don't return when there's no sort function set, leave that to the
model sub-class
2008-02-18 Emmanuele Bassi <ebassi@openedhand.com> 2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
* configure.ac: * configure.ac:

View File

@ -437,9 +437,6 @@ clutter_model_resort (ClutterModel *model)
g_return_if_fail (CLUTTER_IS_MODEL (model)); g_return_if_fail (CLUTTER_IS_MODEL (model));
priv = model->priv; priv = model->priv;
if (!priv->sort_func)
return;
klass = CLUTTER_MODEL_GET_CLASS (model); klass = CLUTTER_MODEL_GET_CLASS (model);
if (klass->resort) if (klass->resort)