x11: typedef GdkX11Display to GdkDisplay
x11: typedef GdkX11Display to GdkDisplay

This is for compatibility reasons. We want to change APIs that operate
on X11 objects to take the X11 objects as arguments. However, this would
break a lot of APIs and we'd like to avoid this, so we play this little
trick (we will use the same trick for the other X11 objects). Also,
gobject-introspection and other bindings can correctly attach the
functions to the correct types as it is the same scheme that GDK2 used
for pixmaps, windows and drawables.

For GTK 4, we will remove this trick, so apps should properly cast their
objects right now.
Unfortunately, I don't think there is a way to use
GDK_DISABLE_DEPRECATED or similar macros to check for proper type casts
while compiling ensure compatibility with future GDK versions. I'm free
to consider them though.

davidt/gtk,Sidnioulz/SandboxGtk,davidgumberg/gtk,Adamovskiy/gtk,simokivimaki/gtk,jadahl/gtk,Adamovskiy/gtk,simokivimaki/gtk,jadahl/gtk,ebassi/gtk,chergert/gtk,jigpu/gtk,davidgumberg/gtk,jadahl/gtk,simokivimaki/gtk,ahodesuka/gtk,Sidnioulz/SandboxGtk,davidt/gtk,msteinert/gtk,msteinert/gtk,jessevdk/gtk,ahodesuka/gtk,bratsche/gtk-,Lyude/gtk-,Lyude/gtk-,alexlarsson/gtk,jessevdk/gtk,davidgumberg/gtk,Adamovskiy/gtk,jessevdk/gtk,Sidnioulz/SandboxGtk,Adamovskiy/gtk,Lyude/gtk-,ahodesuka/gtk,bratsche/gtk-,ebassi/gtk,bratsche/gtk-,jessevdk/gtk,ahodesuka/gtk,ebassi/gtk,ahodesuka/gtk,alexlarsson/gtk,alexlarsson/gtk,jigpu/gtk,davidgumberg/gtk,alexlarsson/gtk,jadahl/gtk,Adamovskiy/gtk,jessevdk/gtk,Distrotech/gtk2,davidgumberg/gtk,Sidnioulz/SandboxGtk,msteinert/gtk,jadahl/gtk,Distrotech/gtk2,Adamovskiy/gtk,jigpu/gtk,alexlarsson/gtk,davidt/gtk,chergert/gtk,chergert/gtk,Sidnioulz/SandboxGtk,Distrotech/gtk2,ahodesuka/gtk,Lyude/gtk-,chergert/gtk,alexlarsson/gtk,grubersjoe/adwaita,davidgumberg/gtk,jessevdk/gtk,chergert/gtk,jadahl/gtk,jessevdk/gtk,msteinert/gtk,simokivimaki/gtk,msteinert/gtk,chergert/gtk,grubersjoe/adwaita,Adamovskiy/gtk,chergert/gtk,grubersjoe/adwaita,jigpu/gtk,bratsche/gtk-,Lyude/gtk-,jadahl/gtk,ebassi/gtk,Distrotech/gtk2,Lyude/gtk-,Lyude/gtk-,Distrotech/gtk2,bratsche/gtk-,Distrotech/gtk2,grubersjoe/adwaita,davidgumberg/gtk,alexlarsson/gtk,msteinert/gtk,grubersjoe/adwaita,chergert/gtk,davidt/gtk,alexlarsson/gtk,Lyude/gtk-,davidgumberg/gtk,Sidnioulz/SandboxGtk,davidt/gtk,ebassi/gtk,ahodesuka/gtk,davidt/gtk,grubersjoe/adwaita,simokivimaki/gtk,Adamovskiy/gtk,jigpu/gtk,jigpu/gtk,jigpu/gtk,ebassi/gtk,bratsche/gtk-,jigpu/gtk,jadahl/gtk,ahodesuka/gtk,grubersjoe/adwaita,simokivimaki/gtk,grubersjoe/adwaita