Now I am aware of the full problem. In my opinion you should work internally with bytes, assume upstream's implementation of g_format_size_for_display(), and use helper functions for conversion. Full description here: https://bugs.launchpad.net/transmission/+bug/538504/comments/17
-- Ubuntu's change to g_format_size_for_display() causes inconsistency https://bugs.launchpad.net/bugs/538783 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs