Fix deprecation warnings with GDK 3.10

gdk_display_get_n_screens is deprecated in GDK 3.10, as there's
always a single screen.