diff options
author | Milan Crha <mcrha@redhat.com> | 2012-11-06 23:20:46 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-11-06 23:21:37 +0800 |
commit | 704b78d23bf8d707707411608a3453250f2637a1 (patch) | |
tree | 6bea89936534973c9b467503d198245f5035bc77 /widgets | |
parent | b6fddaaa0efb8013c526f00926830b9cdcbe0d60 (diff) | |
download | gsoc2013-evolution-704b78d23bf8d707707411608a3453250f2637a1.tar.gz gsoc2013-evolution-704b78d23bf8d707707411608a3453250f2637a1.tar.zst gsoc2013-evolution-704b78d23bf8d707707411608a3453250f2637a1.zip |
Replace deprecated GLib symbols (as of GLib 2.34.x)
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-attachment-bar.c | 2 | ||||
-rw-r--r-- | widgets/misc/e-attachment-paned.c | 2 | ||||
-rw-r--r-- | widgets/misc/e-attachment-tree-view.c | 2 | ||||
-rw-r--r-- | widgets/misc/e-attachment.c | 2 | ||||
-rw-r--r-- | widgets/misc/e-picture-gallery.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/widgets/misc/e-attachment-bar.c b/widgets/misc/e-attachment-bar.c index ed9fb02105..2f57a7f339 100644 --- a/widgets/misc/e-attachment-bar.c +++ b/widgets/misc/e-attachment-bar.c @@ -93,7 +93,7 @@ attachment_bar_update_status (EAttachmentBar *bar) num_attachments = e_attachment_store_get_num_attachments (store); total_size = e_attachment_store_get_total_size (store); - display_size = g_format_size_for_display (total_size); + display_size = g_format_size (total_size); if (total_size > 0) markup = g_strdup_printf ( diff --git a/widgets/misc/e-attachment-paned.c b/widgets/misc/e-attachment-paned.c index 119c66e6f2..565d91c4de 100644 --- a/widgets/misc/e-attachment-paned.c +++ b/widgets/misc/e-attachment-paned.c @@ -168,7 +168,7 @@ attachment_paned_update_status (EAttachmentPaned *paned) num_attachments = e_attachment_store_get_num_attachments (store); total_size = e_attachment_store_get_total_size (store); - display_size = g_format_size_for_display (total_size); + display_size = g_format_size (total_size); if (total_size > 0) markup = g_strdup_printf ( diff --git a/widgets/misc/e-attachment-tree-view.c b/widgets/misc/e-attachment-tree-view.c index 9a03d54a28..b73751fbbd 100644 --- a/widgets/misc/e-attachment-tree-view.c +++ b/widgets/misc/e-attachment-tree-view.c @@ -138,7 +138,7 @@ attachment_tree_view_render_size (GtkTreeViewColumn *column, gtk_tree_model_get (model, iter, column_id, &size, -1); if (size > 0) - display_size = g_format_size_for_display ((goffset) size); + display_size = g_format_size ((goffset) size); g_object_set (renderer, "text", display_size, NULL); diff --git a/widgets/misc/e-attachment.c b/widgets/misc/e-attachment.c index 315b012b2d..7b245e8b0d 100644 --- a/widgets/misc/e-attachment.c +++ b/widgets/misc/e-attachment.c @@ -220,7 +220,7 @@ attachment_update_file_info_columns (EAttachment *attachment) size = g_file_info_get_size (file_info); content_desc = g_content_type_get_description (content_type); - display_size = g_format_size_for_display (size); + display_size = g_format_size (size); description = e_attachment_get_description (attachment); if (description == NULL || *description == '\0') diff --git a/widgets/misc/e-picture-gallery.c b/widgets/misc/e-picture-gallery.c index 372e70146c..dc455400b3 100644 --- a/widgets/misc/e-picture-gallery.c +++ b/widgets/misc/e-picture-gallery.c @@ -105,7 +105,7 @@ update_file_iter (GtkListStore *list_store, if (filename) { filesize = g_file_info_get_attribute_uint64 (file_info, G_FILE_ATTRIBUTE_STANDARD_SIZE); if (filesize) { - gchar *tmp = g_format_size_for_display ((goffset) filesize); + gchar *tmp = g_format_size ((goffset) filesize); filename_text = g_strdup_printf ("%s (%s)", filename, tmp); g_free (tmp); } |