forked from AuroraMiddleware/gtk
win32: Don't double free stuff when finalizing drag context
We were freeing stuff that was already freed in the parent class finalizer.
This commit is contained in:
parent
0d94b974b3
commit
9275b87b6a
@ -150,14 +150,6 @@ gdk_win32_drag_context_finalize (GObject *object)
|
||||
context = GDK_DRAG_CONTEXT (object);
|
||||
context_win32 = GDK_WIN32_DRAG_CONTEXT (object);
|
||||
|
||||
g_list_free (context->targets);
|
||||
|
||||
if (context->source_window)
|
||||
g_object_unref (context->source_window);
|
||||
|
||||
if (context->dest_window)
|
||||
g_object_unref (context->dest_window);
|
||||
|
||||
if (!use_ole2_dnd)
|
||||
{
|
||||
contexts = g_list_remove (contexts, context);
|
||||
|
Loading…
Reference in New Issue
Block a user