leaflet: Synchronize paired notifications

This ensures users can't react to a visible child change notification or
a fold change notification before we finish emitting all related
notifications.
7 jobs for leaflet in 9 minutes and 24 seconds (queued for 26 seconds)
Status Job ID Name Coverage
  Build
passed #34870
librem5
build-debian-clang

00:02:38

passed #34868
librem5
build-debian-gcc

00:02:30

passed #34869
librem5
build-debian-gcc-static

00:01:54

passed #34872
librem5
build-debian-package

00:02:01

passed #34871
librem5
build-fedora-gcc

00:03:05

 
  Docs
passed #34873
librem5
build-gtkdoc

00:01:32

 
  Test
passed #34874
librem5
unit-test

00:02:19

38.8%