From 97015c226fc6bc8701e1f69bd1951c70a69de710 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 10 May 2010 18:27:00 +0300 Subject: [PATCH] Don't use g_drag_context_ref (cherry picked from commit a709056140945832ce71b0c9470ee88de7329121) --- gdk/win32/gdkdnd-win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdk/win32/gdkdnd-win32.c b/gdk/win32/gdkdnd-win32.c index 9f4d37ba4c..daf529198c 100644 --- a/gdk/win32/gdkdnd-win32.c +++ b/gdk/win32/gdkdnd-win32.c @@ -453,7 +453,7 @@ dnd_event_put (GdkEventType type, e.dnd.x_root = pt.x + _gdk_offset_x; e.dnd.y_root = pt.x + _gdk_offset_y; - gdk_drag_context_ref (e.dnd.context); + g_object_ref (e.dnd.context); if (e.dnd.window != NULL) g_object_ref (e.dnd.window); @@ -1831,7 +1831,7 @@ gdk_drag_begin (GdkWindow *window, _dnd_source_state = GDK_WIN32_DND_PENDING; pending_src_context = ctx; - gdk_drag_context_ref (ctx->context); + g_object_ref (ctx->context); return ctx->context; }