summaryrefslogtreecommitdiff
path: root/libmate-panel-applet/libmatepanelapplet-4.0-uninstalled.pc.in
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2023-11-15 14:42:02 +0100
committerLuke from DC <[email protected]>2023-11-21 20:19:58 +0000
commitec5938e508526a70962e770ddd811f020951d1e8 (patch)
tree2a4e31654081501fffa3b01d93e80be4e1b1643f /libmate-panel-applet/libmatepanelapplet-4.0-uninstalled.pc.in
parentf9fb27ba92e61a16a81285aedcfab5d28bd5519e (diff)
downloadmate-panel-ec5938e508526a70962e770ddd811f020951d1e8.tar.bz2
mate-panel-ec5938e508526a70962e770ddd811f020951d1e8.tar.xz
clock: Simplify sort_locations_by_time()
There is no need to return -1 or 1 specifically, anything on the right side of 0 is OK, so simplify using the usual `a - b` implementation for such sort functions. Note that the type is OK here, as the `struct tm` are ints, the same as the function's return value.
Diffstat (limited to 'libmate-panel-applet/libmatepanelapplet-4.0-uninstalled.pc.in')
0 files changed, 0 insertions, 0 deletions