From: Carlos Garnacho Date: Thu, 25 Jun 2015 16:44:49 +0000 (+0200) Subject: wayland: Fix compile warning in DnD/selection code X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~24^2~9271 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=350d55589304fa55d83770834b392e2ee04cd906;p=gtk4.git wayland: Fix compile warning in DnD/selection code Introduced in my recent commits --- 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);