[Spice-devel] [PATCH spice-gtk] Remove unused spice-channel-enums.h file

Frediano Ziglio fziglio at redhat.com
Fri May 4 20:24:50 UTC 2018


> 
> This file has been deprecated a long ago, since the following commit:
> 
> commit d27f761325b356c91bda1ca60186d4613d6933d2
> Author: Marc-André Lureau <marcandre.lureau at redhat.com>
> Date:   Tue Jan 25 14:22:51 2011 +0100
> 
>     gtk: rename s/spice-channel-enums/spice-glib-enums
> 
> Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>

Acked-by: Frediano Ziglio <fziglio at redhat.com>

> ---
>  src/Makefile.am           | 5 -----
>  src/spice-channel-enums.h | 7 -------
>  2 files changed, 12 deletions(-)
>  delete mode 100644 src/spice-channel-enums.h
> 
> diff --git a/src/Makefile.am b/src/Makefile.am
> index f49c766..e719ff6 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -301,11 +301,6 @@ nodist_libspice_client_glibinclude_HEADERS =	\
>  	spice-glib-enums.h			\
>  	$(NULL)
>  
> -# file for API compatibility, but we don't want warning during our
> compilation
> -dist_libspice_client_glibinclude_DATA =	\
> -	spice-channel-enums.h		\
> -	$(NULL)
> -
>  if HAVE_PULSE
>  libspice_client_glib_2_0_la_SOURCES +=	\
>  	spice-pulse.c			\
> diff --git a/src/spice-channel-enums.h b/src/spice-channel-enums.h
> deleted file mode 100644
> index 02df762..0000000
> --- a/src/spice-channel-enums.h
> +++ /dev/null
> @@ -1,7 +0,0 @@
> -#ifndef SPICE_CHANNEL_ENUMS_H
> -#define SPICE_CHANNEL_ENUMS_H
> -
> -#warning "deprecated: please include spice-glib-enums.h"
> -#include "spice-glib-enums.h"
> -
> -#endif /* SPICE_CHANNEL_ENUMS_H */

Frediano


More information about the Spice-devel mailing list