forked from AuroraMiddleware/gtk
4848bf2719
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. |
||
---|---|---|
.. | ||
quartz | ||
tests | ||
win32 | ||
x11 | ||
abicheck.sh | ||
COPYING | ||
gdk.c | ||
gdk.h | ||
gdk.symbols | ||
gdkapplaunchcontext.c | ||
gdkapplaunchcontext.h | ||
gdkapplaunchcontextprivate.h | ||
gdkcairo.c | ||
gdkcairo.h | ||
gdkcolor.c | ||
gdkcolor.h | ||
gdkconfig.h.win32 | ||
gdkcursor.c | ||
gdkcursor.h | ||
gdkcursorprivate.h | ||
gdkdevice.c | ||
gdkdevice.h | ||
gdkdevicemanager.c | ||
gdkdevicemanager.h | ||
gdkdevicemanagerprivate.h | ||
gdkdeviceprivate.h | ||
gdkdisplay.c | ||
gdkdisplay.h | ||
gdkdisplaymanager.c | ||
gdkdisplaymanager.h | ||
gdkdisplaymanagerprivate.h | ||
gdkdisplayprivate.h | ||
gdkdnd.c | ||
gdkdnd.h | ||
gdkdndprivate.h | ||
gdkenumtypes.c.template | ||
gdkenumtypes.h.template | ||
gdkevents.c | ||
gdkevents.h | ||
gdkglobals.c | ||
gdkinternals.h | ||
gdkintl.h | ||
gdkkeynames.c | ||
gdkkeys.c | ||
gdkkeys.h | ||
gdkkeysprivate.h | ||
gdkkeysyms-compat.h | ||
gdkkeysyms-update.pl | ||
gdkkeysyms.h | ||
gdkkeyuni.c | ||
gdkmain.h | ||
gdkmarshalers.list | ||
gdkoffscreenwindow.c | ||
gdkpango.c | ||
gdkpango.h | ||
gdkpixbuf-drawable.c | ||
gdkpixbuf.h | ||
gdkprivate.h | ||
gdkproperty.h | ||
gdkrectangle.c | ||
gdkrectangle.h | ||
gdkrgba.c | ||
gdkrgba.h | ||
gdkscreen.c | ||
gdkscreen.h | ||
gdkscreenprivate.h | ||
gdkselection.c | ||
gdkselection.h | ||
gdktestutils.h | ||
gdkthreads.h | ||
gdktypes.h | ||
gdkvisual.c | ||
gdkvisual.h | ||
gdkvisualprivate.h | ||
gdkwindow.c | ||
gdkwindow.h | ||
gdkwindowimpl.c | ||
gdkwindowimpl.h | ||
gen-keyname-table.pl | ||
keyname-table.h | ||
keynames.txt | ||
makeenums.pl | ||
Makefile.am | ||
makefile.msc |