wayland: Fix compile warning in DnD/selection code
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 25 Jun 2015 16:44:49 +0000 (18:44 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 25 Jun 2015 16:44:49 +0000 (18:44 +0200)
Introduced in my recent commits

gdk/wayland/gdkselection-wayland.c

index d1c754cb6ecd0537acdd389ef64883d211dbf76d..f9f3f1111cec3974f38e1e62581ded9562a5df30 100644 (file)
@@ -504,7 +504,7 @@ gdk_wayland_selection_store (GdkWindow    *window,
       if (mode != GDK_PROP_MODE_REPLACE &&
           type != selection->stored_selection.type)
         {
-          gchar *type_str, stored_str;
+          gchar *type_str, *stored_str;
 
           type_str = gdk_atom_name (type);
           stored_str = gdk_atom_name (selection->stored_selection.type);