forked from AuroraMiddleware/gtk
gdksurface: Ensure some assumptions
Just to please scan-build
This commit is contained in:
parent
56e89e8d26
commit
b1664534af
@ -2051,6 +2051,9 @@ update_cursor (GdkDisplay *display,
|
||||
GdkDeviceGrabInfo *grab;
|
||||
GdkCursor *cursor;
|
||||
|
||||
g_assert (display);
|
||||
g_assert (device);
|
||||
|
||||
pointer_info = _gdk_display_get_pointer_info (display, device);
|
||||
pointer_surface = pointer_info->surface_under_pointer;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user