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

Marc-André Lureau marcandre.lureau at gmail.com
Fri Aug 23 13:25:09 PDT 2013


---
 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;
-- 
1.8.3.rc1.49.g8d97506



More information about the Spice-devel mailing list