[Spice-devel] [PATCH spice-gtk 1/4] gtk: remove dead code

Hans de Goede hdegoede at redhat.com
Sat Aug 24 03:12:03 PDT 2013


Looks good, ACK.

On 08/23/2013 10:25 PM, Marc-André Lureau wrote:
> ---
>   gtk/spice-gtk-session.c | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/gtk/spice-gtk-session.c b/gtk/spice-gtk-session.c
> index 47c7d36..68777eb 100644
> --- a/gtk/spice-gtk-session.c
> +++ b/gtk/spice-gtk-session.c
> @@ -367,7 +367,6 @@ static gint get_selection_from_clipboard(SpiceGtkSessionPrivate *s,
>   static const struct {
>       const char  *xatom;
>       uint32_t    vdagent;
> -    uint32_t    flags;
>   } atom2agent[] = {
>       {
>           .vdagent = VD_AGENT_CLIPBOARD_UTF8_TEXT,
> @@ -660,7 +659,6 @@ static gboolean clipboard_grab(SpiceMainChannel *main, guint selection,
>                   found = TRUE;
>                   g_return_val_if_fail(i < SPICE_N_ELEMENTS(atom2agent), FALSE);
>                   targets[i].target = (gchar*)atom2agent[m].xatom;
> -                targets[i].flags = 0;
>                   targets[i].info = m;
>                   target_selected[m] = TRUE;
>                   i += 1;
>


More information about the Spice-devel mailing list