[gnome-font-viewer] font-view: don't use deprecated g_format_size_for_display()
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-font-viewer] font-view: don't use deprecated g_format_size_for_display()
- Date: Tue, 25 Oct 2011 16:00:17 +0000 (UTC)
commit 2a350417f54227a31f480a371067c8feecbe372f
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Oct 25 11:59:01 2011 -0400
font-view: don't use deprecated g_format_size_for_display()
Use g_format_size() instead.
src/font-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/font-view.c b/src/font-view.c
index 10abd7d..07df6b7 100644
--- a/src/font-view.c
+++ b/src/font-view.c
@@ -299,7 +299,7 @@ add_face_info (GtkWidget *grid,
add_row (grid, _("Type:"), s, FALSE, FALSE);
g_free (s);
- s = g_format_size_for_display (g_file_info_get_size (info));
+ s = g_format_size (g_file_info_get_size (info));
add_row (grid, _("Size:"), s, FALSE, FALSE);
g_free (s);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]