summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2015-06-25 18:44:49 +0200
committerCarlos Garnacho <carlosg@gnome.org>2015-06-25 18:44:49 +0200
commit350d55589304fa55d83770834b392e2ee04cd906 (patch)
tree1a8b0756b059e6aef14779cf84b5ff49fcd5f9f2
parent0606b525b47cf0901ebff70c8aebd57f8190e116 (diff)
downloadgtk+-350d55589304fa55d83770834b392e2ee04cd906.tar.gz
wayland: Fix compile warning in DnD/selection code
Introduced in my recent commits
-rw-r--r--gdk/wayland/gdkselection-wayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/wayland/gdkselection-wayland.c b/gdk/wayland/gdkselection-wayland.c
index d1c754cb6e..f9f3f1111c 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);