From: Benjamin Otte Date: Fri, 15 Jun 2018 06:39:51 +0000 (+0200) Subject: dnd: Remove GdkDragContext.dest_surface X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~22^2~70 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b3d424c2d77a257f12657ab6560347d2765b728e;p=gtk4.git dnd: Remove GdkDragContext.dest_surface The variable is now unused --- 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;