[gtk+] wayland: Fix compile warning in DnD/selection code



commit 350d55589304fa55d83770834b392e2ee04cd906
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Jun 25 18:44:49 2015 +0200

    wayland: Fix compile warning in DnD/selection code
    
    Introduced in my recent commits

 gdk/wayland/gdkselection-wayland.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkselection-wayland.c b/gdk/wayland/gdkselection-wayland.c
index d1c754c..f9f3f11 100644
--- a/gdk/wayland/gdkselection-wayland.c
+++ b/gdk/wayland/gdkselection-wayland.c
@@ -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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]