MATE on Wayland!

That's inconvenient, means GtkSocket/GtkPlug method does not work in Wayland. Maybe dynamic loading would be an alternative. Like dlopen the plugin and let it return a widget.
I fouind a simple example. GitHub - fd3kyt/dlopen_example: An example of dlopen().