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:
Ryan Lortie 2011-07-20 20:22:26 +02:00
parent dc0149612f
commit 4ead7b69ea

View File

@ -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: