mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 14:53:03 +00:00
d6496254d6
function is supposed to accept -1 to disable sorting. However it checks for whether the column is >= the number of columns, but clutter_model_get_n_columns() returns an unsigned int so the column number also gets promoted to unsigned for the comparison. Therefore -1 is always greater than the number of columns so it wouldn't let you set it.