From 781661e9c35a627fc24c574f5ecabbbdd6cfc505 Mon Sep 17 00:00:00 2001 From: Chris Lord Date: Thu, 6 Mar 2008 11:44:37 +0000 Subject: [PATCH] * clutter/clutter-model.c: (clutter_model_set_sorting_column): Don't disable sorting on column 0 --- ChangeLog | 5 +++++ clutter/clutter-model.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index dcd8d1568..f8f53544c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-03-06 Chris Lord + + * clutter/clutter-model.c: (clutter_model_set_sorting_column): + Don't disable sorting on column 0 + 2008-03-06 Emmanuele Bassi Add support for the anchor point inside ClutterScript (#834, diff --git a/clutter/clutter-model.c b/clutter/clutter-model.c index ddd3ea3e1..2bd165ddf 100644 --- a/clutter/clutter-model.c +++ b/clutter/clutter-model.c @@ -1223,7 +1223,7 @@ clutter_model_set_sorting_column (ClutterModel *model, priv->sort_column = column; - if (priv->sort_column > 0) + if (priv->sort_column >= 0) clutter_model_resort (model); g_signal_emit (model, model_signals[SORT_CHANGED], 0);