week-grid: fix index sorting
This was causing conflicts on event overlapping calculation.
This commit is contained in:
@@ -175,7 +175,7 @@ static inline gint
|
||||
int16_compare (gconstpointer a,
|
||||
gconstpointer b)
|
||||
{
|
||||
return GPOINTER_TO_INT (b) - GPOINTER_TO_INT (a);
|
||||
return GPOINTER_TO_INT (a) - GPOINTER_TO_INT (b);
|
||||
}
|
||||
|
||||
static inline guint
|
||||
@@ -202,7 +202,6 @@ get_event_index (GcalRangeTree *tree,
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
return idx;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user