Commit 9ab68256 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

Don't leak references to the drag context. (#144324, Alex Larsson)

2004-07-08  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Don't leak
	references to the drag context.  (#144324, Alex Larsson)
parent 03239b80
2004-07-08 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Don't leak
references to the drag context. (#144324, Alex Larsson)
Thu Jul 8 00:31:34 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_set_model): Stop editing
......
2004-07-08 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Don't leak
references to the drag context. (#144324, Alex Larsson)
Thu Jul 8 00:31:34 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_set_model): Stop editing
......
2004-07-08 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Don't leak
references to the drag context. (#144324, Alex Larsson)
Thu Jul 8 00:31:34 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_set_model): Stop editing
......
2004-07-08 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Don't leak
references to the drag context. (#144324, Alex Larsson)
Thu Jul 8 00:31:34 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_set_model): Stop editing
......
......@@ -2193,7 +2193,10 @@ xdnd_send_xevent (GdkDragContext *context,
temp_event.any.window = window;
if ((*xdnd_filters[i].func) (event_send, &temp_event, NULL) == GDK_FILTER_TRANSLATE)
gdk_event_put (&temp_event);
{
gdk_event_put (&temp_event);
g_object_unref (tmp_event.dnd.context);
}
return TRUE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment