mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 09:00:34 +00:00
Switch to g_format_size()
g_format_size_for_display() has been deprecated in GLib and replaced with g_format_size(). Follow that change.
This commit is contained in:
parent
dc0149612f
commit
4ead7b69ea
@ -6645,7 +6645,7 @@ file_system_model_set (GtkFileSystemModel *model,
|
||||
if (info == NULL || _gtk_file_info_consider_as_directory (info))
|
||||
g_value_set_string (value, NULL);
|
||||
else
|
||||
g_value_take_string (value, g_format_size_for_display (g_file_info_get_size (info)));
|
||||
g_value_take_string (value, g_format_size (g_file_info_get_size (info)));
|
||||
break;
|
||||
case MODEL_COL_MTIME:
|
||||
case MODEL_COL_MTIME_TEXT:
|
||||
|
Loading…
Reference in New Issue
Block a user