summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2010-05-10 18:27:00 +0300
committerTor Lillqvist <tml@iki.fi>2010-05-10 19:18:29 +0300
commita709056140945832ce71b0c9470ee88de7329121 (patch)
tree4e0c60a520010f9d627bc450fd47ae970fce6c91 /gdk
parent671db307cc0a5eec21e77df21cbd234aa4f53db9 (diff)
downloadgtk+-a709056140945832ce71b0c9470ee88de7329121.tar.gz
Don't use g_drag_context_ref
Diffstat (limited to 'gdk')
-rw-r--r--gdk/win32/gdkdnd-win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/win32/gdkdnd-win32.c b/gdk/win32/gdkdnd-win32.c
index 472ff69cd1..dc34afe45e 100644
--- a/gdk/win32/gdkdnd-win32.c
+++ b/gdk/win32/gdkdnd-win32.c
@@ -437,7 +437,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);
@@ -1815,7 +1815,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;
}