quartz: remove unused variable

This commit is contained in:
Kristian Rietveld 2011-11-05 22:34:41 +01:00
parent 79803d0edc
commit 4d9d8ba96d

View File

@ -330,19 +330,14 @@ generate_motion_event (GdkWindow *window)
NSPoint point;
NSPoint screen_point;
NSWindow *nswindow;
GdkQuartzView *view;
GdkEvent *event;
gint x, y, x_root, y_root;
GdkDisplay *display;
event = gdk_event_new (GDK_MOTION_NOTIFY);
event->any.window = NULL;
event->any.send_event = TRUE;
nswindow = ((GdkWindowImplQuartz *)window->impl)->toplevel;
view = (GdkQuartzView *)[nswindow contentView];
display = gdk_window_get_display (window);
screen_point = [NSEvent mouseLocation];