forked from AuroraMiddleware/gtk
main: Use gtk_widget_get_native
This commit is contained in:
parent
66ccc825de
commit
0d25233e39
@ -1690,7 +1690,7 @@ handle_pointing_event (GdkEvent *event)
|
||||
return event_widget;
|
||||
|
||||
toplevel = GTK_WINDOW (gtk_widget_get_root (event_widget));
|
||||
native = gtk_widget_get_ancestor (event_widget, GTK_TYPE_NATIVE);
|
||||
native = GTK_WIDGET (gtk_widget_get_native (event_widget));
|
||||
|
||||
sequence = gdk_event_get_event_sequence (event);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user