Re: [spice-gtk 1/2] Don't try to call _wocky_http_proxy_get_type with old gio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ack

On Wed, Feb 27, 2013 at 2:44 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
> Proxy support is only built when gio is newer than 2.26, don't try
> to call symbols from wocky-http.c with older glib as this would
> result in link failures.
> ---
>  gtk/spice-session.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/gtk/spice-session.c b/gtk/spice-session.c
> index ccc9367..615b653 100644
> --- a/gtk/spice-session.c
> +++ b/gtk/spice-session.c
> @@ -652,7 +652,9 @@ static void spice_session_class_init(SpiceSessionClass *klass)
>  {
>      GObjectClass *gobject_class = G_OBJECT_CLASS(klass);
>
> +#if GLIB_CHECK_VERSION(2, 26, 0)
>      _wocky_http_proxy_get_type();
> +#endif
>
>      gobject_class->dispose      = spice_session_dispose;
>      gobject_class->finalize     = spice_session_finalize;
> --
> 1.8.1.2
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel



-- 
Marc-André Lureau
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]