[Spice-devel] [PATCH vdagent-linux 6/6] file-xfer: remove obsolete GLIB_CHECK_VERSION
Victor Toso
victortoso at redhat.com
Fri Sep 7 07:59:30 UTC 2018
Hi,
On Tue, Sep 04, 2018 at 06:40:51PM +0200, Jakub Janků wrote:
> Required GLib version was bumped from 2.28 to 2.34 by
> 61fc548fe1a323dd2344c8ae267e3ce05e86da7d.
>
> Signed-off-by: Jakub Janků <jjanku at redhat.com>
Pushed :)
commit 542ad5f82828a567adf9cf660095f5b497f61b81
Author: Jakub Janků <jjanku at redhat.com>
Date: Tue Sep 4 18:40:51 2018 +0200
file-xfer: remove obsolete GLIB_CHECK_VERSION
Required GLib version was bumped from 2.28 to 2.34 by
61fc548fe1a323dd2344c8ae267e3ce05e86da7d.
Signed-off-by: Jakub Janků <jjanku at redhat.com>
Acked-by: Victor Toso <victortoso at redhat.com>
> ---
> src/vdagent/file-xfers.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/src/vdagent/file-xfers.c b/src/vdagent/file-xfers.c
> index 6461d05..0fabe7e 100644
> --- a/src/vdagent/file-xfers.c
> +++ b/src/vdagent/file-xfers.c
> @@ -209,13 +209,8 @@ void vdagent_file_xfers_start(struct vdagent_file_xfers *xfers,
> free_space = get_free_space_available(xfers->save_dir);
> if (task->file_size > free_space) {
> gchar *free_space_str, *file_size_str;
> -#if GLIB_CHECK_VERSION(2, 30, 0)
> free_space_str = g_format_size(free_space);
> file_size_str = g_format_size(task->file_size);
> -#else
> - free_space_str = g_format_size_for_display(free_space);
> - file_size_str = g_format_size_for_display(task->file_size);
> -#endif
> syslog(LOG_ERR, "file-xfer: not enough free space (%s to copy, %s free)",
> file_size_str, free_space_str);
> g_free(free_space_str);
> --
> 2.17.1
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180907/27989067/attachment-0001.sig>
More information about the Spice-devel
mailing list