On Sat, 30 Jun 2018 22:26:14 +0200, Mike Wey wrote:

I can't reproduce this locally, do you have a more complete example?

I created a simple project and implemented this. It was working, so I did a clean build of the project and it worked too. Probably meson failed to update the gresources or something like that. I am so sorry for wasting your time.