The compatibility header was needed after GTK+ 3.0 renamed the key symbols from `GDK_*` to `GDK_KEY_*` to avoid collisions.