wayland: Remove stray if
authorBenjamin Otte <otte@redhat.com>
Mon, 7 May 2018 15:16:29 +0000 (17:16 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 7 May 2018 16:55:09 +0000 (18:55 +0200)
Leftover from d056be4ea238e6f4371230b1a892ed0100770848.

I need more sleep when I need to fixup the fixups of my fixups now.

gdk/wayland/gdkdnd-wayland.c

index 9138e5eb98b852141c1f5ef221f3c68a38b40b1c..39bd25d7db61bc713e3dcbd6f6862ff6a16a2c60 100644 (file)
@@ -84,7 +84,6 @@ gdk_wayland_drag_context_finalize (GObject *object)
       gdk_drag_context_set_cursor (context, NULL);
     }
 
-  if (wayland_context->data_source)
   g_clear_pointer (&wayland_context->data_source, (GDestroyNotify) wl_data_source_destroy);
   g_clear_pointer (&wayland_context->offer, (GDestroyNotify) wl_data_offer_destroy);