summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd-quartz.c
diff options
context:
space:
mode:
authorJohn Ralls <jralls@ceridwen.us>2011-11-07 13:48:03 -0800
committerJohn Ralls <jralls@ceridwen.us>2011-11-07 13:57:10 -0800
commit42656dde57ac1b661ff0692ed210617ec49d34c0 (patch)
treec260a73351d9976b1cafe77c86b54f2d6a8207b0 /gtk/gtkdnd-quartz.c
parent3243e6955cd4014345170fdd9246a13eacad86dd (diff)
downloadgtk+-42656dde57ac1b661ff0692ed210617ec49d34c0.tar.gz
Revert "[Quartz Bug 663182] NSImage throws an exception from _gtk_quartz_create_image_from_pixbuf()". Utterly screwed up. Sorry.
This reverts commit 8216324e4b13f0349ed3c0f854d41e6b32d1f0cb. and commit 3243e6955cd4014345170fdd9246a13eacad86dd.
Diffstat (limited to 'gtk/gtkdnd-quartz.c')
-rw-r--r--gtk/gtkdnd-quartz.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gtk/gtkdnd-quartz.c b/gtk/gtkdnd-quartz.c
index 2f01c65375..0653261c65 100644
--- a/gtk/gtkdnd-quartz.c
+++ b/gtk/gtkdnd-quartz.c
@@ -1081,11 +1081,6 @@ gtk_drag_begin_idle (gpointer arg)
point = [info->nsevent locationInWindow];
drag_image = _gtk_quartz_create_image_from_pixbuf (info->icon_pixbuf);
- if (drag_image == NULL)
- {
- g_object_unref (info->context);
- return point;
- }
point.x -= info->hot_x;
point.y -= info->hot_y;