clutter/keyframe-transition: Properly compare keys
This commit is contained in:
parent
2a4f1be81b
commit
9fb46cca55
@ -119,7 +119,7 @@ sort_by_key (gconstpointer a,
|
|||||||
if (fabs (k_a->key - k_b->key) < 0.0001)
|
if (fabs (k_a->key - k_b->key) < 0.0001)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (k_a->key > k_a->key)
|
if (k_a->key > k_b->key)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user