forked from AuroraMiddleware/gtk
43c212ac28
This patch makes that work using 1 of 2 options: 1. Add all missing enums to the switch statement or 2. Cast the switch argument to a uint to avoid having to do that (mostly for GdkEventType). I even found a bug while doing that: clearing a GtkImage with a surface did not notify thae surface property. The reason for enabling this flag even though it is tedious at times is that it is very useful when adding values to an enum, because it makes GTK immediately warn about all the switch statements where this enum is relevant. And I expect changes to enums to be frequent during the GTK4 development cycle. |
||
---|---|---|
.. | ||
gdkapplaunchcontext-x11.c | ||
gdkasync.c | ||
gdkasync.h | ||
gdkcursor-x11.c | ||
gdkdevice-core-x11.c | ||
gdkdevice-xi2.c | ||
gdkdevicemanager-core-x11.c | ||
gdkdevicemanager-x11.c | ||
gdkdevicemanager-xi2.c | ||
gdkdevicemanagerprivate-core.h | ||
gdkdisplay-x11.c | ||
gdkdisplay-x11.h | ||
gdkdnd-x11.c | ||
gdkeventsource.c | ||
gdkeventsource.h | ||
gdkeventtranslator.c | ||
gdkeventtranslator.h | ||
gdkgeometry-x11.c | ||
gdkglcontext-x11.c | ||
gdkglcontext-x11.h | ||
gdkkeys-x11.c | ||
gdkmain-x11.c | ||
gdkmonitor-x11.c | ||
gdkmonitor-x11.h | ||
gdkprivate-x11.h | ||
gdkproperty-x11.c | ||
gdkscreen-x11.c | ||
gdkscreen-x11.h | ||
gdkselection-x11.c | ||
gdksettings.c | ||
gdkvisual-x11.c | ||
gdkvulkancontext-x11.c | ||
gdkvulkancontext-x11.h | ||
gdkwindow-x11.c | ||
gdkwindow-x11.h | ||
gdkx11applaunchcontext.h | ||
gdkx11cursor.h | ||
gdkx11device-core.h | ||
gdkx11device-xi2.h | ||
gdkx11device.h | ||
gdkx11devicemanager-core.h | ||
gdkx11devicemanager-xi2.h | ||
gdkx11devicemanager-xi.h | ||
gdkx11devicemanager.h | ||
gdkx11display.h | ||
gdkx11dnd.h | ||
gdkx11glcontext.h | ||
gdkx11keys.h | ||
gdkx11monitor.h | ||
gdkx11property.h | ||
gdkx11screen.h | ||
gdkx11selection.h | ||
gdkx11utils.h | ||
gdkx11visual.h | ||
gdkx11window.h | ||
gdkx-autocleanups.h | ||
gdkx.h | ||
gdkxftdefaults.c | ||
gdkxid.c | ||
meson.build | ||
MwmUtil.h | ||
xsettings-client.c | ||
xsettings-client.h |