[Spice-devel] [PATCH spice-gtk 4/4] spicy-screenshot: Make some variable static

Snir Sheriber ssheribe at redhat.com
Thu Dec 20 08:16:42 UTC 2018


Hi,

s/variable/variables

Ack for the series


Nice, i never used this tool, by now :p

Snir.

On 12/19/18 3:25 PM, Frediano Ziglio wrote:
> Not used outside this module.
> Also update indentation.
>
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>   tools/spicy-screenshot.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/spicy-screenshot.c b/tools/spicy-screenshot.c
> index 13b319d2..97bd4da9 100644
> --- a/tools/spicy-screenshot.c
> +++ b/tools/spicy-screenshot.c
> @@ -29,9 +29,9 @@ static gboolean version = FALSE;
>   static SpiceSession  *session;
>   static GMainLoop     *mainloop;
>   
> -enum SpiceSurfaceFmt d_format;
> -gint                 d_width, d_height, d_stride;
> -gpointer             d_data;
> +static enum SpiceSurfaceFmt d_format;
> +static gint d_width, d_height, d_stride;
> +static gpointer d_data;
>   
>   static bool image_grabbed = false;
>   


More information about the Spice-devel mailing list