Avoid deprecated warnings with Gdk >= 3.22
With Gdk >= 3.22.x 'gdk_screen_width' and 'gdk_screen_height' functions are deprecated, this commit fixes this issue.
With Gdk >= 3.22.x 'gdk_screen_width' and 'gdk_screen_height' functions are deprecated, this commit fixes this issue.