I think I'd handle this one similarly to the vala warnings:

diff --git a/src/Makefile.am b/src/Makefile.am
index 3f81866..66e3c64 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -402,10 +402,12 @@ spicy_LDADD =                                             
\
        $(LIBM)                                         \
        $(NULL)

+# FIXME: GtkAction and lots of GtkUI APIs are deprecated
 spicy_CPPFLAGS =                       \
        $(AM_CPPFLAGS)                  \
        $(GTHREAD_CFLAGS)               \
        -DSPICE_DISABLE_DEPRECATED      \
+       -Wno-deprecated-declarations    \
        $(NULL)



On Wed, Nov 23, 2016 at 07:09:20AM +0100, Francois Gouget wrote:
> GtkAction and lots of GtkUI APIs are deprecated.
> 
> Signed-off-by: Francois Gouget <fgou...@codeweavers.com>
> ---
>  src/spicy.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/src/spicy.c b/src/spicy.c
> index c502428..c4a6c7d 100644
> --- a/src/spicy.c
> +++ b/src/spicy.c
> @@ -38,6 +38,9 @@
>  
>  #include "spicy-connect.h"
>  
> +/* FIXME: GtkAction and lots of GtkUI APIs are deprecated */
> +G_GNUC_BEGIN_IGNORE_DEPRECATIONS
> +
>  typedef struct spice_connection spice_connection;
>  
>  enum {
> -- 
> 2.10.1
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to