From 933b1f4546f08029ac69fe4338d4e7b835323a68 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 19 Aug 2005 13:46:11 +0000 Subject: [PATCH] After checking XLib sources, XGetWindowProperty does set data to NULL. --- gdk/x11/gdkdnd-x11.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c index cca5cce857..41598615b2 100644 --- a/gdk/x11/gdkdnd-x11.c +++ b/gdk/x11/gdkdnd-x11.c @@ -2485,7 +2485,6 @@ xdnd_read_actions (GdkDragContext *context) gdk_error_trap_push (); - data = NULL; if (XGetWindowProperty (GDK_DISPLAY_XDISPLAY (display), GDK_DRAWABLE_XID (context->source_window), gdk_x11_get_xatom_by_name_for_display (display, "XdndActionList"),