Remove an unused field
authorMatthias Clasen <mclasen@redhat.com>
Sat, 26 Aug 2017 23:15:36 +0000 (19:15 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 26 Aug 2017 23:58:52 +0000 (19:58 -0400)
Drag contexts are objects, so there is no need to carry a
manual refcount around.

gdk/x11/gdkdnd-x11.c

index 4e5fd27eb190ae087beb2d4c8853236afbc53be9..09eb1b2ef2f6e3c5ec761dddda25398f0f910a4f 100644 (file)
@@ -74,8 +74,6 @@ struct _GdkX11DragContext
 {
   GdkDragContext context;
 
-  guint   ref_count;
-
   gint start_x;                /* Where the drag started */
   gint start_y;
   guint16 last_x;              /* Coordinates from last event */