summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-06-02 17:50:09 +0200
committerinfirit <[email protected]>2014-06-02 17:50:09 +0200
commit4aebcf242c792e3c6e4b0162a74b90c7d882fb38 (patch)
tree77e28b33cc0f75d13f15263fb4d8fe9e09a9a2f7
parente117e3f0d0ce8348394473c7a8a816c4e2e67ddf (diff)
downloadmate-applets-4aebcf242c792e3c6e4b0162a74b90c7d882fb38.tar.bz2
mate-applets-4aebcf242c792e3c6e4b0162a74b90c7d882fb38.tar.xz
Replace deprecated g_format_size_for_display with g_format_size
-rw-r--r--multiload/netspeed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/multiload/netspeed.c b/multiload/netspeed.c
index 0b816719..7d46ec7a 100644
--- a/multiload/netspeed.c
+++ b/multiload/netspeed.c
@@ -31,12 +31,12 @@ void netspeed_add(NetSpeed *ns, gulong tx)
ns->states[ns->cur] = tx;
}
-/* Something very similar to g_format_size_for_display() but for rates.
+/* Something very similar to g_format_size() but for rates.
* This should give the same display as in g-s-m */
static char*
format_rate_for_display(guint rate)
{
- char* bytes = g_format_size_for_display(rate);
+ char* bytes = g_format_size(rate);
return g_strdup_printf(_("%s/s"), bytes);
}