[Spice-devel] [client] spicy: Spicy uses GTK+ and must link with it

Snir Sheriber ssheribe at redhat.com
Sun Feb 26 15:52:23 UTC 2017


Hi


On 02/24/2017 01:23 PM, Francois Gouget wrote:
> This avoids having the linker complain that gtk_toggle_action_get_type()
> or some other GTK+ API is undefined.

Does this function is in use somewhere ? grep didn't find it and it 
works for me..

Snir.
> Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
> ---
>   tools/Makefile.am | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/tools/Makefile.am b/tools/Makefile.am
> index 0bdb3c54..e41e0ab5 100644
> --- a/tools/Makefile.am
> +++ b/tools/Makefile.am
> @@ -28,6 +28,7 @@ spicy_SOURCES =				\
>   spicy_LDADD =				\
>   	$(top_builddir)/src/libspice-client-gtk-3.0.la	\
>   	$(top_builddir)/src/libspice-client-glib-2.0.la	\
> +	$(GTK_LIBS) \
>   	$(NULL)
>   
>   # FIXME: GtkAction and lots of GtkUIManager APIs are deprecated



More information about the Spice-devel mailing list