From b3d424c2d77a257f12657ab6560347d2765b728e Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 15 Jun 2018 08:39:51 +0200 Subject: [PATCH] dnd: Remove GdkDragContext.dest_surface The variable is now unused --- gdk/gdkdnd.c | 3 --- gdk/gdkdndprivate.h | 1 - 2 files changed, 4 deletions(-) diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c index ff5819480b..dcabb34d73 100644 --- a/gdk/gdkdnd.c +++ b/gdk/gdkdnd.c @@ -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); } diff --git a/gdk/gdkdndprivate.h b/gdk/gdkdndprivate.h index 6e8bc2af81..0e586ca979 100644 --- a/gdk/gdkdndprivate.h +++ b/gdk/gdkdndprivate.h @@ -63,7 +63,6 @@ struct _GdkDragContext { /*< private >*/ GdkSurface *source_surface; - GdkSurface *dest_surface; GdkSurface *drag_surface; GdkContentProvider *content; -- 2.30.2