summaryrefslogtreecommitdiff
path: root/netspeed/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-01-08 10:09:53 +0100
committerraveit65 <[email protected]>2021-01-28 21:17:38 +0100
commit35ab6f3742c23ee7a1e8f347cd4bc2ca648ddcb3 (patch)
tree928211bba03fd40e01cd27f77db169cf2860c193 /netspeed/src
parent9d5b6bcc3e7873d7b76842e7a0bbaca047d11901 (diff)
downloadmate-applets-35ab6f3742c23ee7a1e8f347cd4bc2ca648ddcb3.tar.bz2
mate-applets-35ab6f3742c23ee7a1e8f347cd4bc2ca648ddcb3.tar.xz
netspeed: sort available devices
Diffstat (limited to 'netspeed/src')
-rw-r--r--netspeed/src/backend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/netspeed/src/backend.c b/netspeed/src/backend.c
index 1daca40f..2888f876 100644
--- a/netspeed/src/backend.c
+++ b/netspeed/src/backend.c
@@ -105,6 +105,7 @@ get_available_devices (void)
for (dev = devices; *dev; ++dev) {
device_glist = g_list_prepend (device_glist, g_strdup (*dev));
}
+ device_glist = g_list_sort (device_glist, (GCompareFunc) g_strcmp0);
g_strfreev (devices);