dnd: Remove GdkDragContext.dest_surface
authorBenjamin Otte <otte@redhat.com>
Fri, 15 Jun 2018 06:39:51 +0000 (08:39 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 18 Jun 2018 21:49:53 +0000 (23:49 +0200)
The variable is now unused

gdk/gdkdnd.c
gdk/gdkdndprivate.h

index ff5819480b8096a4d1fd18ebb7597e9189f07c4c..dcabb34d739a561c19a7491195392acd009139af 100644 (file)
@@ -313,9 +313,6 @@ gdk_drag_context_finalize (GObject *object)
   if (context->source_surface)
     g_object_unref (context->source_surface);
 
-  if (context->dest_surface)
-    g_object_unref (context->dest_surface);
-
   G_OBJECT_CLASS (gdk_drag_context_parent_class)->finalize (object);
 }
 
index 6e8bc2af8194815200ca021f0c3e490dab1ee942..0e586ca979f2c33ddbb89bd379ddbf812953eead 100644 (file)
@@ -63,7 +63,6 @@ struct _GdkDragContext {
 
   /*< private >*/
   GdkSurface *source_surface;
-  GdkSurface *dest_surface;
   GdkSurface *drag_surface;
 
   GdkContentProvider *content;