gtk2/testsuite
Emmanuele Bassi f28aa1ba02 Restructure the GdkEvent type hierarchy
GdkEvent has been a "I-can't-believe-this-is-not-OOP" type for ages,
using a union of sub-types. This has always been problematic when it
comes to implementing accessor functions: either you get generic API
that takes a GdkEvent and uses a massive switch() to determine which
event types have the data you're looking for; or you create namespaced
accessors, but break language bindings horribly, as boxed types cannot
have derived types.

The recent conversion of GskRenderNode (which had similar issues) to
GTypeInstance, and the fact that GdkEvent is now a completely opaque
type, provide us with the chance of moving GdkEvent to GTypeInstance,
and have sub-types for GdkEvent.

The change from boxed type to GTypeInstance is pretty small, all things
considered, but ends up cascading to a larger commit, as we still have
backends and code in GTK trying to access GdkEvent structures directly.
Additionally, the naming of the public getter functions requires
renaming all the data structures to conform to the namespace/type-name
pattern.
2020-04-16 19:54:02 +01:00
..
a11y Update a11y test results 2020-04-09 18:26:10 -04:00
css gtk: Remove bindings 2020-03-25 23:14:27 -04:00
gdk testsuite: Tell meson we use TAP 2020-03-20 11:55:26 -04:00
gsk testsuite: Tell meson we use TAP 2020-03-20 11:55:26 -04:00
gtk Restructure the GdkEvent type hierarchy 2020-04-16 19:54:02 +01:00
performance testsuite/performance: Add common_cflags to build 2020-03-06 18:22:01 +01:00
reftests reftest: get backtraces 2020-04-12 11:44:13 -04:00
tools Fix tests for margin-left and margin-right. 2020-04-12 19:28:33 +02:00
meson.build Make the performance testcase more general 2020-01-22 00:59:04 -05:00