mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-09 12:10:09 +00:00
quartz: remove unused variable
This commit is contained in:
parent
0a0fd5af99
commit
0f7c96b619
@ -374,11 +374,9 @@ generate_motion_event (GdkWindow *window)
|
||||
NSPoint point;
|
||||
NSPoint screen_point;
|
||||
NSWindow *nswindow;
|
||||
GdkQuartzView *view;
|
||||
GdkWindowObject *private;
|
||||
GdkEvent *event;
|
||||
gint x, y, x_root, y_root;
|
||||
GdkDisplay *display;
|
||||
|
||||
event = gdk_event_new (GDK_MOTION_NOTIFY);
|
||||
event->any.window = NULL;
|
||||
@ -386,9 +384,6 @@ generate_motion_event (GdkWindow *window)
|
||||
|
||||
private = (GdkWindowObject *)window;
|
||||
nswindow = ((GdkWindowImplQuartz *)private->impl)->toplevel;
|
||||
view = (GdkQuartzView *)[nswindow contentView];
|
||||
|
||||
display = gdk_drawable_get_display (window);
|
||||
|
||||
screen_point = [NSEvent mouseLocation];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user