summaryrefslogtreecommitdiff
path: root/gdk/quartz/GdkQuartzNSWindow.c
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2015-07-27 09:33:32 -0400
committerPatrick Griffis <tingping@tingping.se>2015-07-27 09:33:32 -0400
commitee73e27fd7040290227f53cf989fd2d7d993c69f (patch)
tree129f7e41610987645dbd40793478c8bed7daa309 /gdk/quartz/GdkQuartzNSWindow.c
parent49a596aa521c3a936cca02046843786eadabb1eb (diff)
downloadgtk+-ee73e27fd7040290227f53cf989fd2d7d993c69f.tar.gz
quartz: Fix building
Broken by 6d04183c5d6 and 6ac07a2e85ea
Diffstat (limited to 'gdk/quartz/GdkQuartzNSWindow.c')
-rw-r--r--gdk/quartz/GdkQuartzNSWindow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk/quartz/GdkQuartzNSWindow.c b/gdk/quartz/GdkQuartzNSWindow.c
index 848ed50daf..155dec9a6a 100644
--- a/gdk/quartz/GdkQuartzNSWindow.c
+++ b/gdk/quartz/GdkQuartzNSWindow.c
@@ -665,14 +665,14 @@ update_context_from_dragging_info (id <NSDraggingInfo> sender)
event->dnd.send_event = FALSE;
event->dnd.context = g_object_ref (_gdk_quartz_drag_source_context);
- screen = gdk_window_get_screen (event.dnd.window);
+ screen = gdk_window_get_screen (event->dnd.window);
if (screen)
{
GList* windows, *list;
gint gx, gy;
- event.dnd.context->dest_window = NULL;
+ event->dnd.context->dest_window = NULL;
windows = gdk_screen_get_toplevel_windows (screen);
_gdk_quartz_window_nspoint_to_gdk_xy (aPoint, &gx, &gy);
@@ -688,7 +688,7 @@ update_context_from_dragging_info (id <NSDraggingInfo> sender)
wh = gdk_window_get_height (win);
if (gx > wx && gy > wy && gx <= wx + ww && gy <= wy + wh)
- event.dnd.context->dest_window = win;
+ event->dnd.context->dest_window = win;
}
}