Skip to content

gtk4: unbreak wayland, x11egl, x11glx features on non-Linux

Jan Beich requested to merge (removed):gtk4-bsd into main

Found via Authenticator@db3afdc7b931 while updating downstream package. Both Wayland and X11 are supported on all BSDs, including macOS. Since the features are non-default there's no need for extra gatekeeping.

error[E0282]: type annotations needed for `(_, _)`
   --> Authenticator-4.3.1/cargo-crates/gst-plugin-gtk4-0.10.5/src/sink/imp.rs:637:13
    |
637 |         let (display, wrapped_context) = match res {
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
644 |         match wrapped_context.activate(true) {
    |               --------------- type must be known at this point
    |
help: consider giving this pattern a type, where the placeholders `_` are specified
    |
637 |         let (display, wrapped_context): (_, _) = match res {
    |                                       ++++++++

Merge request reports