0s autopkgtest [18:16:09]: starting date and time: 2026-01-22 18:16:09+0000 0s autopkgtest [18:16:09]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [18:16:09]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.bt7hqdvg/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.14.2-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@sto01-ppc64el-7.secgroup --name adt-resolute-ppc64el-glib2.0-20260122-181609-juju-7f2275-prod-proposed-migration-environment-15-dd782a9c-cc39-42ad-91b9-9495ecf6bce8 --image adt/ubuntu-resolute-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-autopkgtest-workers-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-ppc64el-glib2.0-20260122-181609-juju-7f2275-prod-proposed-migration-environment-15-dd782a9c-cc39-42ad-91b9-9495ecf6bce8 from image adt/ubuntu-resolute-ppc64el-server-20260122.img (UUID 987e5803-394f-43eb-a969-151b6b75a57a)... 51s autopkgtest [18:17:00]: testbed dpkg architecture: ppc64el 51s autopkgtest [18:17:00]: testbed apt version: 3.1.12 51s autopkgtest [18:17:00]: @@@@@@@@@@@@@@@@@@@@ test bed setup 51s autopkgtest [18:17:00]: testbed release detected to be: None 52s autopkgtest [18:17:01]: updating testbed package index (apt update) 52s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 52s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 52s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 53s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 53s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 53s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [815 kB] 53s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [80.9 kB] 53s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [19.2 kB] 53s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [103 kB] 53s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [618 kB] 53s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [4644 B] 53s Fetched 1768 kB in 1s (2629 kB/s) 54s Reading package lists... 54s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 55s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 55s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 55s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 55s Reading package lists... 55s Reading package lists... 56s Building dependency tree... 56s Reading state information... 56s Calculating upgrade... 56s The following packages were automatically installed and are no longer required: 56s python3.13 python3.13-minimal 56s Use 'sudo apt autoremove' to remove them. 56s The following NEW packages will be installed: 56s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 56s The following packages will be upgraded: 56s libpython3-stdlib python3 python3-gdbm python3-minimal 56s 4 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 56s Need to get 6966 kB of archives. 56s After this operation, 27.7 MB of additional disk space will be used. 56s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-minimal ppc64el 3.14.2-1 [921 kB] 56s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14-minimal ppc64el 3.14.2-1 [2712 kB] 56s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-gdbm ppc64el 3.14.2-1 [11.1 kB] 56s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.14.2-1 [28.2 kB] 56s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.14.2-1 [22.9 kB] 56s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-stdlib ppc64el 3.14.2-1 [2444 kB] 56s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14 ppc64el 3.14.2-1 [816 kB] 56s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.14.2-1 [10.9 kB] 57s dpkg-preconfigure: unable to re-open stdin: No such file or directory 57s Fetched 6966 kB in 0s (16.4 MB/s) 57s Selecting previously unselected package libpython3.14-minimal:ppc64el. 57s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 120824 files and directories currently installed.) 57s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_ppc64el.deb ... 57s Unpacking libpython3.14-minimal:ppc64el (3.14.2-1) ... 58s Selecting previously unselected package python3.14-minimal. 58s Preparing to unpack .../python3.14-minimal_3.14.2-1_ppc64el.deb ... 58s Unpacking python3.14-minimal (3.14.2-1) ... 58s Preparing to unpack .../python3-gdbm_3.14.2-1_ppc64el.deb ... 58s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-1) ... 58s Setting up libpython3.14-minimal:ppc64el (3.14.2-1) ... 58s Setting up python3.14-minimal (3.14.2-1) ... 59s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121166 files and directories currently installed.) 59s Preparing to unpack .../python3-minimal_3.14.2-1_ppc64el.deb ... 59s Unpacking python3-minimal (3.14.2-1) over (3.13.7-1) ... 59s Setting up python3-minimal (3.14.2-1) ... 59s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121166 files and directories currently installed.) 59s Preparing to unpack .../python3_3.14.2-1_ppc64el.deb ... 59s running python pre-rtupdate hooks for python3.14... 59s Unpacking python3 (3.14.2-1) over (3.13.7-1) ... 59s Selecting previously unselected package libpython3.14-stdlib:ppc64el. 59s Preparing to unpack .../libpython3.14-stdlib_3.14.2-1_ppc64el.deb ... 59s Unpacking libpython3.14-stdlib:ppc64el (3.14.2-1) ... 60s Selecting previously unselected package python3.14. 60s Preparing to unpack .../python3.14_3.14.2-1_ppc64el.deb ... 60s Unpacking python3.14 (3.14.2-1) ... 60s Preparing to unpack .../libpython3-stdlib_3.14.2-1_ppc64el.deb ... 60s Unpacking libpython3-stdlib:ppc64el (3.14.2-1) over (3.13.7-1) ... 60s Setting up libpython3.14-stdlib:ppc64el (3.14.2-1) ... 60s Setting up python3.14 (3.14.2-1) ... 61s Setting up libpython3-stdlib:ppc64el (3.14.2-1) ... 61s Setting up python3-gdbm (3.14.2-1) ... 61s Setting up python3 (3.14.2-1) ... 61s running python rtupdate hooks for python3.14... 61s running python post-rtupdate hooks for python3.14... 62s Processing triggers for man-db (2.13.1-1) ... 63s Processing triggers for systemd (259-1ubuntu2) ... 63s autopkgtest [18:17:12]: upgrading testbed (apt dist-upgrade and autopurge) 63s Reading package lists... 63s Building dependency tree... 63s Reading state information... 63s Calculating upgrade... 63s The following packages were automatically installed and are no longer required: 63s python3.13 python3.13-minimal 63s Use 'sudo apt autoremove' to remove them. 63s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 63s Reading package lists... 64s Building dependency tree... 64s Reading state information... 64s Solving dependencies... 64s The following packages will be REMOVED: 64s python3.13* python3.13-minimal* 64s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 64s After this operation, 9077 kB disk space will be freed. 64s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121596 files and directories currently installed.) 64s Removing python3.13 (3.13.11-1) ... 64s Removing python3.13-minimal (3.13.11-1) ... 66s Processing triggers for man-db (2.13.1-1) ... 66s Processing triggers for systemd (259-1ubuntu2) ... 66s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121569 files and directories currently installed.) 66s Purging configuration files for python3.13-minimal (3.13.11-1) ... 69s autopkgtest [18:17:18]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 12 16:45:54 UTC 2026 69s autopkgtest [18:17:18]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 77s Get:1 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (dsc) [4685 B] 77s Get:2 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (tar) [661 kB] 77s Get:3 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (tar) [5675 kB] 77s Get:4 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (diff) [141 kB] 77s gpgv: Signature made Thu Jan 1 13:00:10 2026 UTC 77s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 77s gpgv: Can't check signature: No public key 77s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.86.3-4.dsc: no acceptable signature found 78s autopkgtest [18:17:27]: testing package glib2.0 version 2.86.3-4 82s autopkgtest [18:17:31]: build not needed 90s autopkgtest [18:17:38]: test build: preparing testbed 90s Reading package lists... 90s Building dependency tree... 90s Reading state information... 90s Solving dependencies... 90s The following NEW packages will be installed: 90s build-essential cpp cpp-15 cpp-15-powerpc64le-linux-gnu 90s cpp-powerpc64le-linux-gnu g++ g++-15 g++-15-powerpc64le-linux-gnu 90s g++-powerpc64le-linux-gnu gcc gcc-15 gcc-15-powerpc64le-linux-gnu 90s gcc-powerpc64le-linux-gnu libasan8 libblkid-dev libcc1-0 libffi-dev 90s libgcc-15-dev libgio-2.0-dev libgomp1 libisl23 libitm1 liblsan0 libmount-dev 90s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 90s libquadmath0 libselinux-dev libsepol-dev libstdc++-15-dev 90s libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf pkgconf-bin uuid-dev 90s zlib1g-dev 90s 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. 90s Need to get 67.4 MB of archives. 90s After this operation, 247 MB of additional disk space will be used. 90s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libisl23 ppc64el 0.27-1build1 [893 kB] 90s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmpc3 ppc64el 1.3.1-2 [62.5 kB] 90s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15-powerpc64le-linux-gnu ppc64el 15.2.0-11ubuntu1 [11.4 MB] 92s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15 ppc64el 15.2.0-11ubuntu1 [1038 B] 92s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [5746 B] 92s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp ppc64el 4:15.2.0-4ubuntu1 [22.4 kB] 92s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcc1-0 ppc64el 15.2.0-11ubuntu1 [49.0 kB] 92s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgomp1 ppc64el 15.2.0-11ubuntu1 [169 kB] 92s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libitm1 ppc64el 15.2.0-11ubuntu1 [32.2 kB] 92s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el libasan8 ppc64el 15.2.0-11ubuntu1 [3006 kB] 93s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el liblsan0 ppc64el 15.2.0-11ubuntu1 [1374 kB] 93s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el libtsan2 ppc64el 15.2.0-11ubuntu1 [2728 kB] 94s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el libubsan1 ppc64el 15.2.0-11ubuntu1 [1231 kB] 94s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libquadmath0 ppc64el 15.2.0-11ubuntu1 [160 kB] 94s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgcc-15-dev ppc64el 15.2.0-11ubuntu1 [1670 kB] 94s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15-powerpc64le-linux-gnu ppc64el 15.2.0-11ubuntu1 [22.4 MB] 98s Get:17 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15 ppc64el 15.2.0-11ubuntu1 [528 kB] 98s Get:18 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [1220 B] 98s Get:19 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc ppc64el 4:15.2.0-4ubuntu1 [5032 B] 98s Get:20 http://ftpmaster.internal/ubuntu resolute/main ppc64el libstdc++-15-dev ppc64el 15.2.0-11ubuntu1 [2745 kB] 98s Get:21 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15-powerpc64le-linux-gnu ppc64el 15.2.0-11ubuntu1 [13.0 MB] 100s Get:22 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15 ppc64el 15.2.0-11ubuntu1 [24.6 kB] 100s Get:23 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [970 B] 100s Get:24 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++ ppc64el 4:15.2.0-4ubuntu1 [1092 B] 100s Get:25 http://ftpmaster.internal/ubuntu resolute/main ppc64el build-essential ppc64el 12.12ubuntu2 [5256 B] 100s Get:26 http://ftpmaster.internal/ubuntu resolute/main ppc64el libffi-dev ppc64el 3.5.2-3 [72.7 kB] 100s Get:27 http://ftpmaster.internal/ubuntu resolute/main ppc64el uuid-dev ppc64el 2.41.2-4ubuntu2 [59.9 kB] 100s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el libblkid-dev ppc64el 2.41.2-4ubuntu2 [293 kB] 100s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsepol-dev ppc64el 3.9-2 [516 kB] 100s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-16-0 ppc64el 10.46-1 [292 kB] 100s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-32-0 ppc64el 10.46-1 [275 kB] 100s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-posix3 ppc64el 10.46-1 [7334 B] 100s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-dev ppc64el 10.46-1 [937 kB] 100s Get:34 http://ftpmaster.internal/ubuntu resolute/main ppc64el libselinux-dev ppc64el 3.9-4 [210 kB] 100s Get:35 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmount-dev ppc64el 2.41.2-4ubuntu2 [37.6 kB] 100s Get:36 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsysprof-capture-4-dev ppc64el 49.0-5 [62.0 kB] 100s Get:37 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpkgconf3 ppc64el 1.8.1-4build1 [37.9 kB] 100s Get:38 http://ftpmaster.internal/ubuntu resolute/main ppc64el pkgconf-bin ppc64el 1.8.1-4build1 [22.7 kB] 100s Get:39 http://ftpmaster.internal/ubuntu resolute/main ppc64el pkgconf ppc64el 1.8.1-4build1 [16.8 kB] 100s Get:40 http://ftpmaster.internal/ubuntu resolute/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu2 [903 kB] 100s Get:41 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev ppc64el 2.86.3-4 [2206 kB] 101s Fetched 67.4 MB in 11s (5965 kB/s) 101s Selecting previously unselected package libisl23:ppc64el. 101s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121571 files and directories currently installed.) 101s Preparing to unpack .../00-libisl23_0.27-1build1_ppc64el.deb ... 101s Unpacking libisl23:ppc64el (0.27-1build1) ... 101s Selecting previously unselected package libmpc3:ppc64el. 101s Preparing to unpack .../01-libmpc3_1.3.1-2_ppc64el.deb ... 101s Unpacking libmpc3:ppc64el (1.3.1-2) ... 101s Selecting previously unselected package cpp-15-powerpc64le-linux-gnu. 101s Preparing to unpack .../02-cpp-15-powerpc64le-linux-gnu_15.2.0-11ubuntu1_ppc64el.deb ... 101s Unpacking cpp-15-powerpc64le-linux-gnu (15.2.0-11ubuntu1) ... 101s Selecting previously unselected package cpp-15. 101s Preparing to unpack .../03-cpp-15_15.2.0-11ubuntu1_ppc64el.deb ... 101s Unpacking cpp-15 (15.2.0-11ubuntu1) ... 101s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 101s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 101s Unpacking cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 101s Selecting previously unselected package cpp. 101s Preparing to unpack .../05-cpp_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 101s Unpacking cpp (4:15.2.0-4ubuntu1) ... 101s Selecting previously unselected package libcc1-0:ppc64el. 101s Preparing to unpack .../06-libcc1-0_15.2.0-11ubuntu1_ppc64el.deb ... 101s Unpacking libcc1-0:ppc64el (15.2.0-11ubuntu1) ... 101s Selecting previously unselected package libgomp1:ppc64el. 101s Preparing to unpack .../07-libgomp1_15.2.0-11ubuntu1_ppc64el.deb ... 101s Unpacking libgomp1:ppc64el (15.2.0-11ubuntu1) ... 101s Selecting previously unselected package libitm1:ppc64el. 101s Preparing to unpack .../08-libitm1_15.2.0-11ubuntu1_ppc64el.deb ... 101s Unpacking libitm1:ppc64el (15.2.0-11ubuntu1) ... 101s Selecting previously unselected package libasan8:ppc64el. 101s Preparing to unpack .../09-libasan8_15.2.0-11ubuntu1_ppc64el.deb ... 101s Unpacking libasan8:ppc64el (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package liblsan0:ppc64el. 102s Preparing to unpack .../10-liblsan0_15.2.0-11ubuntu1_ppc64el.deb ... 102s Unpacking liblsan0:ppc64el (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package libtsan2:ppc64el. 102s Preparing to unpack .../11-libtsan2_15.2.0-11ubuntu1_ppc64el.deb ... 102s Unpacking libtsan2:ppc64el (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package libubsan1:ppc64el. 102s Preparing to unpack .../12-libubsan1_15.2.0-11ubuntu1_ppc64el.deb ... 102s Unpacking libubsan1:ppc64el (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package libquadmath0:ppc64el. 102s Preparing to unpack .../13-libquadmath0_15.2.0-11ubuntu1_ppc64el.deb ... 102s Unpacking libquadmath0:ppc64el (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package libgcc-15-dev:ppc64el. 102s Preparing to unpack .../14-libgcc-15-dev_15.2.0-11ubuntu1_ppc64el.deb ... 102s Unpacking libgcc-15-dev:ppc64el (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package gcc-15-powerpc64le-linux-gnu. 102s Preparing to unpack .../15-gcc-15-powerpc64le-linux-gnu_15.2.0-11ubuntu1_ppc64el.deb ... 102s Unpacking gcc-15-powerpc64le-linux-gnu (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package gcc-15. 102s Preparing to unpack .../16-gcc-15_15.2.0-11ubuntu1_ppc64el.deb ... 102s Unpacking gcc-15 (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 102s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 102s Unpacking gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 102s Selecting previously unselected package gcc. 102s Preparing to unpack .../18-gcc_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 102s Unpacking gcc (4:15.2.0-4ubuntu1) ... 102s Selecting previously unselected package libstdc++-15-dev:ppc64el. 102s Preparing to unpack .../19-libstdc++-15-dev_15.2.0-11ubuntu1_ppc64el.deb ... 102s Unpacking libstdc++-15-dev:ppc64el (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package g++-15-powerpc64le-linux-gnu. 102s Preparing to unpack .../20-g++-15-powerpc64le-linux-gnu_15.2.0-11ubuntu1_ppc64el.deb ... 102s Unpacking g++-15-powerpc64le-linux-gnu (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package g++-15. 102s Preparing to unpack .../21-g++-15_15.2.0-11ubuntu1_ppc64el.deb ... 102s Unpacking g++-15 (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package g++-powerpc64le-linux-gnu. 102s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 102s Unpacking g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 102s Selecting previously unselected package g++. 102s Preparing to unpack .../23-g++_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 102s Unpacking g++ (4:15.2.0-4ubuntu1) ... 102s Selecting previously unselected package build-essential. 102s Preparing to unpack .../24-build-essential_12.12ubuntu2_ppc64el.deb ... 102s Unpacking build-essential (12.12ubuntu2) ... 103s Selecting previously unselected package libffi-dev:ppc64el. 103s Preparing to unpack .../25-libffi-dev_3.5.2-3_ppc64el.deb ... 103s Unpacking libffi-dev:ppc64el (3.5.2-3) ... 103s Selecting previously unselected package uuid-dev:ppc64el. 103s Preparing to unpack .../26-uuid-dev_2.41.2-4ubuntu2_ppc64el.deb ... 103s Unpacking uuid-dev:ppc64el (2.41.2-4ubuntu2) ... 103s Selecting previously unselected package libblkid-dev:ppc64el. 103s Preparing to unpack .../27-libblkid-dev_2.41.2-4ubuntu2_ppc64el.deb ... 103s Unpacking libblkid-dev:ppc64el (2.41.2-4ubuntu2) ... 103s Selecting previously unselected package libsepol-dev:ppc64el. 103s Preparing to unpack .../28-libsepol-dev_3.9-2_ppc64el.deb ... 103s Unpacking libsepol-dev:ppc64el (3.9-2) ... 103s Selecting previously unselected package libpcre2-16-0:ppc64el. 103s Preparing to unpack .../29-libpcre2-16-0_10.46-1_ppc64el.deb ... 103s Unpacking libpcre2-16-0:ppc64el (10.46-1) ... 103s Selecting previously unselected package libpcre2-32-0:ppc64el. 103s Preparing to unpack .../30-libpcre2-32-0_10.46-1_ppc64el.deb ... 103s Unpacking libpcre2-32-0:ppc64el (10.46-1) ... 103s Selecting previously unselected package libpcre2-posix3:ppc64el. 103s Preparing to unpack .../31-libpcre2-posix3_10.46-1_ppc64el.deb ... 103s Unpacking libpcre2-posix3:ppc64el (10.46-1) ... 103s Selecting previously unselected package libpcre2-dev:ppc64el. 103s Preparing to unpack .../32-libpcre2-dev_10.46-1_ppc64el.deb ... 103s Unpacking libpcre2-dev:ppc64el (10.46-1) ... 103s Selecting previously unselected package libselinux-dev:ppc64el. 103s Preparing to unpack .../33-libselinux-dev_3.9-4_ppc64el.deb ... 103s Unpacking libselinux-dev:ppc64el (3.9-4) ... 103s Selecting previously unselected package libmount-dev:ppc64el. 103s Preparing to unpack .../34-libmount-dev_2.41.2-4ubuntu2_ppc64el.deb ... 103s Unpacking libmount-dev:ppc64el (2.41.2-4ubuntu2) ... 103s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 103s Preparing to unpack .../35-libsysprof-capture-4-dev_49.0-5_ppc64el.deb ... 103s Unpacking libsysprof-capture-4-dev:ppc64el (49.0-5) ... 103s Selecting previously unselected package libpkgconf3:ppc64el. 103s Preparing to unpack .../36-libpkgconf3_1.8.1-4build1_ppc64el.deb ... 103s Unpacking libpkgconf3:ppc64el (1.8.1-4build1) ... 103s Selecting previously unselected package pkgconf-bin. 103s Preparing to unpack .../37-pkgconf-bin_1.8.1-4build1_ppc64el.deb ... 103s Unpacking pkgconf-bin (1.8.1-4build1) ... 103s Selecting previously unselected package pkgconf:ppc64el. 103s Preparing to unpack .../38-pkgconf_1.8.1-4build1_ppc64el.deb ... 103s Unpacking pkgconf:ppc64el (1.8.1-4build1) ... 103s Selecting previously unselected package zlib1g-dev:ppc64el. 103s Preparing to unpack .../39-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_ppc64el.deb ... 103s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 103s Selecting previously unselected package libgio-2.0-dev:ppc64el. 103s Preparing to unpack .../40-libgio-2.0-dev_2.86.3-4_ppc64el.deb ... 103s Unpacking libgio-2.0-dev:ppc64el (2.86.3-4) ... 103s Setting up libgomp1:ppc64el (15.2.0-11ubuntu1) ... 103s Setting up libffi-dev:ppc64el (3.5.2-3) ... 103s Setting up libpcre2-16-0:ppc64el (10.46-1) ... 103s Setting up libsysprof-capture-4-dev:ppc64el (49.0-5) ... 103s Setting up libpcre2-32-0:ppc64el (10.46-1) ... 103s Setting up libpkgconf3:ppc64el (1.8.1-4build1) ... 103s Setting up uuid-dev:ppc64el (2.41.2-4ubuntu2) ... 103s Setting up libquadmath0:ppc64el (15.2.0-11ubuntu1) ... 103s Setting up libmpc3:ppc64el (1.3.1-2) ... 103s Setting up libsepol-dev:ppc64el (3.9-2) ... 103s Setting up pkgconf-bin (1.8.1-4build1) ... 103s Setting up libubsan1:ppc64el (15.2.0-11ubuntu1) ... 103s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 103s Setting up libpcre2-posix3:ppc64el (10.46-1) ... 103s Setting up libasan8:ppc64el (15.2.0-11ubuntu1) ... 103s Setting up libtsan2:ppc64el (15.2.0-11ubuntu1) ... 103s Setting up libisl23:ppc64el (0.27-1build1) ... 103s Setting up libcc1-0:ppc64el (15.2.0-11ubuntu1) ... 103s Setting up liblsan0:ppc64el (15.2.0-11ubuntu1) ... 103s Setting up libitm1:ppc64el (15.2.0-11ubuntu1) ... 103s Setting up libblkid-dev:ppc64el (2.41.2-4ubuntu2) ... 103s Setting up libgcc-15-dev:ppc64el (15.2.0-11ubuntu1) ... 103s Setting up libpcre2-dev:ppc64el (10.46-1) ... 103s Setting up pkgconf:ppc64el (1.8.1-4build1) ... 103s Setting up cpp-15-powerpc64le-linux-gnu (15.2.0-11ubuntu1) ... 103s Setting up libstdc++-15-dev:ppc64el (15.2.0-11ubuntu1) ... 103s Setting up cpp-15 (15.2.0-11ubuntu1) ... 103s Setting up libselinux-dev:ppc64el (3.9-4) ... 103s Setting up libmount-dev:ppc64el (2.41.2-4ubuntu2) ... 103s Setting up cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 103s Setting up libgio-2.0-dev:ppc64el (2.86.3-4) ... 103s Setting up gcc-15-powerpc64le-linux-gnu (15.2.0-11ubuntu1) ... 103s Setting up gcc-15 (15.2.0-11ubuntu1) ... 103s Setting up gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 103s Setting up cpp (4:15.2.0-4ubuntu1) ... 103s Setting up g++-15-powerpc64le-linux-gnu (15.2.0-11ubuntu1) ... 103s Setting up gcc (4:15.2.0-4ubuntu1) ... 103s Setting up g++-15 (15.2.0-11ubuntu1) ... 103s Setting up g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 103s Setting up g++ (4:15.2.0-4ubuntu1) ... 103s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 103s Setting up build-essential (12.12ubuntu2) ... 103s Processing triggers for libc-bin (2.42-2ubuntu4) ... 103s Processing triggers for man-db (2.13.1-1) ... 104s Processing triggers for libglib2.0-0t64:ppc64el (2.86.3-4) ... 104s No schema files found: doing nothing. 104s Processing triggers for install-info (7.2-5) ... 105s autopkgtest [18:17:54]: test build: [----------------------- 105s + mode=dynamic 105s + getopt -o --long static -n debian/tests/build -- 105s + getopt_temp= -- 105s + eval set -- -- 105s + set -- -- 105s + true 105s + shift 105s + break 105s + mktemp -d 105s + WORKDIR=/tmp/tmp.8hx6JuX57m 105s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 105s + cd /tmp/tmp.8hx6JuX57m 105s + [ -n ] 105s + CROSS_COMPILE= 105s + cat 105s + cat 105s + cat 105s + cat 105s + cat 105s + cat 105s + cflags= 105s + pcflags= 105s + packages=glib-2.0 105s + pkg-config --cflags --libs glib-2.0 105s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 105s build (glib, dynamic): OK 105s + echo build (glib, dynamic): OK 105s + [ -x glib-dynamic ] 105s + foo=bar ./glib-dynamic 105s run (glib, dynamic): OK 105s + echo run (glib, dynamic): OK 105s + cflags= 105s + pcflags= 105s + packages=gobject-2.0 105s + pkg-config --cflags --libs gobject-2.0 105s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 106s build (gobject, dynamic): OK 106s + echo build (gobject, dynamic): OK 106s + [ -x gobject-dynamic ] 106s + foo=bar ./gobject-dynamic 106s + echo run (gobject, dynamic): OK 106s + cflags= 106s + pcflags= 106s + packages=gio-2.0 106s + pkg-config --cflags --libs gio-2.0 106s run (gobject, dynamic): OK 106s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 106s build (gio, dynamic): OK 106s + echo build (gio, dynamic): OK 106s + [ -x gio-dynamic ] 106s + foo=bar ./gio-dynamic 106s + echo run (gio, dynamic): OK 106s + cflags= 106s + pcflags= 106s + packages=gio-unix-2.0 106s + pkg-config --cflags --libs gio-unix-2.0 106s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 106s run (gio, dynamic): OK 106s build (gio-unix, dynamic): OK 106s + echo build (gio-unix, dynamic): OK 106s + [ -x gio-unix-dynamic ] 106s + foo=bar ./gio-unix-dynamic 106s + echo run (gio-unix, dynamic): OK 106s + cflags= 106s + pcflags= 106s + packages=gmodule-2.0 106s run (gio-unix, dynamic): OK 106s + pkg-config --cflags --libs gmodule-2.0 106s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 106s build (gmodule, dynamic): OK 106s + echo build (gmodule, dynamic): OK 106s + [ -x gmodule-dynamic ] 106s + foo=bar ./gmodule-dynamic 106s run (gmodule, dynamic): OK 106s + echo run (gmodule, dynamic): OK 106s + cflags= 106s + pcflags= 106s + packages=gthread-2.0 106s + pkg-config --cflags --libs gthread-2.0 106s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 106s build (gthread, dynamic): OK 106s run (gthread, dynamic): OK 106s + echo build (gthread, dynamic): OK 106s + [ -x gthread-dynamic ] 106s + foo=bar ./gthread-dynamic 106s + echo run (gthread, dynamic): OK 106s + rm -rf /tmp/tmp.8hx6JuX57m 106s autopkgtest [18:17:55]: test build: -----------------------] 107s build PASS (superficial) 107s autopkgtest [18:17:56]: test build: - - - - - - - - - - results - - - - - - - - - - 107s autopkgtest [18:17:56]: test build-static: preparing testbed 107s Reading package lists... 107s Building dependency tree... 107s Reading state information... 107s Solving dependencies... 108s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 108s autopkgtest [18:17:57]: test build-static: [----------------------- 108s + mode=dynamic 108s + getopt -o --long static -n debian/tests/build -- --static 108s + getopt_temp= --static -- 108s + eval set -- --static -- 108s + set -- --static -- 108s + true 108s + mode=static 108s + shift 108s + continue 108s + true 108s + shift 108s + break 108s + mktemp -d 108s + WORKDIR=/tmp/tmp.a0q5rV6acU 108s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 108s + cd /tmp/tmp.a0q5rV6acU 108s + [ -n ] 108s + CROSS_COMPILE= 108s + cat 108s + cat 108s + cat 108s + cat 108s + cat 108s + cat 108s + cflags= 108s + pcflags= 108s + packages=glib-2.0 108s + cflags=-static 108s + pcflags=--static 108s + pkg-config --static --cflags --libs glib-2.0 108s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 109s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 109s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s + echo build (glib, static): OK 109s + [ -x glib-static ] 109s + foo=bar ./glib-static 109s build (glib, static): OK 109s run (glib, static): OK 109s + echo run (glib, static): OK 109s + cflags= 109s + pcflags= 109s + packages=gobject-2.0 109s + cflags=-static 109s + pcflags=--static 109s + pkg-config --static --cflags --libs gobject-2.0 109s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 109s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 109s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s + echo build (gobject, static): OK 109s + [ -x gobject-static ] 109s + foo=bar ./gobject-static 109s build (gobject, static): OK 109s + echo run (gobject, static): OK 109s + cflags= 109s + pcflags= 109s + packages=gio-2.0 109s + cflags=-static 109s + pcflags=--static 109s + continue 109s + cflags= 109s + pcflags= 109s + packages=gio-unix-2.0 109s + cflags=-static 109s + pcflags=--static 109s + continue 109s + cflags= 109s + pcflags= 109s + packages=gmodule-2.0 109s + cflags=-static 109s + pcflags=--static 109s + pkg-config --static --cflags --libs gmodule-2.0 109s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 109s run (gobject, static): OK 109s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 109s (.text+0x944): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 109s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s + echo build (gmodule, static): OK 109s + [ -x gmodule-static ] 109s + foo=bar ./gmodule-static 109s build (gmodule, static): OK 109s + echo run (gmodule, static): OK 109s + cflags= 109s + pcflags= 109s + packages=gthread-2.0 109s + cflags=-static 109s + pcflags=--static 109s + pkg-config --static --cflags --libs gthread-2.0 109s run (gmodule, static): OK 109s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 109s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 109s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s + echo build (gthread, static): OK 109s + [ -x gthread-static ] 109s + foo=bar ./gthread-static 109s + echo run (gthread, static): OK 109s + rm -rf /tmp/tmp.a0q5rV6acU 109s build (gthread, static): OK 109s run (gthread, static): OK 110s autopkgtest [18:17:59]: test build-static: -----------------------] 110s autopkgtest [18:17:59]: test build-static: - - - - - - - - - - results - - - - - - - - - - 110s build-static PASS (superficial) 110s autopkgtest [18:17:59]: test girepository-tools: preparing testbed 129s Creating nova instance adt-resolute-ppc64el-glib2.0-20260122-181609-juju-7f2275-prod-proposed-migration-environment-15-dd782a9c-cc39-42ad-91b9-9495ecf6bce8 from image adt/ubuntu-resolute-ppc64el-server-20260122.img (UUID 987e5803-394f-43eb-a969-151b6b75a57a)... 177s autopkgtest [18:19:06]: testbed dpkg architecture: ppc64el 177s autopkgtest [18:19:06]: testbed apt version: 3.1.12 178s autopkgtest [18:19:07]: @@@@@@@@@@@@@@@@@@@@ test bed setup 178s autopkgtest [18:19:07]: testbed release detected to be: resolute 179s autopkgtest [18:19:08]: updating testbed package index (apt update) 179s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 179s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 179s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 179s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 179s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [19.2 kB] 179s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 179s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [80.9 kB] 179s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [815 kB] 180s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [103 kB] 180s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [618 kB] 180s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [4644 B] 180s Fetched 1768 kB in 1s (1883 kB/s) 180s Reading package lists... 181s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 181s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 181s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 181s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 182s Reading package lists... 182s Reading package lists... 182s Building dependency tree... 182s Reading state information... 182s Calculating upgrade... 182s The following packages were automatically installed and are no longer required: 182s python3.13 python3.13-minimal 182s Use 'sudo apt autoremove' to remove them. 182s The following NEW packages will be installed: 182s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 182s The following packages will be upgraded: 182s libpython3-stdlib python3 python3-gdbm python3-minimal 184s 4 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 184s Need to get 6966 kB of archives. 184s After this operation, 27.7 MB of additional disk space will be used. 184s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-minimal ppc64el 3.14.2-1 [921 kB] 184s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14-minimal ppc64el 3.14.2-1 [2712 kB] 184s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-gdbm ppc64el 3.14.2-1 [11.1 kB] 184s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.14.2-1 [28.2 kB] 184s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.14.2-1 [22.9 kB] 184s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-stdlib ppc64el 3.14.2-1 [2444 kB] 184s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14 ppc64el 3.14.2-1 [816 kB] 184s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.14.2-1 [10.9 kB] 185s dpkg-preconfigure: unable to re-open stdin: No such file or directory 185s Fetched 6966 kB in 2s (3818 kB/s) 185s Selecting previously unselected package libpython3.14-minimal:ppc64el. 185s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 120824 files and directories currently installed.) 185s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_ppc64el.deb ... 185s Unpacking libpython3.14-minimal:ppc64el (3.14.2-1) ... 185s Selecting previously unselected package python3.14-minimal. 185s Preparing to unpack .../python3.14-minimal_3.14.2-1_ppc64el.deb ... 185s Unpacking python3.14-minimal (3.14.2-1) ... 185s Preparing to unpack .../python3-gdbm_3.14.2-1_ppc64el.deb ... 185s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-1) ... 185s Setting up libpython3.14-minimal:ppc64el (3.14.2-1) ... 185s Setting up python3.14-minimal (3.14.2-1) ... 187s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121166 files and directories currently installed.) 187s Preparing to unpack .../python3-minimal_3.14.2-1_ppc64el.deb ... 187s Unpacking python3-minimal (3.14.2-1) over (3.13.7-1) ... 187s Setting up python3-minimal (3.14.2-1) ... 187s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121166 files and directories currently installed.) 187s Preparing to unpack .../python3_3.14.2-1_ppc64el.deb ... 187s running python pre-rtupdate hooks for python3.14... 187s Unpacking python3 (3.14.2-1) over (3.13.7-1) ... 187s Selecting previously unselected package libpython3.14-stdlib:ppc64el. 187s Preparing to unpack .../libpython3.14-stdlib_3.14.2-1_ppc64el.deb ... 187s Unpacking libpython3.14-stdlib:ppc64el (3.14.2-1) ... 187s Selecting previously unselected package python3.14. 187s Preparing to unpack .../python3.14_3.14.2-1_ppc64el.deb ... 187s Unpacking python3.14 (3.14.2-1) ... 188s Preparing to unpack .../libpython3-stdlib_3.14.2-1_ppc64el.deb ... 188s Unpacking libpython3-stdlib:ppc64el (3.14.2-1) over (3.13.7-1) ... 188s Setting up libpython3.14-stdlib:ppc64el (3.14.2-1) ... 188s Setting up python3.14 (3.14.2-1) ... 189s Setting up libpython3-stdlib:ppc64el (3.14.2-1) ... 189s Setting up python3-gdbm (3.14.2-1) ... 189s Setting up python3 (3.14.2-1) ... 189s running python rtupdate hooks for python3.14... 189s running python post-rtupdate hooks for python3.14... 189s Processing triggers for man-db (2.13.1-1) ... 190s Processing triggers for systemd (259-1ubuntu2) ... 190s autopkgtest [18:19:19]: upgrading testbed (apt dist-upgrade and autopurge) 190s Reading package lists... 190s Building dependency tree... 190s Reading state information... 190s Calculating upgrade... 190s The following packages were automatically installed and are no longer required: 190s python3.13 python3.13-minimal 190s Use 'sudo apt autoremove' to remove them. 190s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 191s Reading package lists... 191s Building dependency tree... 191s Reading state information... 191s Solving dependencies... 191s The following packages will be REMOVED: 191s python3.13* python3.13-minimal* 191s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 191s After this operation, 9077 kB disk space will be freed. 191s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121596 files and directories currently installed.) 191s Removing python3.13 (3.13.11-1) ... 191s Removing python3.13-minimal (3.13.11-1) ... 192s Processing triggers for man-db (2.13.1-1) ... 193s Processing triggers for systemd (259-1ubuntu2) ... 193s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121569 files and directories currently installed.) 193s Purging configuration files for python3.13-minimal (3.13.11-1) ... 195s Reading package lists... 196s Building dependency tree... 196s Reading state information... 196s Solving dependencies... 196s The following NEW packages will be installed: 196s gir1.2-glib-2.0-dev girepository-tools native-architecture 196s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 196s Need to get 1003 kB of archives. 196s After this operation, 12.5 MB of additional disk space will be used. 196s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.86.3-4 [865 kB] 196s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el native-architecture all 0.2.6build1 [2256 B] 196s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el girepository-tools ppc64el 2.86.3-4 [135 kB] 196s Fetched 1003 kB in 0s (7804 kB/s) 196s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 196s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121571 files and directories currently installed.) 196s Preparing to unpack .../gir1.2-glib-2.0-dev_2.86.3-4_ppc64el.deb ... 196s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.86.3-4) ... 196s Selecting previously unselected package native-architecture. 196s Preparing to unpack .../native-architecture_0.2.6build1_all.deb ... 196s Unpacking native-architecture (0.2.6build1) ... 196s Selecting previously unselected package girepository-tools:ppc64el. 196s Preparing to unpack .../girepository-tools_2.86.3-4_ppc64el.deb ... 196s Unpacking girepository-tools:ppc64el (2.86.3-4) ... 196s Setting up native-architecture (0.2.6build1) ... 196s Setting up gir1.2-glib-2.0-dev:ppc64el (2.86.3-4) ... 196s Setting up girepository-tools:ppc64el (2.86.3-4) ... 196s Processing triggers for man-db (2.13.1-1) ... 201s autopkgtest [18:19:30]: test girepository-tools: [----------------------- 201s + cd /tmp/autopkgtest.FuxDyo/autopkgtest_tmp 201s + dpkg-architecture -qDEB_HOST_GNU_TYPE 201s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 201s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 201s + dpkg-architecture -qDEB_HOST_MULTIARCH 201s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 201s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 201s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 201s typelib: GLib-2.0 201s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 201s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 202s autopkgtest [18:19:31]: test girepository-tools: -----------------------] 202s autopkgtest [18:19:31]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 202s girepository-tools PASS (superficial) 202s autopkgtest [18:19:31]: test libgio-2.0-dev-bin: preparing testbed 221s Creating nova instance adt-resolute-ppc64el-glib2.0-20260122-181609-juju-7f2275-prod-proposed-migration-environment-15-dd782a9c-cc39-42ad-91b9-9495ecf6bce8 from image adt/ubuntu-resolute-ppc64el-server-20260122.img (UUID 987e5803-394f-43eb-a969-151b6b75a57a)... 267s autopkgtest [18:20:36]: testbed dpkg architecture: ppc64el 267s autopkgtest [18:20:36]: testbed apt version: 3.1.12 267s autopkgtest [18:20:36]: @@@@@@@@@@@@@@@@@@@@ test bed setup 268s autopkgtest [18:20:37]: testbed release detected to be: resolute 268s autopkgtest [18:20:37]: updating testbed package index (apt update) 268s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 269s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 269s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 269s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 269s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [19.2 kB] 269s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [815 kB] 269s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [80.9 kB] 269s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 269s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [103 kB] 269s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [618 kB] 269s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [4644 B] 269s Fetched 1768 kB in 1s (3402 kB/s) 270s Reading package lists... 270s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 270s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 270s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 271s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 271s Reading package lists... 271s Reading package lists... 271s Building dependency tree... 271s Reading state information... 272s Calculating upgrade... 272s The following packages were automatically installed and are no longer required: 272s python3.13 python3.13-minimal 272s Use 'sudo apt autoremove' to remove them. 272s The following NEW packages will be installed: 272s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 272s The following packages will be upgraded: 272s libpython3-stdlib python3 python3-gdbm python3-minimal 272s 4 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 272s Need to get 6966 kB of archives. 272s After this operation, 27.7 MB of additional disk space will be used. 272s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-minimal ppc64el 3.14.2-1 [921 kB] 272s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14-minimal ppc64el 3.14.2-1 [2712 kB] 272s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-gdbm ppc64el 3.14.2-1 [11.1 kB] 272s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.14.2-1 [28.2 kB] 272s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.14.2-1 [22.9 kB] 272s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-stdlib ppc64el 3.14.2-1 [2444 kB] 272s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14 ppc64el 3.14.2-1 [816 kB] 273s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.14.2-1 [10.9 kB] 273s dpkg-preconfigure: unable to re-open stdin: No such file or directory 273s Fetched 6966 kB in 1s (8744 kB/s) 273s Selecting previously unselected package libpython3.14-minimal:ppc64el. 273s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 120824 files and directories currently installed.) 273s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_ppc64el.deb ... 273s Unpacking libpython3.14-minimal:ppc64el (3.14.2-1) ... 273s Selecting previously unselected package python3.14-minimal. 273s Preparing to unpack .../python3.14-minimal_3.14.2-1_ppc64el.deb ... 273s Unpacking python3.14-minimal (3.14.2-1) ... 274s Preparing to unpack .../python3-gdbm_3.14.2-1_ppc64el.deb ... 274s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-1) ... 274s Setting up libpython3.14-minimal:ppc64el (3.14.2-1) ... 274s Setting up python3.14-minimal (3.14.2-1) ... 275s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121166 files and directories currently installed.) 275s Preparing to unpack .../python3-minimal_3.14.2-1_ppc64el.deb ... 275s Unpacking python3-minimal (3.14.2-1) over (3.13.7-1) ... 275s Setting up python3-minimal (3.14.2-1) ... 276s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121166 files and directories currently installed.) 276s Preparing to unpack .../python3_3.14.2-1_ppc64el.deb ... 276s running python pre-rtupdate hooks for python3.14... 276s Unpacking python3 (3.14.2-1) over (3.13.7-1) ... 276s Selecting previously unselected package libpython3.14-stdlib:ppc64el. 276s Preparing to unpack .../libpython3.14-stdlib_3.14.2-1_ppc64el.deb ... 276s Unpacking libpython3.14-stdlib:ppc64el (3.14.2-1) ... 276s Selecting previously unselected package python3.14. 276s Preparing to unpack .../python3.14_3.14.2-1_ppc64el.deb ... 276s Unpacking python3.14 (3.14.2-1) ... 276s Preparing to unpack .../libpython3-stdlib_3.14.2-1_ppc64el.deb ... 276s Unpacking libpython3-stdlib:ppc64el (3.14.2-1) over (3.13.7-1) ... 276s Setting up libpython3.14-stdlib:ppc64el (3.14.2-1) ... 276s Setting up python3.14 (3.14.2-1) ... 277s Setting up libpython3-stdlib:ppc64el (3.14.2-1) ... 278s Setting up python3-gdbm (3.14.2-1) ... 278s Setting up python3 (3.14.2-1) ... 278s running python rtupdate hooks for python3.14... 278s running python post-rtupdate hooks for python3.14... 278s Processing triggers for man-db (2.13.1-1) ... 279s Processing triggers for systemd (259-1ubuntu2) ... 279s autopkgtest [18:20:48]: upgrading testbed (apt dist-upgrade and autopurge) 279s Reading package lists... 279s Building dependency tree... 279s Reading state information... 280s Calculating upgrade... 280s The following packages were automatically installed and are no longer required: 280s python3.13 python3.13-minimal 280s Use 'sudo apt autoremove' to remove them. 280s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 280s Reading package lists... 280s Building dependency tree... 280s Reading state information... 280s Solving dependencies... 280s The following packages will be REMOVED: 280s python3.13* python3.13-minimal* 280s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 280s After this operation, 9077 kB disk space will be freed. 280s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121596 files and directories currently installed.) 280s Removing python3.13 (3.13.11-1) ... 281s Removing python3.13-minimal (3.13.11-1) ... 282s Processing triggers for man-db (2.13.1-1) ... 282s Processing triggers for systemd (259-1ubuntu2) ... 282s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121569 files and directories currently installed.) 282s Purging configuration files for python3.13-minimal (3.13.11-1) ... 285s Reading package lists... 285s Building dependency tree... 285s Reading state information... 285s Solving dependencies... 285s The following NEW packages will be installed: 285s libgio-2.0-dev-bin 285s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 285s Need to get 131 kB of archives. 285s After this operation, 822 kB of additional disk space will be used. 285s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev-bin ppc64el 2.86.3-4 [131 kB] 286s Fetched 131 kB in 0s (4411 kB/s) 286s Selecting previously unselected package libgio-2.0-dev-bin. 286s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121571 files and directories currently installed.) 286s Preparing to unpack .../libgio-2.0-dev-bin_2.86.3-4_ppc64el.deb ... 286s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 286s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 286s Processing triggers for man-db (2.13.1-1) ... 293s autopkgtest [18:20:59]: test libgio-2.0-dev-bin: [----------------------- 293s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 293s [--c-namespace NAMESPACE] [--c-generate-object-manager] 293s [--c-generate-autocleanup {none,objects,all}] 293s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 293s [--generate-rst OUTFILES] [--pragma-once] 293s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 293s [--glib-min-required VERSION] 293s [--glib-max-allowed VERSION] 293s [--symbol-decorator SYMBOL_DECORATOR] 293s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 293s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 293s [--generate-c-code OUTFILES | --header | --body | 293s --interface-info-header | --interface-info-body] 293s [--output FILE | --output-directory OUTDIR] 293s FILE [FILE ...] 293s 293s D-Bus code and documentation generator 293s 293s positional arguments: 293s FILE D-Bus introspection XML file 293s 293s options: 293s -h, --help show this help message and exit 293s --interface-prefix PREFIX 293s String to strip from D-Bus interface names for code 293s and docs 293s --c-namespace NAMESPACE 293s The namespace to use for generated C code 293s --c-generate-object-manager 293s Generate a GDBusObjectManagerClient subclass when 293s generating C code 293s --c-generate-autocleanup {none,objects,all} 293s Generate autocleanup support 293s --generate-docbook OUTFILES 293s Generate Docbook in OUTFILES-org.Project.IFace.xml 293s --generate-md OUTFILES 293s Generate Markdown in OUTFILES-org.Project.IFace.md 293s --generate-rst OUTFILES 293s Generate reStructuredText in OUTFILES- 293s org.Project.IFace.rst 293s --pragma-once Use "pragma once" as the inclusion guard 293s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 293s Add annotation (may be used several times) 293s --glib-min-required VERSION 293s Minimum version of GLib to be supported by the 293s outputted code (default: 2.30) 293s --glib-max-allowed VERSION 293s Maximum version of GLib to be used by the outputted 293s code (default: current GLib version) 293s --symbol-decorator SYMBOL_DECORATOR 293s Macro used to decorate a symbol in the outputted 293s header, possibly to export symbols 293s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 293s Additional header required for decorator specified by 293s --symbol-decorator 293s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 293s Additional define required for decorator specified by 293s --symbol-decorator 293s --generate-c-code OUTFILES 293s Generate C code in OUTFILES.[ch] 293s --header Generate C headers 293s --body Generate C code 293s --interface-info-header 293s Generate GDBusInterfaceInfo C header 293s --interface-info-body 293s Generate GDBusInterfaceInfo C code 293s --output FILE Write output into the specified file 293s --output-directory OUTDIR 293s Location to output generated files 293s 2.86.3 293s glib-genmarshal version 2.86.3 293s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 293s You may redistribute copies of glib-genmarshal under the terms of 293s the GNU General Public License which can be found in the 293s GLib source package. Sources, examples and contact 293s information are available at http://www.gtk.org 293s /usr/bin/glib-gettextize (GNU glib) 2.86.3 293s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 293s This is free software; see the source for copying conditions. There is NO 293s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 293s Written by Ulrich Drepper 293s glib-mkenums version 2.86.3 293s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 293s You may redistribute copies of glib-mkenums under the terms of 293s the GNU General Public License which can be found in the 293s GLib source package. Sources, examples and contact 293s information are available at http://www.gtk.org 293s GObject 293s gtester version 2.86.3 293s gtester-report (GLib utils) version 2.86.3. 293s + gdbus-codegen --help 293s + glib-compile-resources --version 293s + glib-genmarshal --version 293s + glib-gettextize --version 293s + glib-mkenums --version 293s + gobject-query tree 293s + gtester --version 293s + gtester-report --version 293s autopkgtest [18:21:00]: test libgio-2.0-dev-bin: -----------------------] 295s autopkgtest [18:21:04]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 295s libgio-2.0-dev-bin PASS (superficial) 295s autopkgtest [18:21:04]: test libglib2.0-dev: preparing testbed 304s Creating nova instance adt-resolute-ppc64el-glib2.0-20260122-181609-juju-7f2275-prod-proposed-migration-environment-15-dd782a9c-cc39-42ad-91b9-9495ecf6bce8 from image adt/ubuntu-resolute-ppc64el-server-20260122.img (UUID 987e5803-394f-43eb-a969-151b6b75a57a)... 363s autopkgtest [18:22:12]: testbed dpkg architecture: ppc64el 363s autopkgtest [18:22:12]: testbed apt version: 3.1.12 363s autopkgtest [18:22:12]: @@@@@@@@@@@@@@@@@@@@ test bed setup 363s autopkgtest [18:22:12]: testbed release detected to be: resolute 364s autopkgtest [18:22:13]: updating testbed package index (apt update) 364s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 364s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 364s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 364s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 364s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [80.9 kB] 364s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [815 kB] 364s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 364s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [19.2 kB] 364s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [103 kB] 365s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [618 kB] 365s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [4644 B] 365s Fetched 1768 kB in 1s (3243 kB/s) 365s Reading package lists... 366s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 366s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 366s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 366s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 367s Reading package lists... 367s Reading package lists... 367s Building dependency tree... 367s Reading state information... 367s Calculating upgrade... 367s The following packages were automatically installed and are no longer required: 367s python3.13 python3.13-minimal 367s Use 'sudo apt autoremove' to remove them. 367s The following NEW packages will be installed: 367s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 367s The following packages will be upgraded: 367s libpython3-stdlib python3 python3-gdbm python3-minimal 367s 4 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 367s Need to get 6966 kB of archives. 367s After this operation, 27.7 MB of additional disk space will be used. 367s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-minimal ppc64el 3.14.2-1 [921 kB] 368s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14-minimal ppc64el 3.14.2-1 [2712 kB] 368s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-gdbm ppc64el 3.14.2-1 [11.1 kB] 368s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.14.2-1 [28.2 kB] 368s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.14.2-1 [22.9 kB] 368s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-stdlib ppc64el 3.14.2-1 [2444 kB] 368s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14 ppc64el 3.14.2-1 [816 kB] 368s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.14.2-1 [10.9 kB] 368s dpkg-preconfigure: unable to re-open stdin: No such file or directory 369s Fetched 6966 kB in 1s (12.7 MB/s) 369s Selecting previously unselected package libpython3.14-minimal:ppc64el. 369s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 120824 files and directories currently installed.) 369s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_ppc64el.deb ... 369s Unpacking libpython3.14-minimal:ppc64el (3.14.2-1) ... 369s Selecting previously unselected package python3.14-minimal. 369s Preparing to unpack .../python3.14-minimal_3.14.2-1_ppc64el.deb ... 369s Unpacking python3.14-minimal (3.14.2-1) ... 370s Preparing to unpack .../python3-gdbm_3.14.2-1_ppc64el.deb ... 370s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-1) ... 370s Setting up libpython3.14-minimal:ppc64el (3.14.2-1) ... 370s Setting up python3.14-minimal (3.14.2-1) ... 371s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121166 files and directories currently installed.) 371s Preparing to unpack .../python3-minimal_3.14.2-1_ppc64el.deb ... 371s Unpacking python3-minimal (3.14.2-1) over (3.13.7-1) ... 371s Setting up python3-minimal (3.14.2-1) ... 371s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121166 files and directories currently installed.) 371s Preparing to unpack .../python3_3.14.2-1_ppc64el.deb ... 371s running python pre-rtupdate hooks for python3.14... 371s Unpacking python3 (3.14.2-1) over (3.13.7-1) ... 371s Selecting previously unselected package libpython3.14-stdlib:ppc64el. 371s Preparing to unpack .../libpython3.14-stdlib_3.14.2-1_ppc64el.deb ... 371s Unpacking libpython3.14-stdlib:ppc64el (3.14.2-1) ... 372s Selecting previously unselected package python3.14. 372s Preparing to unpack .../python3.14_3.14.2-1_ppc64el.deb ... 372s Unpacking python3.14 (3.14.2-1) ... 372s Preparing to unpack .../libpython3-stdlib_3.14.2-1_ppc64el.deb ... 372s Unpacking libpython3-stdlib:ppc64el (3.14.2-1) over (3.13.7-1) ... 372s Setting up libpython3.14-stdlib:ppc64el (3.14.2-1) ... 372s Setting up python3.14 (3.14.2-1) ... 373s Setting up libpython3-stdlib:ppc64el (3.14.2-1) ... 373s Setting up python3-gdbm (3.14.2-1) ... 374s Setting up python3 (3.14.2-1) ... 374s running python rtupdate hooks for python3.14... 374s running python post-rtupdate hooks for python3.14... 374s Processing triggers for man-db (2.13.1-1) ... 375s Processing triggers for systemd (259-1ubuntu2) ... 375s autopkgtest [18:22:24]: upgrading testbed (apt dist-upgrade and autopurge) 375s Reading package lists... 375s Building dependency tree... 375s Reading state information... 375s Calculating upgrade... 375s The following packages were automatically installed and are no longer required: 375s python3.13 python3.13-minimal 375s Use 'sudo apt autoremove' to remove them. 375s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 375s Reading package lists... 376s Building dependency tree... 376s Reading state information... 376s Solving dependencies... 376s The following packages will be REMOVED: 376s python3.13* python3.13-minimal* 376s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 376s After this operation, 9077 kB disk space will be freed. 376s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121596 files and directories currently installed.) 376s Removing python3.13 (3.13.11-1) ... 376s Removing python3.13-minimal (3.13.11-1) ... 377s Processing triggers for man-db (2.13.1-1) ... 377s Processing triggers for systemd (259-1ubuntu2) ... 378s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121569 files and directories currently installed.) 378s Purging configuration files for python3.13-minimal (3.13.11-1) ... 380s Reading package lists... 380s Building dependency tree... 380s Reading state information... 380s Solving dependencies... 380s The following NEW packages will be installed: 380s build-essential cpp cpp-15 cpp-15-powerpc64le-linux-gnu 380s cpp-powerpc64le-linux-gnu g++ g++-15 g++-15-powerpc64le-linux-gnu 380s g++-powerpc64le-linux-gnu gcc gcc-15 gcc-15-powerpc64le-linux-gnu 380s gcc-powerpc64le-linux-gnu gir1.2-glib-2.0-dev girepository-tools libasan8 380s libblkid-dev libcc1-0 libffi-dev libgcc-15-dev libgio-2.0-dev 380s libgio-2.0-dev-bin libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin libgomp1 380s libisl23 libitm1 liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 380s libpcre2-dev libpcre2-posix3 libpkgconf3 libquadmath0 libselinux-dev 380s libsepol-dev libstdc++-15-dev libsysprof-capture-4-dev libtsan2 libubsan1 380s native-architecture pkgconf pkgconf-bin uuid-dev zlib1g-dev 380s 0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded. 380s Need to get 68.7 MB of archives. 380s After this operation, 261 MB of additional disk space will be used. 380s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libisl23 ppc64el 0.27-1build1 [893 kB] 381s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmpc3 ppc64el 1.3.1-2 [62.5 kB] 381s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15-powerpc64le-linux-gnu ppc64el 15.2.0-11ubuntu1 [11.4 MB] 382s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15 ppc64el 15.2.0-11ubuntu1 [1038 B] 382s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [5746 B] 382s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp ppc64el 4:15.2.0-4ubuntu1 [22.4 kB] 382s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcc1-0 ppc64el 15.2.0-11ubuntu1 [49.0 kB] 382s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgomp1 ppc64el 15.2.0-11ubuntu1 [169 kB] 382s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libitm1 ppc64el 15.2.0-11ubuntu1 [32.2 kB] 382s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el libasan8 ppc64el 15.2.0-11ubuntu1 [3006 kB] 383s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el liblsan0 ppc64el 15.2.0-11ubuntu1 [1374 kB] 383s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el libtsan2 ppc64el 15.2.0-11ubuntu1 [2728 kB] 383s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el libubsan1 ppc64el 15.2.0-11ubuntu1 [1231 kB] 383s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libquadmath0 ppc64el 15.2.0-11ubuntu1 [160 kB] 383s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgcc-15-dev ppc64el 15.2.0-11ubuntu1 [1670 kB] 383s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15-powerpc64le-linux-gnu ppc64el 15.2.0-11ubuntu1 [22.4 MB] 384s Get:17 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15 ppc64el 15.2.0-11ubuntu1 [528 kB] 384s Get:18 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [1220 B] 384s Get:19 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc ppc64el 4:15.2.0-4ubuntu1 [5032 B] 384s Get:20 http://ftpmaster.internal/ubuntu resolute/main ppc64el libstdc++-15-dev ppc64el 15.2.0-11ubuntu1 [2745 kB] 384s Get:21 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15-powerpc64le-linux-gnu ppc64el 15.2.0-11ubuntu1 [13.0 MB] 385s Get:22 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15 ppc64el 15.2.0-11ubuntu1 [24.6 kB] 385s Get:23 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [970 B] 385s Get:24 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++ ppc64el 4:15.2.0-4ubuntu1 [1092 B] 385s Get:25 http://ftpmaster.internal/ubuntu resolute/main ppc64el build-essential ppc64el 12.12ubuntu2 [5256 B] 385s Get:26 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.86.3-4 [865 kB] 385s Get:27 http://ftpmaster.internal/ubuntu resolute/main ppc64el native-architecture all 0.2.6build1 [2256 B] 385s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el girepository-tools ppc64el 2.86.3-4 [135 kB] 385s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el libffi-dev ppc64el 3.5.2-3 [72.7 kB] 385s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el uuid-dev ppc64el 2.41.2-4ubuntu2 [59.9 kB] 385s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el libblkid-dev ppc64el 2.41.2-4ubuntu2 [293 kB] 385s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsepol-dev ppc64el 3.9-2 [516 kB] 385s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-16-0 ppc64el 10.46-1 [292 kB] 385s Get:34 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-32-0 ppc64el 10.46-1 [275 kB] 385s Get:35 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-posix3 ppc64el 10.46-1 [7334 B] 385s Get:36 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-dev ppc64el 10.46-1 [937 kB] 385s Get:37 http://ftpmaster.internal/ubuntu resolute/main ppc64el libselinux-dev ppc64el 3.9-4 [210 kB] 385s Get:38 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmount-dev ppc64el 2.41.2-4ubuntu2 [37.6 kB] 385s Get:39 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsysprof-capture-4-dev ppc64el 49.0-5 [62.0 kB] 385s Get:40 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpkgconf3 ppc64el 1.8.1-4build1 [37.9 kB] 385s Get:41 http://ftpmaster.internal/ubuntu resolute/main ppc64el pkgconf-bin ppc64el 1.8.1-4build1 [22.7 kB] 385s Get:42 http://ftpmaster.internal/ubuntu resolute/main ppc64el pkgconf ppc64el 1.8.1-4build1 [16.8 kB] 385s Get:43 http://ftpmaster.internal/ubuntu resolute/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu2 [903 kB] 385s Get:44 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev ppc64el 2.86.3-4 [2206 kB] 385s Get:45 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev-bin ppc64el 2.86.3-4 [131 kB] 385s Get:46 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-bin ppc64el 2.86.3-4 [111 kB] 385s Get:47 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-dev-bin ppc64el 2.86.3-4 [18.2 kB] 385s Get:48 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-dev ppc64el 2.86.3-4 [18.9 kB] 385s Fetched 68.7 MB in 5s (15.0 MB/s) 385s Selecting previously unselected package libisl23:ppc64el. 385s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121571 files and directories currently installed.) 385s Preparing to unpack .../00-libisl23_0.27-1build1_ppc64el.deb ... 385s Unpacking libisl23:ppc64el (0.27-1build1) ... 385s Selecting previously unselected package libmpc3:ppc64el. 385s Preparing to unpack .../01-libmpc3_1.3.1-2_ppc64el.deb ... 385s Unpacking libmpc3:ppc64el (1.3.1-2) ... 385s Selecting previously unselected package cpp-15-powerpc64le-linux-gnu. 385s Preparing to unpack .../02-cpp-15-powerpc64le-linux-gnu_15.2.0-11ubuntu1_ppc64el.deb ... 385s Unpacking cpp-15-powerpc64le-linux-gnu (15.2.0-11ubuntu1) ... 385s Selecting previously unselected package cpp-15. 385s Preparing to unpack .../03-cpp-15_15.2.0-11ubuntu1_ppc64el.deb ... 385s Unpacking cpp-15 (15.2.0-11ubuntu1) ... 385s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 385s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 385s Unpacking cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 386s Selecting previously unselected package cpp. 386s Preparing to unpack .../05-cpp_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 386s Unpacking cpp (4:15.2.0-4ubuntu1) ... 386s Selecting previously unselected package libcc1-0:ppc64el. 386s Preparing to unpack .../06-libcc1-0_15.2.0-11ubuntu1_ppc64el.deb ... 386s Unpacking libcc1-0:ppc64el (15.2.0-11ubuntu1) ... 386s Selecting previously unselected package libgomp1:ppc64el. 386s Preparing to unpack .../07-libgomp1_15.2.0-11ubuntu1_ppc64el.deb ... 386s Unpacking libgomp1:ppc64el (15.2.0-11ubuntu1) ... 386s Selecting previously unselected package libitm1:ppc64el. 386s Preparing to unpack .../08-libitm1_15.2.0-11ubuntu1_ppc64el.deb ... 386s Unpacking libitm1:ppc64el (15.2.0-11ubuntu1) ... 386s Selecting previously unselected package libasan8:ppc64el. 386s Preparing to unpack .../09-libasan8_15.2.0-11ubuntu1_ppc64el.deb ... 386s Unpacking libasan8:ppc64el (15.2.0-11ubuntu1) ... 386s Selecting previously unselected package liblsan0:ppc64el. 386s Preparing to unpack .../10-liblsan0_15.2.0-11ubuntu1_ppc64el.deb ... 386s Unpacking liblsan0:ppc64el (15.2.0-11ubuntu1) ... 386s Selecting previously unselected package libtsan2:ppc64el. 386s Preparing to unpack .../11-libtsan2_15.2.0-11ubuntu1_ppc64el.deb ... 386s Unpacking libtsan2:ppc64el (15.2.0-11ubuntu1) ... 386s Selecting previously unselected package libubsan1:ppc64el. 386s Preparing to unpack .../12-libubsan1_15.2.0-11ubuntu1_ppc64el.deb ... 386s Unpacking libubsan1:ppc64el (15.2.0-11ubuntu1) ... 386s Selecting previously unselected package libquadmath0:ppc64el. 386s Preparing to unpack .../13-libquadmath0_15.2.0-11ubuntu1_ppc64el.deb ... 386s Unpacking libquadmath0:ppc64el (15.2.0-11ubuntu1) ... 386s Selecting previously unselected package libgcc-15-dev:ppc64el. 386s Preparing to unpack .../14-libgcc-15-dev_15.2.0-11ubuntu1_ppc64el.deb ... 386s Unpacking libgcc-15-dev:ppc64el (15.2.0-11ubuntu1) ... 386s Selecting previously unselected package gcc-15-powerpc64le-linux-gnu. 386s Preparing to unpack .../15-gcc-15-powerpc64le-linux-gnu_15.2.0-11ubuntu1_ppc64el.deb ... 386s Unpacking gcc-15-powerpc64le-linux-gnu (15.2.0-11ubuntu1) ... 386s Selecting previously unselected package gcc-15. 386s Preparing to unpack .../16-gcc-15_15.2.0-11ubuntu1_ppc64el.deb ... 386s Unpacking gcc-15 (15.2.0-11ubuntu1) ... 386s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 386s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 386s Unpacking gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 386s Selecting previously unselected package gcc. 386s Preparing to unpack .../18-gcc_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 386s Unpacking gcc (4:15.2.0-4ubuntu1) ... 386s Selecting previously unselected package libstdc++-15-dev:ppc64el. 386s Preparing to unpack .../19-libstdc++-15-dev_15.2.0-11ubuntu1_ppc64el.deb ... 386s Unpacking libstdc++-15-dev:ppc64el (15.2.0-11ubuntu1) ... 386s Selecting previously unselected package g++-15-powerpc64le-linux-gnu. 386s Preparing to unpack .../20-g++-15-powerpc64le-linux-gnu_15.2.0-11ubuntu1_ppc64el.deb ... 386s Unpacking g++-15-powerpc64le-linux-gnu (15.2.0-11ubuntu1) ... 387s Selecting previously unselected package g++-15. 387s Preparing to unpack .../21-g++-15_15.2.0-11ubuntu1_ppc64el.deb ... 387s Unpacking g++-15 (15.2.0-11ubuntu1) ... 387s Selecting previously unselected package g++-powerpc64le-linux-gnu. 387s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 387s Unpacking g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 387s Selecting previously unselected package g++. 387s Preparing to unpack .../23-g++_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 387s Unpacking g++ (4:15.2.0-4ubuntu1) ... 387s Selecting previously unselected package build-essential. 387s Preparing to unpack .../24-build-essential_12.12ubuntu2_ppc64el.deb ... 387s Unpacking build-essential (12.12ubuntu2) ... 387s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 387s Preparing to unpack .../25-gir1.2-glib-2.0-dev_2.86.3-4_ppc64el.deb ... 387s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.86.3-4) ... 387s Selecting previously unselected package native-architecture. 387s Preparing to unpack .../26-native-architecture_0.2.6build1_all.deb ... 387s Unpacking native-architecture (0.2.6build1) ... 387s Selecting previously unselected package girepository-tools:ppc64el. 387s Preparing to unpack .../27-girepository-tools_2.86.3-4_ppc64el.deb ... 387s Unpacking girepository-tools:ppc64el (2.86.3-4) ... 387s Selecting previously unselected package libffi-dev:ppc64el. 387s Preparing to unpack .../28-libffi-dev_3.5.2-3_ppc64el.deb ... 387s Unpacking libffi-dev:ppc64el (3.5.2-3) ... 387s Selecting previously unselected package uuid-dev:ppc64el. 387s Preparing to unpack .../29-uuid-dev_2.41.2-4ubuntu2_ppc64el.deb ... 387s Unpacking uuid-dev:ppc64el (2.41.2-4ubuntu2) ... 387s Selecting previously unselected package libblkid-dev:ppc64el. 387s Preparing to unpack .../30-libblkid-dev_2.41.2-4ubuntu2_ppc64el.deb ... 387s Unpacking libblkid-dev:ppc64el (2.41.2-4ubuntu2) ... 387s Selecting previously unselected package libsepol-dev:ppc64el. 387s Preparing to unpack .../31-libsepol-dev_3.9-2_ppc64el.deb ... 387s Unpacking libsepol-dev:ppc64el (3.9-2) ... 387s Selecting previously unselected package libpcre2-16-0:ppc64el. 387s Preparing to unpack .../32-libpcre2-16-0_10.46-1_ppc64el.deb ... 387s Unpacking libpcre2-16-0:ppc64el (10.46-1) ... 387s Selecting previously unselected package libpcre2-32-0:ppc64el. 387s Preparing to unpack .../33-libpcre2-32-0_10.46-1_ppc64el.deb ... 387s Unpacking libpcre2-32-0:ppc64el (10.46-1) ... 387s Selecting previously unselected package libpcre2-posix3:ppc64el. 387s Preparing to unpack .../34-libpcre2-posix3_10.46-1_ppc64el.deb ... 387s Unpacking libpcre2-posix3:ppc64el (10.46-1) ... 387s Selecting previously unselected package libpcre2-dev:ppc64el. 387s Preparing to unpack .../35-libpcre2-dev_10.46-1_ppc64el.deb ... 387s Unpacking libpcre2-dev:ppc64el (10.46-1) ... 387s Selecting previously unselected package libselinux-dev:ppc64el. 387s Preparing to unpack .../36-libselinux-dev_3.9-4_ppc64el.deb ... 387s Unpacking libselinux-dev:ppc64el (3.9-4) ... 387s Selecting previously unselected package libmount-dev:ppc64el. 387s Preparing to unpack .../37-libmount-dev_2.41.2-4ubuntu2_ppc64el.deb ... 387s Unpacking libmount-dev:ppc64el (2.41.2-4ubuntu2) ... 387s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 387s Preparing to unpack .../38-libsysprof-capture-4-dev_49.0-5_ppc64el.deb ... 387s Unpacking libsysprof-capture-4-dev:ppc64el (49.0-5) ... 387s Selecting previously unselected package libpkgconf3:ppc64el. 387s Preparing to unpack .../39-libpkgconf3_1.8.1-4build1_ppc64el.deb ... 387s Unpacking libpkgconf3:ppc64el (1.8.1-4build1) ... 387s Selecting previously unselected package pkgconf-bin. 387s Preparing to unpack .../40-pkgconf-bin_1.8.1-4build1_ppc64el.deb ... 387s Unpacking pkgconf-bin (1.8.1-4build1) ... 387s Selecting previously unselected package pkgconf:ppc64el. 387s Preparing to unpack .../41-pkgconf_1.8.1-4build1_ppc64el.deb ... 387s Unpacking pkgconf:ppc64el (1.8.1-4build1) ... 387s Selecting previously unselected package zlib1g-dev:ppc64el. 387s Preparing to unpack .../42-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_ppc64el.deb ... 387s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 387s Selecting previously unselected package libgio-2.0-dev:ppc64el. 387s Preparing to unpack .../43-libgio-2.0-dev_2.86.3-4_ppc64el.deb ... 387s Unpacking libgio-2.0-dev:ppc64el (2.86.3-4) ... 387s Selecting previously unselected package libgio-2.0-dev-bin. 387s Preparing to unpack .../44-libgio-2.0-dev-bin_2.86.3-4_ppc64el.deb ... 387s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 387s Selecting previously unselected package libglib2.0-bin. 387s Preparing to unpack .../45-libglib2.0-bin_2.86.3-4_ppc64el.deb ... 387s Unpacking libglib2.0-bin (2.86.3-4) ... 388s Selecting previously unselected package libglib2.0-dev-bin. 388s Preparing to unpack .../46-libglib2.0-dev-bin_2.86.3-4_ppc64el.deb ... 388s Unpacking libglib2.0-dev-bin (2.86.3-4) ... 388s Selecting previously unselected package libglib2.0-dev:ppc64el. 388s Preparing to unpack .../47-libglib2.0-dev_2.86.3-4_ppc64el.deb ... 388s Unpacking libglib2.0-dev:ppc64el (2.86.3-4) ... 388s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 388s Setting up native-architecture (0.2.6build1) ... 388s Setting up libglib2.0-bin (2.86.3-4) ... 388s Setting up libgomp1:ppc64el (15.2.0-11ubuntu1) ... 388s Setting up libffi-dev:ppc64el (3.5.2-3) ... 388s Setting up libpcre2-16-0:ppc64el (10.46-1) ... 388s Setting up libsysprof-capture-4-dev:ppc64el (49.0-5) ... 388s Setting up libpcre2-32-0:ppc64el (10.46-1) ... 388s Setting up libpkgconf3:ppc64el (1.8.1-4build1) ... 388s Setting up uuid-dev:ppc64el (2.41.2-4ubuntu2) ... 388s Setting up libquadmath0:ppc64el (15.2.0-11ubuntu1) ... 388s Setting up libmpc3:ppc64el (1.3.1-2) ... 388s Setting up libsepol-dev:ppc64el (3.9-2) ... 388s Setting up pkgconf-bin (1.8.1-4build1) ... 388s Setting up libubsan1:ppc64el (15.2.0-11ubuntu1) ... 388s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 388s Setting up libpcre2-posix3:ppc64el (10.46-1) ... 388s Setting up gir1.2-glib-2.0-dev:ppc64el (2.86.3-4) ... 388s Setting up libasan8:ppc64el (15.2.0-11ubuntu1) ... 388s Setting up libtsan2:ppc64el (15.2.0-11ubuntu1) ... 388s Setting up libisl23:ppc64el (0.27-1build1) ... 388s Setting up libcc1-0:ppc64el (15.2.0-11ubuntu1) ... 388s Setting up liblsan0:ppc64el (15.2.0-11ubuntu1) ... 388s Setting up libitm1:ppc64el (15.2.0-11ubuntu1) ... 388s Setting up libblkid-dev:ppc64el (2.41.2-4ubuntu2) ... 388s Setting up girepository-tools:ppc64el (2.86.3-4) ... 388s Setting up libgcc-15-dev:ppc64el (15.2.0-11ubuntu1) ... 388s Setting up libpcre2-dev:ppc64el (10.46-1) ... 388s Setting up pkgconf:ppc64el (1.8.1-4build1) ... 388s Setting up cpp-15-powerpc64le-linux-gnu (15.2.0-11ubuntu1) ... 388s Setting up libstdc++-15-dev:ppc64el (15.2.0-11ubuntu1) ... 388s Setting up cpp-15 (15.2.0-11ubuntu1) ... 388s Setting up libselinux-dev:ppc64el (3.9-4) ... 388s Setting up libmount-dev:ppc64el (2.41.2-4ubuntu2) ... 388s Setting up cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 388s Setting up libglib2.0-dev-bin (2.86.3-4) ... 388s Setting up libgio-2.0-dev:ppc64el (2.86.3-4) ... 388s Setting up gcc-15-powerpc64le-linux-gnu (15.2.0-11ubuntu1) ... 388s Setting up gcc-15 (15.2.0-11ubuntu1) ... 388s Setting up gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 388s Setting up cpp (4:15.2.0-4ubuntu1) ... 388s Setting up g++-15-powerpc64le-linux-gnu (15.2.0-11ubuntu1) ... 388s Setting up gcc (4:15.2.0-4ubuntu1) ... 388s Setting up g++-15 (15.2.0-11ubuntu1) ... 388s Setting up g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 388s Setting up g++ (4:15.2.0-4ubuntu1) ... 388s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 388s Setting up build-essential (12.12ubuntu2) ... 388s Processing triggers for install-info (7.2-5) ... 388s Processing triggers for libc-bin (2.42-2ubuntu4) ... 388s Processing triggers for man-db (2.13.1-1) ... 390s Processing triggers for libglib2.0-0t64:ppc64el (2.86.3-4) ... 390s No schema files found: doing nothing. 390s Setting up libglib2.0-dev:ppc64el (2.86.3-4) ... 396s autopkgtest [18:22:45]: test libglib2.0-dev: [----------------------- 396s + debian/tests/build 396s + mode=dynamic 396s + getopt -o --long static -n debian/tests/build -- 396s + getopt_temp= -- 396s + eval set -- -- 396s + set -- -- 396s + true 396s + shift 396s + break 396s + mktemp -d 396s + WORKDIR=/tmp/tmp.fYrizGRGmr 396s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 396s + cd /tmp/tmp.fYrizGRGmr 396s + [ -n ] 396s + CROSS_COMPILE= 396s + cat 396s + cat 396s + cat 396s + cat 396s + cat 396s + cat 396s + cflags= 396s + pcflags= 396s + packages=glib-2.0 396s + pkg-config --cflags --libs glib-2.0 396s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 397s + echo build (glib, dynamic): OK 397s + [ -x glib-dynamic ] 397s + foo=bar ./glib-dynamic 397s build (glib, dynamic): OK 397s run (glib, dynamic): OK 397s + echo run (glib, dynamic): OK 397s + cflags= 397s + pcflags= 397s + packages=gobject-2.0 397s + pkg-config --cflags --libs gobject-2.0 397s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 397s + echo build (gobject, dynamic): OK 397s + [ -x gobject-dynamic ] 397s + foo=bar ./gobject-dynamic 397s build (gobject, dynamic): OK 397s run (gobject, dynamic): OK 397s + echo run (gobject, dynamic): OK 397s + cflags= 397s + pcflags= 397s + packages=gio-2.0 397s + pkg-config --cflags --libs gio-2.0 397s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 397s build (gio, dynamic): OK 397s + echo build (gio, dynamic): OK 397s + [ -x gio-dynamic ] 397s + foo=bar ./gio-dynamic 397s + echo run (gio, dynamic): OK 397s + cflags= 397s + pcflags= 397s + packages=gio-unix-2.0 397s run (gio, dynamic): OK 397s + pkg-config --cflags --libs gio-unix-2.0 397s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 397s build (gio-unix, dynamic): OK 397s + echo build (gio-unix, dynamic): OK 397s + [ -x gio-unix-dynamic ] 397s + foo=bar ./gio-unix-dynamic 397s + echo run (gio-unix, dynamic): OK 397s + cflags= 397s + pcflags= 397s + packages=gmodule-2.0 397s run (gio-unix, dynamic): OK 397s + pkg-config --cflags --libs gmodule-2.0 397s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 397s build (gmodule, dynamic): OK 397s + echo build (gmodule, dynamic): OK 397s + [ -x gmodule-dynamic ] 397s + foo=bar ./gmodule-dynamic 397s run (gmodule, dynamic): OK 397s + echo run (gmodule, dynamic): OK 397s + cflags= 397s + pcflags= 397s + packages=gthread-2.0 397s + pkg-config --cflags --libs gthread-2.0 397s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 397s build (gthread, dynamic): OK 397s + echo build (gthread, dynamic): OK 397s + [ -x gthread-dynamic ] 397s + foo=bar ./gthread-dynamic 397s run (gthread, dynamic): OK 397s + echo run (gthread, dynamic): OK 397s + rm -rf /tmp/tmp.fYrizGRGmr 397s + debian/tests/build-static 397s + mode=dynamic 397s + getopt -o --long static -n debian/tests/build -- --static 397s + getopt_temp= --static -- 397s + eval set -- --static -- 397s + set -- --static -- 397s + true 397s + mode=static 397s + shift 397s + continue 397s + true 397s + shift 397s + break 397s + mktemp -d 397s + WORKDIR=/tmp/tmp.EqW8xYSWos 397s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 397s + cd /tmp/tmp.EqW8xYSWos 397s + [ -n ] 397s + CROSS_COMPILE= 397s + cat 397s + cat 397s + cat 397s + cat 397s + cat 397s + cat 397s + cflags= 397s + pcflags= 397s + packages=glib-2.0 397s + cflags=-static 397s + pcflags=--static 397s + pkg-config --static --cflags --libs glib-2.0 397s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 397s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 397s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 397s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 397s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 397s build (glib, static): OK 397s + echo build (glib, static): OK 397s + [ -x glib-static ] 397s + foo=bar ./glib-static 397s run (glib, static): OK 397s + echo run (glib, static): OK 397s + cflags= 397s + pcflags= 397s + packages=gobject-2.0 397s + cflags=-static 397s + pcflags=--static 397s + pkg-config --static --cflags --libs gobject-2.0 397s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 398s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 398s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 398s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 398s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 398s build (gobject, static): OK 398s run (gobject, static): OK 398s + echo build (gobject, static): OK 398s + [ -x gobject-static ] 398s + foo=bar ./gobject-static 398s + echo run (gobject, static): OK 398s + cflags= 398s + pcflags= 398s + packages=gio-2.0 398s + cflags=-static 398s + pcflags=--static 398s + continue 398s + cflags= 398s + pcflags= 398s + packages=gio-unix-2.0 398s + cflags=-static 398s + pcflags=--static 398s + continue 398s + cflags= 398s + pcflags= 398s + packages=gmodule-2.0 398s + cflags=-static 398s + pcflags=--static 398s + pkg-config --static --cflags --libs gmodule-2.0 398s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 398s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 398s (.text+0x944): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 398s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 398s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 398s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 398s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 398s build (gmodule, static): OK 398s + echo build (gmodule, static): OK 398s + [ -x gmodule-static ] 398s + foo=bar ./gmodule-static 398s run (gmodule, static): OK 398s + echo run (gmodule, static): OK 398s + cflags= 398s + pcflags= 398s + packages=gthread-2.0 398s + cflags=-static 398s + pcflags=--static 398s + pkg-config --static --cflags --libs gthread-2.0 398s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 398s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 398s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 398s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 398s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 398s build (gthread, static): OK 398s run (gthread, static): OK 398s + echo build (gthread, static): OK 398s + [ -x gthread-static ] 398s + foo=bar ./gthread-static 398s + echo run (gthread, static): OK 398s + rm -rf /tmp/tmp.EqW8xYSWos 398s + debian/tests/girepository-tools 398s + cd /tmp/autopkgtest.FuxDyo/autopkgtest_tmp 398s + dpkg-architecture -qDEB_HOST_GNU_TYPE 398s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 398s + dpkg-architecture -qDEB_HOST_MULTIARCH 398s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 398s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 398s typelib: GLib-2.0 398s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 398s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 398s + debian/tests/libgio-2.0-dev-bin 398s + gdbus-codegen --help 398s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 398s [--c-namespace NAMESPACE] [--c-generate-object-manager] 398s [--c-generate-autocleanup {none,objects,all}] 398s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 398s [--generate-rst OUTFILES] [--pragma-once] 398s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 398s [--glib-min-required VERSION] 398s [--glib-max-allowed VERSION] 398s [--symbol-decorator SYMBOL_DECORATOR] 398s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 398s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 398s [--generate-c-code OUTFILES | --header | --body | 398s --interface-info-header | --interface-info-body] 398s [--output FILE | --output-directory OUTDIR] 398s FILE [FILE ...] 398s 398s D-Bus code and documentation generator 398s 398s positional arguments: 398s FILE D-Bus introspection XML file 398s 398s options: 398s -h, --help show this help message and exit 398s --interface-prefix PREFIX 398s String to strip from D-Bus interface names for code 398s and docs 398s --c-namespace NAMESPACE 398s The namespace to use for generated C code 398s --c-generate-object-manager 398s Generate a GDBusObjectManagerClient subclass when 398s generating C code 398s --c-generate-autocleanup {none,objects,all} 398s Generate autocleanup support 398s --generate-docbook OUTFILES 398s Generate Docbook in OUTFILES-org.Project.IFace.xml 398s --generate-md OUTFILES 398s Generate Markdown in OUTFILES-org.Project.IFace.md 398s --generate-rst OUTFILES 398s Generate reStructuredText in OUTFILES- 398s org.Project.IFace.rst 398s --pragma-once Use "pragma once" as the inclusion guard 398s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 398s Add annotation (may be used several times) 398s --glib-min-required VERSION 398s Minimum version of GLib to be supported by the 398s outputted code (default: 2.30) 398s --glib-max-allowed VERSION 398s Maximum version of GLib to be used by the outputted 398s code (default: current GLib version) 398s --symbol-decorator SYMBOL_DECORATOR 398s Macro used to decorate a symbol in the outputted 398s header, possibly to export symbols 398s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 398s Additional header required for decorator specified by 398s --symbol-decorator 398s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 398s Additional define required for decorator specified by 398s --symbol-decorator 398s --generate-c-code OUTFILES 398s Generate C code in OUTFILES.[ch] 398s --header Generate C headers 398s --body Generate C code 398s --interface-info-header 398s Generate GDBusInterfaceInfo C header 398s --interface-info-body 398s Generate GDBusInterfaceInfo C code 398s --output FILE Write output into the specified file 398s --output-directory OUTDIR 398s Location to output generated files 398s + glib-compile-resources --version 398s 2.86.3 398s + glib-genmarshal --version 398s glib-genmarshal version 2.86.3 398s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 398s You may redistribute copies of glib-genmarshal under the terms of 398s the GNU General Public License which can be found in the 398s GLib source package. Sources, examples and contact 398s information are available at http://www.gtk.org 398s /usr/bin/glib-gettextize (GNU glib) 2.86.3 398s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 398s This is free software; see the source for copying conditions. There is NO 398s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 398s Written by Ulrich Drepper 398s + glib-gettextize --version 398s + glib-mkenums --version 398s glib-mkenums version 2.86.3 398s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 398s You may redistribute copies of glib-mkenums under the terms of 398s the GNU General Public License which can be found in the 398s GLib source package. Sources, examples and contact 398s information are available at http://www.gtk.org 398s + gobject-query tree 398s GObject 398s + gtester --version 398s gtester version 2.86.3 398s + gtester-report --version 398s gtester-report (GLib utils) version 2.86.3. 398s + cd /tmp/autopkgtest.FuxDyo/autopkgtest_tmp 398s + dpkg-architecture -qDEB_HOST_MULTIARCH 398s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 398s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 398s typelib: GLib-2.0 398s + gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 399s + gi-decompile-typelib -o GLib.gir GLib.typelib 399s autopkgtest [18:22:48]: test libglib2.0-dev: -----------------------] 399s autopkgtest [18:22:48]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 399s libglib2.0-dev PASS (superficial) 400s autopkgtest [18:22:49]: test installed-tests: preparing testbed 418s Creating nova instance adt-resolute-ppc64el-glib2.0-20260122-181609-juju-7f2275-prod-proposed-migration-environment-15-dd782a9c-cc39-42ad-91b9-9495ecf6bce8 from image adt/ubuntu-resolute-ppc64el-server-20260122.img (UUID 987e5803-394f-43eb-a969-151b6b75a57a)... 466s autopkgtest [18:23:55]: testbed dpkg architecture: ppc64el 467s autopkgtest [18:23:56]: testbed apt version: 3.1.12 467s autopkgtest [18:23:56]: @@@@@@@@@@@@@@@@@@@@ test bed setup 467s autopkgtest [18:23:56]: testbed release detected to be: resolute 468s autopkgtest [18:23:57]: updating testbed package index (apt update) 468s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 468s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 468s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 468s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 468s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [19.2 kB] 468s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [80.9 kB] 468s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [815 kB] 468s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 468s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [103 kB] 468s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [618 kB] 469s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [4644 B] 469s Fetched 1768 kB in 1s (2050 kB/s) 470s Reading package lists... 470s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 470s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 470s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 470s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 471s Reading package lists... 471s Reading package lists... 471s Building dependency tree... 471s Reading state information... 471s Calculating upgrade... 472s The following packages were automatically installed and are no longer required: 472s python3.13 python3.13-minimal 472s Use 'sudo apt autoremove' to remove them. 472s The following NEW packages will be installed: 472s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 472s The following packages will be upgraded: 472s libpython3-stdlib python3 python3-gdbm python3-minimal 472s 4 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 472s Need to get 6966 kB of archives. 472s After this operation, 27.7 MB of additional disk space will be used. 472s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-minimal ppc64el 3.14.2-1 [921 kB] 472s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14-minimal ppc64el 3.14.2-1 [2712 kB] 472s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-gdbm ppc64el 3.14.2-1 [11.1 kB] 472s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.14.2-1 [28.2 kB] 472s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.14.2-1 [22.9 kB] 472s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-stdlib ppc64el 3.14.2-1 [2444 kB] 472s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14 ppc64el 3.14.2-1 [816 kB] 472s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.14.2-1 [10.9 kB] 473s dpkg-preconfigure: unable to re-open stdin: No such file or directory 473s Fetched 6966 kB in 1s (7899 kB/s) 473s Selecting previously unselected package libpython3.14-minimal:ppc64el. 473s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 120824 files and directories currently installed.) 473s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_ppc64el.deb ... 473s Unpacking libpython3.14-minimal:ppc64el (3.14.2-1) ... 473s Selecting previously unselected package python3.14-minimal. 473s Preparing to unpack .../python3.14-minimal_3.14.2-1_ppc64el.deb ... 473s Unpacking python3.14-minimal (3.14.2-1) ... 473s Preparing to unpack .../python3-gdbm_3.14.2-1_ppc64el.deb ... 473s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-1) ... 473s Setting up libpython3.14-minimal:ppc64el (3.14.2-1) ... 473s Setting up python3.14-minimal (3.14.2-1) ... 475s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121166 files and directories currently installed.) 475s Preparing to unpack .../python3-minimal_3.14.2-1_ppc64el.deb ... 475s Unpacking python3-minimal (3.14.2-1) over (3.13.7-1) ... 475s Setting up python3-minimal (3.14.2-1) ... 475s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121166 files and directories currently installed.) 475s Preparing to unpack .../python3_3.14.2-1_ppc64el.deb ... 475s running python pre-rtupdate hooks for python3.14... 475s Unpacking python3 (3.14.2-1) over (3.13.7-1) ... 475s Selecting previously unselected package libpython3.14-stdlib:ppc64el. 475s Preparing to unpack .../libpython3.14-stdlib_3.14.2-1_ppc64el.deb ... 475s Unpacking libpython3.14-stdlib:ppc64el (3.14.2-1) ... 475s Selecting previously unselected package python3.14. 475s Preparing to unpack .../python3.14_3.14.2-1_ppc64el.deb ... 475s Unpacking python3.14 (3.14.2-1) ... 475s Preparing to unpack .../libpython3-stdlib_3.14.2-1_ppc64el.deb ... 475s Unpacking libpython3-stdlib:ppc64el (3.14.2-1) over (3.13.7-1) ... 476s Setting up libpython3.14-stdlib:ppc64el (3.14.2-1) ... 476s Setting up python3.14 (3.14.2-1) ... 477s Setting up libpython3-stdlib:ppc64el (3.14.2-1) ... 477s Setting up python3-gdbm (3.14.2-1) ... 477s Setting up python3 (3.14.2-1) ... 477s running python rtupdate hooks for python3.14... 477s running python post-rtupdate hooks for python3.14... 477s Processing triggers for man-db (2.13.1-1) ... 478s Processing triggers for systemd (259-1ubuntu2) ... 478s autopkgtest [18:24:07]: upgrading testbed (apt dist-upgrade and autopurge) 478s Reading package lists... 478s Building dependency tree... 478s Reading state information... 479s Calculating upgrade... 479s The following packages were automatically installed and are no longer required: 479s python3.13 python3.13-minimal 479s Use 'sudo apt autoremove' to remove them. 479s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 479s Reading package lists... 479s Building dependency tree... 479s Reading state information... 479s Solving dependencies... 479s The following packages will be REMOVED: 479s python3.13* python3.13-minimal* 479s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 479s After this operation, 9077 kB disk space will be freed. 479s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121596 files and directories currently installed.) 479s Removing python3.13 (3.13.11-1) ... 479s Removing python3.13-minimal (3.13.11-1) ... 481s Processing triggers for man-db (2.13.1-1) ... 482s Processing triggers for systemd (259-1ubuntu2) ... 482s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121569 files and directories currently installed.) 482s Purging configuration files for python3.13-minimal (3.13.11-1) ... 484s Reading package lists... 485s Building dependency tree... 485s Reading state information... 485s Solving dependencies... 485s The following NEW packages will be installed: 485s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 485s gnome-desktop-testing libfontenc1 libgbm1 libgio-2.0-dev-bin libgl1 485s libgl1-mesa-dri libglib2.0-bin libglib2.0-dev-bin libglib2.0-tests libglvnd0 485s libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 libunwind8 libvulkan1 485s libx11-xcb1 libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 485s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 485s libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 485s mesa-libgallium native-architecture python3-dbusmock python3.13 485s python3.13-minimal tzdata-legacy x11-common x11-xkb-utils xserver-common 485s xvfb 485s 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. 485s Need to get 23.3 MB of archives. 485s After this operation, 123 MB of additional disk space will be used. 485s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.13-minimal ppc64el 3.13.11-1 [2571 kB] 485s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.13 ppc64el 3.13.11-1 [758 kB] 485s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el dbus-x11 ppc64el 1.16.2-2ubuntu2 [24.4 kB] 485s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el desktop-file-utils ppc64el 0.28-1build1 [62.3 kB] 485s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.86.3-4 [865 kB] 485s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el native-architecture all 0.2.6build1 [2256 B] 485s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el girepository-tools ppc64el 2.86.3-4 [135 kB] 485s Get:8 http://ftpmaster.internal/ubuntu resolute/universe ppc64el gnome-desktop-testing ppc64el 2021.1-5 [17.8 kB] 485s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libfontenc1 ppc64el 1:1.1.8-1build2 [16.1 kB] 485s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el libx11-xcb1 ppc64el 2:1.8.12-1build1 [8022 B] 485s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-dri3-0 ppc64el 1.17.0-2build1 [7970 B] 485s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-present0 ppc64el 1.17.0-2build1 [6334 B] 485s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-randr0 ppc64el 1.17.0-2build1 [19.1 kB] 485s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-sync1 ppc64el 1.17.0-2build1 [9924 B] 485s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-xfixes0 ppc64el 1.17.0-2build1 [10.8 kB] 485s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxshmfence1 ppc64el 1.3.3-1 [5364 B] 485s Get:17 http://ftpmaster.internal/ubuntu resolute/main ppc64el mesa-libgallium ppc64el 25.2.8-2ubuntu1 [12.6 MB] 485s Get:18 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgbm1 ppc64el 25.2.8-2ubuntu1 [41.3 kB] 485s Get:19 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev-bin ppc64el 2.86.3-4 [131 kB] 485s Get:20 http://ftpmaster.internal/ubuntu resolute/main ppc64el libvulkan1 ppc64el 1.4.335.0-1 [175 kB] 486s Get:21 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgl1-mesa-dri ppc64el 25.2.8-2ubuntu1 [35.6 kB] 486s Get:22 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-bin ppc64el 2.86.3-4 [111 kB] 486s Get:23 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-dev-bin ppc64el 2.86.3-4 [18.2 kB] 486s Get:24 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-dbusmock all 0.37.2-1 [90.9 kB] 486s Get:25 http://ftpmaster.internal/ubuntu resolute/main ppc64el tzdata-legacy all 2025c-3ubuntu2 [99.3 kB] 486s Get:26 http://ftpmaster.internal/ubuntu resolute/universe ppc64el libglib2.0-tests ppc64el 2.86.3-4 [2434 kB] 486s Get:27 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-glx0 ppc64el 1.17.0-2build1 [26.4 kB] 486s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-shm0 ppc64el 1.17.0-2build1 [6078 B] 486s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-2 [12.0 kB] 486s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglx-mesa0 ppc64el 25.2.8-2ubuntu1 [132 kB] 486s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el x11-common all 1:7.7+24ubuntu1 [22.4 kB] 486s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el libice6 ppc64el 2:1.1.1-1build1 [51.9 kB] 486s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpixman-1-0 ppc64el 0.46.4-1 [347 kB] 486s Get:34 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsm6 ppc64el 2:1.2.6-1 [18.6 kB] 486s Get:35 http://ftpmaster.internal/ubuntu resolute/main ppc64el libunwind8 ppc64el 1.8.3-0ubuntu1 [68.2 kB] 486s Get:36 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxt6t64 ppc64el 1:1.2.1-1.3 [203 kB] 486s Get:37 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxmu6 ppc64el 2:1.1.3-4 [56.9 kB] 486s Get:38 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxpm4 ppc64el 1:3.5.17-1build3 [50.5 kB] 486s Get:39 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxaw7 ppc64el 2:1.0.16-1build1 [234 kB] 486s Get:40 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxfont2 ppc64el 1:2.0.6-2 [119 kB] 486s Get:41 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build5 [90.2 kB] 486s Get:42 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxrender1 ppc64el 1:0.9.12-1 [23.0 kB] 486s Get:43 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxrandr2 ppc64el 2:1.5.4-1build1 [21.7 kB] 486s Get:44 http://ftpmaster.internal/ubuntu resolute/main ppc64el x11-xkb-utils ppc64el 7.7+9build1 [202 kB] 486s Get:45 http://ftpmaster.internal/ubuntu resolute/main ppc64el xserver-common all 2:21.1.21-1ubuntu1 [34.8 kB] 486s Get:46 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglvnd0 ppc64el 1.7.0-3 [67.2 kB] 486s Get:47 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglx0 ppc64el 1.7.0-3 [42.3 kB] 486s Get:48 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgl1 ppc64el 1.7.0-3 [103 kB] 486s Get:49 http://ftpmaster.internal/ubuntu resolute/universe ppc64el xvfb ppc64el 2:21.1.21-1ubuntu1 [1135 kB] 486s Fetched 23.3 MB in 1s (25.2 MB/s) 486s Selecting previously unselected package python3.13-minimal. 486s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121571 files and directories currently installed.) 486s Preparing to unpack .../00-python3.13-minimal_3.13.11-1_ppc64el.deb ... 486s Unpacking python3.13-minimal (3.13.11-1) ... 486s Selecting previously unselected package python3.13. 486s Preparing to unpack .../01-python3.13_3.13.11-1_ppc64el.deb ... 486s Unpacking python3.13 (3.13.11-1) ... 486s Selecting previously unselected package dbus-x11. 486s Preparing to unpack .../02-dbus-x11_1.16.2-2ubuntu2_ppc64el.deb ... 486s Unpacking dbus-x11 (1.16.2-2ubuntu2) ... 486s Selecting previously unselected package desktop-file-utils. 486s Preparing to unpack .../03-desktop-file-utils_0.28-1build1_ppc64el.deb ... 486s Unpacking desktop-file-utils (0.28-1build1) ... 486s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 486s Preparing to unpack .../04-gir1.2-glib-2.0-dev_2.86.3-4_ppc64el.deb ... 486s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.86.3-4) ... 486s Selecting previously unselected package native-architecture. 486s Preparing to unpack .../05-native-architecture_0.2.6build1_all.deb ... 486s Unpacking native-architecture (0.2.6build1) ... 486s Selecting previously unselected package girepository-tools:ppc64el. 486s Preparing to unpack .../06-girepository-tools_2.86.3-4_ppc64el.deb ... 486s Unpacking girepository-tools:ppc64el (2.86.3-4) ... 486s Selecting previously unselected package gnome-desktop-testing. 486s Preparing to unpack .../07-gnome-desktop-testing_2021.1-5_ppc64el.deb ... 486s Unpacking gnome-desktop-testing (2021.1-5) ... 486s Selecting previously unselected package libfontenc1:ppc64el. 486s Preparing to unpack .../08-libfontenc1_1%3a1.1.8-1build2_ppc64el.deb ... 486s Unpacking libfontenc1:ppc64el (1:1.1.8-1build2) ... 486s Selecting previously unselected package libx11-xcb1:ppc64el. 486s Preparing to unpack .../09-libx11-xcb1_2%3a1.8.12-1build1_ppc64el.deb ... 486s Unpacking libx11-xcb1:ppc64el (2:1.8.12-1build1) ... 486s Selecting previously unselected package libxcb-dri3-0:ppc64el. 486s Preparing to unpack .../10-libxcb-dri3-0_1.17.0-2build1_ppc64el.deb ... 486s Unpacking libxcb-dri3-0:ppc64el (1.17.0-2build1) ... 486s Selecting previously unselected package libxcb-present0:ppc64el. 486s Preparing to unpack .../11-libxcb-present0_1.17.0-2build1_ppc64el.deb ... 486s Unpacking libxcb-present0:ppc64el (1.17.0-2build1) ... 486s Selecting previously unselected package libxcb-randr0:ppc64el. 486s Preparing to unpack .../12-libxcb-randr0_1.17.0-2build1_ppc64el.deb ... 486s Unpacking libxcb-randr0:ppc64el (1.17.0-2build1) ... 486s Selecting previously unselected package libxcb-sync1:ppc64el. 486s Preparing to unpack .../13-libxcb-sync1_1.17.0-2build1_ppc64el.deb ... 486s Unpacking libxcb-sync1:ppc64el (1.17.0-2build1) ... 486s Selecting previously unselected package libxcb-xfixes0:ppc64el. 486s Preparing to unpack .../14-libxcb-xfixes0_1.17.0-2build1_ppc64el.deb ... 486s Unpacking libxcb-xfixes0:ppc64el (1.17.0-2build1) ... 486s Selecting previously unselected package libxshmfence1:ppc64el. 486s Preparing to unpack .../15-libxshmfence1_1.3.3-1_ppc64el.deb ... 486s Unpacking libxshmfence1:ppc64el (1.3.3-1) ... 486s Selecting previously unselected package mesa-libgallium:ppc64el. 486s Preparing to unpack .../16-mesa-libgallium_25.2.8-2ubuntu1_ppc64el.deb ... 486s Unpacking mesa-libgallium:ppc64el (25.2.8-2ubuntu1) ... 487s Selecting previously unselected package libgbm1:ppc64el. 487s Preparing to unpack .../17-libgbm1_25.2.8-2ubuntu1_ppc64el.deb ... 487s Unpacking libgbm1:ppc64el (25.2.8-2ubuntu1) ... 487s Selecting previously unselected package libgio-2.0-dev-bin. 487s Preparing to unpack .../18-libgio-2.0-dev-bin_2.86.3-4_ppc64el.deb ... 487s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 487s Selecting previously unselected package libvulkan1:ppc64el. 487s Preparing to unpack .../19-libvulkan1_1.4.335.0-1_ppc64el.deb ... 487s Unpacking libvulkan1:ppc64el (1.4.335.0-1) ... 487s Selecting previously unselected package libgl1-mesa-dri:ppc64el. 487s Preparing to unpack .../20-libgl1-mesa-dri_25.2.8-2ubuntu1_ppc64el.deb ... 487s Unpacking libgl1-mesa-dri:ppc64el (25.2.8-2ubuntu1) ... 487s Selecting previously unselected package libglib2.0-bin. 487s Preparing to unpack .../21-libglib2.0-bin_2.86.3-4_ppc64el.deb ... 487s Unpacking libglib2.0-bin (2.86.3-4) ... 487s Selecting previously unselected package libglib2.0-dev-bin. 487s Preparing to unpack .../22-libglib2.0-dev-bin_2.86.3-4_ppc64el.deb ... 487s Unpacking libglib2.0-dev-bin (2.86.3-4) ... 487s Selecting previously unselected package python3-dbusmock. 487s Preparing to unpack .../23-python3-dbusmock_0.37.2-1_all.deb ... 487s Unpacking python3-dbusmock (0.37.2-1) ... 487s Selecting previously unselected package tzdata-legacy. 487s Preparing to unpack .../24-tzdata-legacy_2025c-3ubuntu2_all.deb ... 487s Unpacking tzdata-legacy (2025c-3ubuntu2) ... 487s Selecting previously unselected package libglib2.0-tests. 487s Preparing to unpack .../25-libglib2.0-tests_2.86.3-4_ppc64el.deb ... 487s Unpacking libglib2.0-tests (2.86.3-4) ... 487s Selecting previously unselected package libxcb-glx0:ppc64el. 487s Preparing to unpack .../26-libxcb-glx0_1.17.0-2build1_ppc64el.deb ... 487s Unpacking libxcb-glx0:ppc64el (1.17.0-2build1) ... 487s Selecting previously unselected package libxcb-shm0:ppc64el. 487s Preparing to unpack .../27-libxcb-shm0_1.17.0-2build1_ppc64el.deb ... 487s Unpacking libxcb-shm0:ppc64el (1.17.0-2build1) ... 487s Selecting previously unselected package libxxf86vm1:ppc64el. 487s Preparing to unpack .../28-libxxf86vm1_1%3a1.1.4-2_ppc64el.deb ... 487s Unpacking libxxf86vm1:ppc64el (1:1.1.4-2) ... 487s Selecting previously unselected package libglx-mesa0:ppc64el. 487s Preparing to unpack .../29-libglx-mesa0_25.2.8-2ubuntu1_ppc64el.deb ... 487s Unpacking libglx-mesa0:ppc64el (25.2.8-2ubuntu1) ... 487s Selecting previously unselected package x11-common. 487s Preparing to unpack .../30-x11-common_1%3a7.7+24ubuntu1_all.deb ... 487s Unpacking x11-common (1:7.7+24ubuntu1) ... 487s Selecting previously unselected package libice6:ppc64el. 487s Preparing to unpack .../31-libice6_2%3a1.1.1-1build1_ppc64el.deb ... 487s Unpacking libice6:ppc64el (2:1.1.1-1build1) ... 487s Selecting previously unselected package libpixman-1-0:ppc64el. 487s Preparing to unpack .../32-libpixman-1-0_0.46.4-1_ppc64el.deb ... 487s Unpacking libpixman-1-0:ppc64el (0.46.4-1) ... 487s Selecting previously unselected package libsm6:ppc64el. 487s Preparing to unpack .../33-libsm6_2%3a1.2.6-1_ppc64el.deb ... 487s Unpacking libsm6:ppc64el (2:1.2.6-1) ... 487s Selecting previously unselected package libunwind8:ppc64el. 487s Preparing to unpack .../34-libunwind8_1.8.3-0ubuntu1_ppc64el.deb ... 487s Unpacking libunwind8:ppc64el (1.8.3-0ubuntu1) ... 487s Selecting previously unselected package libxt6t64:ppc64el. 487s Preparing to unpack .../35-libxt6t64_1%3a1.2.1-1.3_ppc64el.deb ... 487s Unpacking libxt6t64:ppc64el (1:1.2.1-1.3) ... 487s Selecting previously unselected package libxmu6:ppc64el. 487s Preparing to unpack .../36-libxmu6_2%3a1.1.3-4_ppc64el.deb ... 487s Unpacking libxmu6:ppc64el (2:1.1.3-4) ... 487s Selecting previously unselected package libxpm4:ppc64el. 487s Preparing to unpack .../37-libxpm4_1%3a3.5.17-1build3_ppc64el.deb ... 487s Unpacking libxpm4:ppc64el (1:3.5.17-1build3) ... 487s Selecting previously unselected package libxaw7:ppc64el. 487s Preparing to unpack .../38-libxaw7_2%3a1.0.16-1build1_ppc64el.deb ... 487s Unpacking libxaw7:ppc64el (2:1.0.16-1build1) ... 487s Selecting previously unselected package libxfont2:ppc64el. 487s Preparing to unpack .../39-libxfont2_1%3a2.0.6-2_ppc64el.deb ... 487s Unpacking libxfont2:ppc64el (1:2.0.6-2) ... 487s Selecting previously unselected package libxkbfile1:ppc64el. 487s Preparing to unpack .../40-libxkbfile1_1%3a1.1.0-1build5_ppc64el.deb ... 487s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build5) ... 487s Selecting previously unselected package libxrender1:ppc64el. 487s Preparing to unpack .../41-libxrender1_1%3a0.9.12-1_ppc64el.deb ... 487s Unpacking libxrender1:ppc64el (1:0.9.12-1) ... 487s Selecting previously unselected package libxrandr2:ppc64el. 487s Preparing to unpack .../42-libxrandr2_2%3a1.5.4-1build1_ppc64el.deb ... 487s Unpacking libxrandr2:ppc64el (2:1.5.4-1build1) ... 487s Selecting previously unselected package x11-xkb-utils. 487s Preparing to unpack .../43-x11-xkb-utils_7.7+9build1_ppc64el.deb ... 487s Unpacking x11-xkb-utils (7.7+9build1) ... 487s Selecting previously unselected package xserver-common. 487s Preparing to unpack .../44-xserver-common_2%3a21.1.21-1ubuntu1_all.deb ... 487s Unpacking xserver-common (2:21.1.21-1ubuntu1) ... 487s Selecting previously unselected package libglvnd0:ppc64el. 487s Preparing to unpack .../45-libglvnd0_1.7.0-3_ppc64el.deb ... 487s Unpacking libglvnd0:ppc64el (1.7.0-3) ... 487s Selecting previously unselected package libglx0:ppc64el. 487s Preparing to unpack .../46-libglx0_1.7.0-3_ppc64el.deb ... 487s Unpacking libglx0:ppc64el (1.7.0-3) ... 487s Selecting previously unselected package libgl1:ppc64el. 487s Preparing to unpack .../47-libgl1_1.7.0-3_ppc64el.deb ... 487s Unpacking libgl1:ppc64el (1.7.0-3) ... 487s Selecting previously unselected package xvfb. 487s Preparing to unpack .../48-xvfb_2%3a21.1.21-1ubuntu1_ppc64el.deb ... 487s Unpacking xvfb (2:21.1.21-1ubuntu1) ... 487s Setting up gnome-desktop-testing (2021.1-5) ... 487s Setting up libxcb-dri3-0:ppc64el (1.17.0-2build1) ... 487s Setting up libpixman-1-0:ppc64el (0.46.4-1) ... 487s Setting up libx11-xcb1:ppc64el (2:1.8.12-1build1) ... 487s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 488s Setting up native-architecture (0.2.6build1) ... 488s Setting up libxcb-xfixes0:ppc64el (1.17.0-2build1) ... 488s Setting up desktop-file-utils (0.28-1build1) ... 488s Setting up libxpm4:ppc64el (1:3.5.17-1build3) ... 488s Setting up libxrender1:ppc64el (1:0.9.12-1) ... 488s Setting up libglvnd0:ppc64el (1.7.0-3) ... 488s Setting up libxcb-glx0:ppc64el (1.17.0-2build1) ... 488s Setting up x11-common (1:7.7+24ubuntu1) ... 488s Setting up libglib2.0-bin (2.86.3-4) ... 488s Setting up libxcb-shm0:ppc64el (1.17.0-2build1) ... 488s Setting up python3-dbusmock (0.37.2-1) ... 488s Setting up libunwind8:ppc64el (1.8.3-0ubuntu1) ... 488s Setting up tzdata-legacy (2025c-3ubuntu2) ... 488s Setting up libxxf86vm1:ppc64el (1:1.1.4-2) ... 488s Setting up libxcb-present0:ppc64el (1.17.0-2build1) ... 488s Setting up libfontenc1:ppc64el (1:1.1.8-1build2) ... 488s Setting up libxcb-sync1:ppc64el (1.17.0-2build1) ... 488s Setting up libxrandr2:ppc64el (2:1.5.4-1build1) ... 488s Setting up libvulkan1:ppc64el (1.4.335.0-1) ... 488s Setting up gir1.2-glib-2.0-dev:ppc64el (2.86.3-4) ... 488s Setting up libxshmfence1:ppc64el (1.3.3-1) ... 488s Setting up dbus-x11 (1.16.2-2ubuntu2) ... 488s Setting up libxcb-randr0:ppc64el (1.17.0-2build1) ... 488s Setting up python3.13-minimal (3.13.11-1) ... 489s Setting up libxkbfile1:ppc64el (1:1.1.0-1build5) ... 489s Setting up libxfont2:ppc64el (1:2.0.6-2) ... 489s Setting up libice6:ppc64el (2:1.1.1-1build1) ... 489s Setting up mesa-libgallium:ppc64el (25.2.8-2ubuntu1) ... 489s Setting up girepository-tools:ppc64el (2.86.3-4) ... 489s Setting up libgbm1:ppc64el (25.2.8-2ubuntu1) ... 489s Setting up python3.13 (3.13.11-1) ... 491s Setting up libgl1-mesa-dri:ppc64el (25.2.8-2ubuntu1) ... 491s Setting up libsm6:ppc64el (2:1.2.6-1) ... 491s Setting up libglib2.0-dev-bin (2.86.3-4) ... 491s Setting up libglx-mesa0:ppc64el (25.2.8-2ubuntu1) ... 491s Setting up libglx0:ppc64el (1.7.0-3) ... 491s Setting up libgl1:ppc64el (1.7.0-3) ... 491s Setting up libxt6t64:ppc64el (1:1.2.1-1.3) ... 491s Setting up libglib2.0-tests (2.86.3-4) ... 491s Setting up libxmu6:ppc64el (2:1.1.3-4) ... 491s Setting up libxaw7:ppc64el (2:1.0.16-1build1) ... 491s Setting up x11-xkb-utils (7.7+9build1) ... 491s Setting up xserver-common (2:21.1.21-1ubuntu1) ... 491s Setting up xvfb (2:21.1.21-1ubuntu1) ... 491s Processing triggers for systemd (259-1ubuntu2) ... 491s Processing triggers for man-db (2.13.1-1) ... 492s Processing triggers for libc-bin (2.42-2ubuntu4) ... 496s autopkgtest [18:24:25]: test installed-tests: [----------------------- 496s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 496s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 496s group entry: ubuntu:x:1000: 496s Environment: 496s ADTTMP=/tmp/autopkgtest.FuxDyo/autopkgtest_tmp 496s ADT_ARTIFACTS=/tmp/autopkgtest.FuxDyo/installed-tests-artifacts 496s ADT_TEST_TRIGGERS=python3-defaults/3.14.2-1 496s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.FuxDyo/installed-tests-artifacts 496s AUTOPKGTEST_TESTBED_ARCH=ppc64el 496s AUTOPKGTEST_TEST_ARCH=ppc64el 496s AUTOPKGTEST_TMP=/tmp/autopkgtest.FuxDyo/autopkgtest_tmp 496s DEBIAN_FRONTEND=noninteractive 496s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 496s DEB_BUILD_OPTIONS=parallel=2 496s GIO_USE_VFS=local 496s GIO_USE_VOLUME_MONITOR=unix 496s HOME=/home/ubuntu 496s LANG=C.UTF-8 496s LOGNAME=ubuntu 496s MAIL=/var/mail/ubuntu 496s OLDPWD=/home/ubuntu 496s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 496s PWD=/tmp/autopkgtest.FuxDyo/build.nmg/src 496s SHELL=/bin/bash 496s SHLVL=1 496s SUDO_COMMAND=/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.FuxDyo/wrapper.sh --artifacts=/tmp/autopkgtest.FuxDyo/installed-tests-artifacts --chdir=/tmp/autopkgtest.FuxDyo/build.nmg/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.FuxDyo/installed-tests-stderr --stdout=/tmp/autopkgtest.FuxDyo/installed-tests-stdout --tmp=/tmp/autopkgtest.FuxDyo/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=python3-defaults/3.14.2-1 --make-executable=/tmp/autopkgtest.FuxDyo/build.nmg/src/debian/tests/installed-tests -- /tmp/autopkgtest.FuxDyo/build.nmg/src/debian/tests/installed-tests 496s SUDO_GID=1000 496s SUDO_HOME=/home/ubuntu 496s SUDO_UID=1000 496s SUDO_USER=ubuntu 496s TERM=linux 496s USER=ubuntu 496s XDG_RUNTIME_DIR=/tmp/autopkgtest.FuxDyo/autopkgtest_tmp 496s http_proxy=http://egress.ps7.internal:3128/ 496s https_proxy=http://egress.ps7.internal:3128/ 496s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain 496s run-with-locales: de_DE=ISO-8859-1... 496s Character set: ISO-8859-1 496s Source file: de_DE 496s Output: /tmp/tmp.6eix4teBTE/de_DE 497s run-with-locales: de_DE.utf8... 497s Character set: UTF-8 497s Source file: de_DE 497s Output: /tmp/tmp.6eix4teBTE/de_DE.utf8 498s run-with-locales: de_DE@euro.utf8... 498s Character set: UTF-8 498s Source file: de_DE@euro 498s Output: /tmp/tmp.6eix4teBTE/de_DE@euro.utf8 499s run-with-locales: el_GR.utf8... 499s Character set: UTF-8 499s Source file: el_GR 499s Output: /tmp/tmp.6eix4teBTE/el_GR.utf8 501s run-with-locales: en_GB=ISO-8859-1... 501s Character set: ISO-8859-1 501s Source file: en_GB 501s Output: /tmp/tmp.6eix4teBTE/en_GB 501s run-with-locales: en_GB.utf8... 501s Character set: UTF-8 501s Source file: en_GB 501s Output: /tmp/tmp.6eix4teBTE/en_GB.utf8 502s run-with-locales: en_US=ISO-8859-1... 502s Character set: ISO-8859-1 502s Source file: en_US 502s Output: /tmp/tmp.6eix4teBTE/en_US 503s run-with-locales: en_US.utf8... 503s Character set: UTF-8 503s Source file: en_US 503s Output: /tmp/tmp.6eix4teBTE/en_US.utf8 504s run-with-locales: es_ES.utf8... 504s Character set: UTF-8 504s Source file: es_ES 504s Output: /tmp/tmp.6eix4teBTE/es_ES.utf8 505s run-with-locales: fa_IR=UTF-8... 505s Character set: UTF-8 505s Source file: fa_IR 505s Output: /tmp/tmp.6eix4teBTE/fa_IR 506s run-with-locales: fa_IR.utf8... 506s Character set: UTF-8 506s Source file: fa_IR 506s Output: /tmp/tmp.6eix4teBTE/fa_IR.utf8 508s run-with-locales: fr_FR.utf8... 508s Character set: UTF-8 508s Source file: fr_FR 508s Output: /tmp/tmp.6eix4teBTE/fr_FR.utf8 509s run-with-locales: hr_HR.utf8... 509s Character set: UTF-8 509s Source file: hr_HR 509s Output: /tmp/tmp.6eix4teBTE/hr_HR.utf8 510s run-with-locales: ja_JP.utf8... 510s Character set: UTF-8 510s Source file: ja_JP 510s Output: /tmp/tmp.6eix4teBTE/ja_JP.utf8 511s run-with-locales: ja_JP.EUC-JP... 511s Character set: EUC-JP 511s Source file: ja_JP 511s Output: /tmp/tmp.6eix4teBTE/ja_JP.eucjp 511s run-with-locales: lt_LT.utf8... 511s Character set: UTF-8 511s Source file: lt_LT 511s Output: /tmp/tmp.6eix4teBTE/lt_LT.utf8 513s run-with-locales: pl_PL=ISO-8859-2... 513s Character set: ISO-8859-2 513s Source file: pl_PL 513s Output: /tmp/tmp.6eix4teBTE/pl_PL 513s run-with-locales: pl_PL.ISO-8859-2... 513s Character set: ISO-8859-2 513s Source file: pl_PL 513s Output: /tmp/tmp.6eix4teBTE/pl_PL.iso88592 513s run-with-locales: pl_PL.utf8... 513s Character set: UTF-8 513s Source file: pl_PL 513s Output: /tmp/tmp.6eix4teBTE/pl_PL.utf8 515s run-with-locales: ru_RU=ISO-8859-5... 515s Character set: ISO-8859-5 515s Source file: ru_RU 515s Output: /tmp/tmp.6eix4teBTE/ru_RU 515s run-with-locales: ru_RU.utf8... 515s Character set: UTF-8 515s Source file: ru_RU 515s Output: /tmp/tmp.6eix4teBTE/ru_RU.utf8 516s run-with-locales: sr_RS=UTF-8... 516s Character set: UTF-8 516s Source file: sr_RS 516s Output: /tmp/tmp.6eix4teBTE/sr_RS 517s run-with-locales: sr_RS@latin=UTF-8... 517s Character set: UTF-8 517s Source file: sr_RS@latin 517s Output: /tmp/tmp.6eix4teBTE/sr_RS@latin 519s run-with-locales: sv_SE=ISO-8859-1... 519s Character set: ISO-8859-1 519s Source file: sv_SE 519s Output: /tmp/tmp.6eix4teBTE/sv_SE 519s run-with-locales: sv_SE.utf8... 519s Character set: UTF-8 519s Source file: sv_SE 519s Output: /tmp/tmp.6eix4teBTE/sv_SE.utf8 520s run-with-locales: tr_TR=ISO-8859-9... 520s Character set: ISO-8859-9 520s Source file: tr_TR 520s Output: /tmp/tmp.6eix4teBTE/tr_TR 521s run-with-locales: tr_TR.utf8... 521s Character set: UTF-8 521s Source file: tr_TR 521s Output: /tmp/tmp.6eix4teBTE/tr_TR.utf8 522s run-with-locales: tt_RU=UTF-8... 522s Character set: UTF-8 522s Source file: tt_RU 522s Output: /tmp/tmp.6eix4teBTE/tt_RU 523s run-with-locales: tt_RU.utf8... 523s Character set: UTF-8 523s Source file: tt_RU 523s Output: /tmp/tmp.6eix4teBTE/tt_RU.utf8 524s run-with-locales: tt_RU@iqtelif=UTF-8... 524s Character set: UTF-8 524s Source file: tt_RU@iqtelif 524s Output: /tmp/tmp.6eix4teBTE/tt_RU@iqtelif 526s /tmp/tmp.6eix4teBTE 526s /tmp/tmp.6eix4teBTE/fa_IR.utf8 526s /tmp/tmp.6eix4teBTE/fa_IR.utf8/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/fa_IR.utf8/LC_PAPER 526s /tmp/tmp.6eix4teBTE/fa_IR.utf8/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/fa_IR.utf8/LC_TIME 526s /tmp/tmp.6eix4teBTE/fa_IR.utf8/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/fa_IR.utf8/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/fa_IR.utf8/LC_NAME 526s /tmp/tmp.6eix4teBTE/fa_IR.utf8/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/fa_IR.utf8/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/fa_IR.utf8/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/fa_IR.utf8/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/fa_IR.utf8/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/de_DE 526s /tmp/tmp.6eix4teBTE/de_DE/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/de_DE/LC_PAPER 526s /tmp/tmp.6eix4teBTE/de_DE/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/de_DE/LC_TIME 526s /tmp/tmp.6eix4teBTE/de_DE/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/de_DE/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/de_DE/LC_NAME 526s /tmp/tmp.6eix4teBTE/de_DE/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/de_DE/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/de_DE/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/de_DE/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/de_DE/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/en_US 526s /tmp/tmp.6eix4teBTE/en_US/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/en_US/LC_PAPER 526s /tmp/tmp.6eix4teBTE/en_US/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/en_US/LC_TIME 526s /tmp/tmp.6eix4teBTE/en_US/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/en_US/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/en_US/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/en_US/LC_NAME 526s /tmp/tmp.6eix4teBTE/en_US/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/en_US/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/en_US/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/en_US/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/en_US/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/sv_SE.utf8 526s /tmp/tmp.6eix4teBTE/sv_SE.utf8/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/sv_SE.utf8/LC_PAPER 526s /tmp/tmp.6eix4teBTE/sv_SE.utf8/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/sv_SE.utf8/LC_TIME 526s /tmp/tmp.6eix4teBTE/sv_SE.utf8/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/sv_SE.utf8/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/sv_SE.utf8/LC_NAME 526s /tmp/tmp.6eix4teBTE/sv_SE.utf8/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/sv_SE.utf8/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/sv_SE.utf8/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/sv_SE.utf8/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/sv_SE.utf8/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/tr_TR 526s /tmp/tmp.6eix4teBTE/tr_TR/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/tr_TR/LC_PAPER 526s /tmp/tmp.6eix4teBTE/tr_TR/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/tr_TR/LC_TIME 526s /tmp/tmp.6eix4teBTE/tr_TR/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/tr_TR/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/tr_TR/LC_NAME 526s /tmp/tmp.6eix4teBTE/tr_TR/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/tr_TR/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/tr_TR/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/tr_TR/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/tr_TR/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/en_US.utf8 526s /tmp/tmp.6eix4teBTE/en_US.utf8/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/en_US.utf8/LC_PAPER 526s /tmp/tmp.6eix4teBTE/en_US.utf8/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/en_US.utf8/LC_TIME 526s /tmp/tmp.6eix4teBTE/en_US.utf8/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/en_US.utf8/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/en_US.utf8/LC_NAME 526s /tmp/tmp.6eix4teBTE/en_US.utf8/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/en_US.utf8/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/en_US.utf8/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/en_US.utf8/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/en_US.utf8/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/el_GR.utf8 526s /tmp/tmp.6eix4teBTE/el_GR.utf8/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/el_GR.utf8/LC_PAPER 526s /tmp/tmp.6eix4teBTE/el_GR.utf8/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/el_GR.utf8/LC_TIME 526s /tmp/tmp.6eix4teBTE/el_GR.utf8/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/el_GR.utf8/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/el_GR.utf8/LC_NAME 526s /tmp/tmp.6eix4teBTE/el_GR.utf8/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/el_GR.utf8/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/el_GR.utf8/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/el_GR.utf8/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/el_GR.utf8/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/pl_PL 526s /tmp/tmp.6eix4teBTE/pl_PL/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/pl_PL/LC_PAPER 526s /tmp/tmp.6eix4teBTE/pl_PL/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/pl_PL/LC_TIME 526s /tmp/tmp.6eix4teBTE/pl_PL/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/pl_PL/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/pl_PL/LC_NAME 526s /tmp/tmp.6eix4teBTE/pl_PL/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/pl_PL/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/pl_PL/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/pl_PL/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/pl_PL/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/pl_PL.utf8 526s /tmp/tmp.6eix4teBTE/pl_PL.utf8/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/pl_PL.utf8/LC_PAPER 526s /tmp/tmp.6eix4teBTE/pl_PL.utf8/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/pl_PL.utf8/LC_TIME 526s /tmp/tmp.6eix4teBTE/pl_PL.utf8/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/pl_PL.utf8/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/pl_PL.utf8/LC_NAME 526s /tmp/tmp.6eix4teBTE/pl_PL.utf8/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/pl_PL.utf8/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/pl_PL.utf8/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/pl_PL.utf8/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/pl_PL.utf8/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/fr_FR.utf8 526s /tmp/tmp.6eix4teBTE/fr_FR.utf8/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/fr_FR.utf8/LC_PAPER 526s /tmp/tmp.6eix4teBTE/fr_FR.utf8/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/fr_FR.utf8/LC_TIME 526s /tmp/tmp.6eix4teBTE/fr_FR.utf8/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/fr_FR.utf8/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/fr_FR.utf8/LC_NAME 526s /tmp/tmp.6eix4teBTE/fr_FR.utf8/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/fr_FR.utf8/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/fr_FR.utf8/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/fr_FR.utf8/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/fr_FR.utf8/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/ru_RU 526s /tmp/tmp.6eix4teBTE/ru_RU/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/ru_RU/LC_PAPER 526s /tmp/tmp.6eix4teBTE/ru_RU/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/ru_RU/LC_TIME 526s /tmp/tmp.6eix4teBTE/ru_RU/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/ru_RU/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/ru_RU/LC_NAME 526s /tmp/tmp.6eix4teBTE/ru_RU/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/ru_RU/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/ru_RU/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/ru_RU/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/ru_RU/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/ja_JP.eucjp 526s /tmp/tmp.6eix4teBTE/ja_JP.eucjp/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/ja_JP.eucjp/LC_PAPER 526s /tmp/tmp.6eix4teBTE/ja_JP.eucjp/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/ja_JP.eucjp/LC_TIME 526s /tmp/tmp.6eix4teBTE/ja_JP.eucjp/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/ja_JP.eucjp/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/ja_JP.eucjp/LC_NAME 526s /tmp/tmp.6eix4teBTE/ja_JP.eucjp/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/ja_JP.eucjp/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/ja_JP.eucjp/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/ja_JP.eucjp/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/ja_JP.eucjp/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/tt_RU.utf8 526s /tmp/tmp.6eix4teBTE/tt_RU.utf8/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/tt_RU.utf8/LC_PAPER 526s /tmp/tmp.6eix4teBTE/tt_RU.utf8/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/tt_RU.utf8/LC_TIME 526s /tmp/tmp.6eix4teBTE/tt_RU.utf8/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/tt_RU.utf8/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/tt_RU.utf8/LC_NAME 526s /tmp/tmp.6eix4teBTE/tt_RU.utf8/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/tt_RU.utf8/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/tt_RU.utf8/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/tt_RU.utf8/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/tt_RU.utf8/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/sr_RS 526s /tmp/tmp.6eix4teBTE/sr_RS/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/sr_RS/LC_PAPER 526s /tmp/tmp.6eix4teBTE/sr_RS/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/sr_RS/LC_TIME 526s /tmp/tmp.6eix4teBTE/sr_RS/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/sr_RS/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/sr_RS/LC_NAME 526s /tmp/tmp.6eix4teBTE/sr_RS/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/sr_RS/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/sr_RS/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/sr_RS/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/sr_RS/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/tt_RU 526s /tmp/tmp.6eix4teBTE/tt_RU/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/tt_RU/LC_PAPER 526s /tmp/tmp.6eix4teBTE/tt_RU/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/tt_RU/LC_TIME 526s /tmp/tmp.6eix4teBTE/tt_RU/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/tt_RU/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/tt_RU/LC_NAME 526s /tmp/tmp.6eix4teBTE/tt_RU/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/tt_RU/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/tt_RU/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/tt_RU/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/tt_RU/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/en_GB.utf8 526s /tmp/tmp.6eix4teBTE/en_GB.utf8/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/en_GB.utf8/LC_PAPER 526s /tmp/tmp.6eix4teBTE/en_GB.utf8/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/en_GB.utf8/LC_TIME 526s /tmp/tmp.6eix4teBTE/en_GB.utf8/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/en_GB.utf8/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/en_GB.utf8/LC_NAME 526s /tmp/tmp.6eix4teBTE/en_GB.utf8/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/en_GB.utf8/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/en_GB.utf8/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/en_GB.utf8/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/en_GB.utf8/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/ru_RU.utf8 526s /tmp/tmp.6eix4teBTE/ru_RU.utf8/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/ru_RU.utf8/LC_PAPER 526s /tmp/tmp.6eix4teBTE/ru_RU.utf8/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/ru_RU.utf8/LC_TIME 526s /tmp/tmp.6eix4teBTE/ru_RU.utf8/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/ru_RU.utf8/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/ru_RU.utf8/LC_NAME 526s /tmp/tmp.6eix4teBTE/ru_RU.utf8/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/ru_RU.utf8/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/ru_RU.utf8/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/ru_RU.utf8/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/ru_RU.utf8/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/tr_TR.utf8 526s /tmp/tmp.6eix4teBTE/tr_TR.utf8/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/tr_TR.utf8/LC_PAPER 526s /tmp/tmp.6eix4teBTE/tr_TR.utf8/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/tr_TR.utf8/LC_TIME 526s /tmp/tmp.6eix4teBTE/tr_TR.utf8/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/tr_TR.utf8/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/tr_TR.utf8/LC_NAME 526s /tmp/tmp.6eix4teBTE/tr_TR.utf8/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/tr_TR.utf8/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/tr_TR.utf8/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/tr_TR.utf8/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/tr_TR.utf8/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/es_ES.utf8 526s /tmp/tmp.6eix4teBTE/es_ES.utf8/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/es_ES.utf8/LC_PAPER 526s /tmp/tmp.6eix4teBTE/es_ES.utf8/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/es_ES.utf8/LC_TIME 526s /tmp/tmp.6eix4teBTE/es_ES.utf8/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/es_ES.utf8/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/es_ES.utf8/LC_NAME 526s /tmp/tmp.6eix4teBTE/es_ES.utf8/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/es_ES.utf8/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/es_ES.utf8/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/es_ES.utf8/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/es_ES.utf8/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/de_DE@euro.utf8 526s /tmp/tmp.6eix4teBTE/de_DE@euro.utf8/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/de_DE@euro.utf8/LC_PAPER 526s /tmp/tmp.6eix4teBTE/de_DE@euro.utf8/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/de_DE@euro.utf8/LC_TIME 526s /tmp/tmp.6eix4teBTE/de_DE@euro.utf8/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/de_DE@euro.utf8/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/de_DE@euro.utf8/LC_NAME 526s /tmp/tmp.6eix4teBTE/de_DE@euro.utf8/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/de_DE@euro.utf8/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/de_DE@euro.utf8/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/de_DE@euro.utf8/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/de_DE@euro.utf8/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/hr_HR.utf8 526s /tmp/tmp.6eix4teBTE/hr_HR.utf8/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/hr_HR.utf8/LC_PAPER 526s /tmp/tmp.6eix4teBTE/hr_HR.utf8/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/hr_HR.utf8/LC_TIME 526s /tmp/tmp.6eix4teBTE/hr_HR.utf8/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/hr_HR.utf8/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/hr_HR.utf8/LC_NAME 526s /tmp/tmp.6eix4teBTE/hr_HR.utf8/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/hr_HR.utf8/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/hr_HR.utf8/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/hr_HR.utf8/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/hr_HR.utf8/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/tt_RU@iqtelif 526s /tmp/tmp.6eix4teBTE/tt_RU@iqtelif/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/tt_RU@iqtelif/LC_PAPER 526s /tmp/tmp.6eix4teBTE/tt_RU@iqtelif/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/tt_RU@iqtelif/LC_TIME 526s /tmp/tmp.6eix4teBTE/tt_RU@iqtelif/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/tt_RU@iqtelif/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/tt_RU@iqtelif/LC_NAME 526s /tmp/tmp.6eix4teBTE/tt_RU@iqtelif/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/tt_RU@iqtelif/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/tt_RU@iqtelif/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/tt_RU@iqtelif/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/tt_RU@iqtelif/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/ja_JP.utf8 526s /tmp/tmp.6eix4teBTE/ja_JP.utf8/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/ja_JP.utf8/LC_PAPER 526s /tmp/tmp.6eix4teBTE/ja_JP.utf8/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/ja_JP.utf8/LC_TIME 526s /tmp/tmp.6eix4teBTE/ja_JP.utf8/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/ja_JP.utf8/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/ja_JP.utf8/LC_NAME 526s /tmp/tmp.6eix4teBTE/ja_JP.utf8/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/ja_JP.utf8/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/ja_JP.utf8/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/ja_JP.utf8/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/ja_JP.utf8/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/sv_SE 526s /tmp/tmp.6eix4teBTE/sv_SE/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/sv_SE/LC_PAPER 526s /tmp/tmp.6eix4teBTE/sv_SE/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/sv_SE/LC_TIME 526s /tmp/tmp.6eix4teBTE/sv_SE/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/sv_SE/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/sv_SE/LC_NAME 526s /tmp/tmp.6eix4teBTE/sv_SE/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/sv_SE/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/sv_SE/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/sv_SE/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/sv_SE/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/de_DE.utf8 526s /tmp/tmp.6eix4teBTE/de_DE.utf8/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/de_DE.utf8/LC_PAPER 526s /tmp/tmp.6eix4teBTE/de_DE.utf8/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/de_DE.utf8/LC_TIME 526s /tmp/tmp.6eix4teBTE/de_DE.utf8/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/de_DE.utf8/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/de_DE.utf8/LC_NAME 526s /tmp/tmp.6eix4teBTE/de_DE.utf8/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/de_DE.utf8/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/de_DE.utf8/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/de_DE.utf8/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/de_DE.utf8/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/lt_LT.utf8 526s /tmp/tmp.6eix4teBTE/lt_LT.utf8/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/lt_LT.utf8/LC_PAPER 526s /tmp/tmp.6eix4teBTE/lt_LT.utf8/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/lt_LT.utf8/LC_TIME 526s /tmp/tmp.6eix4teBTE/lt_LT.utf8/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/lt_LT.utf8/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/lt_LT.utf8/LC_NAME 526s /tmp/tmp.6eix4teBTE/lt_LT.utf8/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/lt_LT.utf8/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/lt_LT.utf8/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/lt_LT.utf8/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/lt_LT.utf8/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/en_GB 526s /tmp/tmp.6eix4teBTE/en_GB/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/en_GB/LC_PAPER 526s /tmp/tmp.6eix4teBTE/en_GB/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/en_GB/LC_TIME 526s /tmp/tmp.6eix4teBTE/en_GB/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/en_GB/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/en_GB/LC_NAME 526s /tmp/tmp.6eix4teBTE/en_GB/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/en_GB/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/en_GB/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/en_GB/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/en_GB/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/pl_PL.iso88592 526s /tmp/tmp.6eix4teBTE/pl_PL.iso88592/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/pl_PL.iso88592/LC_PAPER 526s /tmp/tmp.6eix4teBTE/pl_PL.iso88592/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/pl_PL.iso88592/LC_TIME 526s /tmp/tmp.6eix4teBTE/pl_PL.iso88592/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/pl_PL.iso88592/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/pl_PL.iso88592/LC_NAME 526s /tmp/tmp.6eix4teBTE/pl_PL.iso88592/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/pl_PL.iso88592/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/pl_PL.iso88592/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/pl_PL.iso88592/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/pl_PL.iso88592/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/sr_RS@latin 526s /tmp/tmp.6eix4teBTE/sr_RS@latin/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/sr_RS@latin/LC_PAPER 526s /tmp/tmp.6eix4teBTE/sr_RS@latin/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/sr_RS@latin/LC_TIME 526s /tmp/tmp.6eix4teBTE/sr_RS@latin/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/sr_RS@latin/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/sr_RS@latin/LC_NAME 526s /tmp/tmp.6eix4teBTE/sr_RS@latin/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/sr_RS@latin/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/sr_RS@latin/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/sr_RS@latin/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/sr_RS@latin/LC_ADDRESS 526s /tmp/tmp.6eix4teBTE/fa_IR 526s /tmp/tmp.6eix4teBTE/fa_IR/LC_NUMERIC 526s /tmp/tmp.6eix4teBTE/fa_IR/LC_PAPER 526s /tmp/tmp.6eix4teBTE/fa_IR/LC_CTYPE 526s /tmp/tmp.6eix4teBTE/fa_IR/LC_TIME 526s /tmp/tmp.6eix4teBTE/fa_IR/LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 526s /tmp/tmp.6eix4teBTE/fa_IR/LC_MONETARY 526s /tmp/tmp.6eix4teBTE/fa_IR/LC_NAME 526s /tmp/tmp.6eix4teBTE/fa_IR/LC_IDENTIFICATION 526s /tmp/tmp.6eix4teBTE/fa_IR/LC_COLLATE 526s /tmp/tmp.6eix4teBTE/fa_IR/LC_TELEPHONE 526s /tmp/tmp.6eix4teBTE/fa_IR/LC_MEASUREMENT 526s /tmp/tmp.6eix4teBTE/fa_IR/LC_ADDRESS 526s TAP version 14 526s # random seed: R02S29310175c457a716f8317eca48a00652 526s 1..71 526s # Start of markup tests 526s # Start of parse tests 526s ok 1 /markup/parse/fail-13.gmarkup 526s ok 2 /markup/parse/fail-23.gmarkup 526s ok 3 /markup/parse/fail-48.gmarkup 526s ok 4 /markup/parse/valid-5.gmarkup 526s ok 5 /markup/parse/fail-37.gmarkup 526s ok 6 /markup/parse/fail-38.gmarkup 526s ok 7 /markup/parse/fail-3.gmarkup 526s ok 8 /markup/parse/fail-9.gmarkup 526s ok 9 /markup/parse/fail-4.gmarkup 526s ok 10 /markup/parse/valid-13.gmarkup 526s ok 11 /markup/parse/fail-49.gmarkup 526s ok 12 /markup/parse/fail-5.gmarkup 526s ok 13 /markup/parse/valid-11.gmarkup 526s ok 14 /markup/parse/valid-8.gmarkup 526s ok 15 /markup/parse/fail-20.gmarkup 526s ok 16 /markup/parse/fail-39.gmarkup 526s ok 17 /markup/parse/fail-17.gmarkup 526s ok 18 /markup/parse/valid-12.gmarkup 526s ok 19 /markup/parse/fail-28.gmarkup 526s ok 20 /markup/parse/fail-12.gmarkup 526s ok 21 /markup/parse/fail-8.gmarkup 526s ok 22 /markup/parse/fail-34.gmarkup 526s ok 23 /markup/parse/fail-27.gmarkup 526s ok 24 /markup/parse/fail-24.gmarkup 526s ok 25 /markup/parse/valid-3.gmarkup 526s ok 26 /markup/parse/fail-52.gmarkup 526s ok 27 /markup/parse/valid-2.gmarkup 526s ok 28 /markup/parse/fail-29.gmarkup 526s ok 29 /markup/parse/fail-19.gmarkup 526s ok 30 /markup/parse/fail-6.gmarkup 526s ok 31 /markup/parse/fail-40.gmarkup 526s ok 32 /markup/parse/fail-2.gmarkup 526s ok 33 /markup/parse/fail-15.gmarkup 526s ok 34 /markup/parse/fail-25.gmarkup 526s ok 35 /markup/parse/fail-33.gmarkup 526s ok 36 /markup/parse/fail-32.gmarkup 526s ok 37 /markup/parse/fail-50.gmarkup 526s ok 38 /markup/parse/fail-10.gmarkup 526s ok 39 /markup/parse/valid-6.gmarkup 526s ok 40 /markup/parse/fail-14.gmarkup 526s ok 41 /markup/parse/fail-26.gmarkup 526s ok 42 /markup/parse/fail-7.gmarkup 526s ok 43 /markup/parse/fail-16.gmarkup 526s ok 44 /markup/parse/fail-54.gmarkup 526s ok 45 /markup/parse/fail-21.gmarkup 526s ok 46 /markup/parse/fail-18.gmarkup 526s ok 47 /markup/parse/fail-35.gmarkup 526s ok 48 /markup/parse/fail-47.gmarkup 526s ok 49 /markup/parse/fail-42.gmarkup 526s ok 50 /markup/parse/fail-1.gmarkup 526s ok 51 /markup/parse/valid-1.gmarkup 526s ok 52 /markup/parse/fail-41.gmarkup 526s ok 53 /markup/parse/valid-17.gmarkup 526s ok 54 /markup/parse/valid-7.gmarkup 526s ok 55 /markup/parse/valid-14.gmarkup 526s ok 56 /markup/parse/valid-9.gmarkup 526s ok 57 /markup/parse/fail-31.gmarkup 526s ok 58 /markup/parse/fail-44.gmarkup 526s ok 59 /markup/parse/fail-11.gmarkup 526s ok 60 /markup/parse/valid-16.gmarkup 526s ok 61 /markup/parse/fail-45.gmarkup 526s ok 62 /markup/parse/fail-46.gmarkup 526s ok 63 /markup/parse/valid-4.gmarkup 526s ok 64 /markup/parse/fail-53.gmarkup 526s ok 65 /markup/parse/fail-22.gmarkup 526s ok 66 /markup/parse/valid-10.gmarkup 526s ok 67 /markup/parse/fail-51.gmarkup 526s ok 68 /markup/parse/fail-36.gmarkup 526s ok 69 /markup/parse/fail-30.gmarkup 526s ok 70 /markup/parse/fail-43.gmarkup 526s ok 71 /markup/parse/valid-15.gmarkup 526s # End of parse tests 526s # End of markup tests 526s TAP version 14 526s # random seed: R02S7127882daf3b318339bb6e8909125f04 526s 1..36 526s # Start of utf8 tests 526s # Start of perf tests 526s # Start of get_char tests 526s # max perf: 43.0 MB/s 526s ok 1 /utf8/perf/get_char/ascii 526s # max perf: inf MB/s 526s ok 2 /utf8/perf/get_char/latin1 526s # max perf: 160.0 MB/s 526s ok 3 /utf8/perf/get_char/cyrillic 526s # max perf: inf MB/s 526s ok 4 /utf8/perf/get_char/han 526s # End of get_char tests 526s # Start of get_char-backwards tests 526s # max perf: 43.0 MB/s 526s ok 5 /utf8/perf/get_char-backwards/ascii 526s # max perf: inf MB/s 526s ok 6 /utf8/perf/get_char-backwards/latin1 526s # max perf: 160.0 MB/s 526s ok 7 /utf8/perf/get_char-backwards/cyrillic 526s # max perf: 156.0 MB/s 526s ok 8 /utf8/perf/get_char-backwards/han 526s # End of get_char-backwards tests 526s # Start of get_char_validated tests 526s # max perf: inf MB/s 526s ok 9 /utf8/perf/get_char_validated/ascii 526s # max perf: inf MB/s 526s ok 10 /utf8/perf/get_char_validated/latin1 526s # max perf: 160.0 MB/s 526s ok 11 /utf8/perf/get_char_validated/cyrillic 526s # max perf: 156.0 MB/s 526s ok 12 /utf8/perf/get_char_validated/han 526s # End of get_char_validated tests 526s # Start of utf8_to_ucs4 tests 526s # max perf: 43.0 MB/s 526s ok 13 /utf8/perf/utf8_to_ucs4/ascii 526s # max perf: 67.0 MB/s 526s ok 14 /utf8/perf/utf8_to_ucs4/latin1 526s # max perf: 160.0 MB/s 526s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 526s # max perf: 156.0 MB/s 526s ok 16 /utf8/perf/utf8_to_ucs4/han 526s # End of utf8_to_ucs4 tests 526s # Start of utf8_to_ucs4-sized tests 526s # max perf: inf MB/s 526s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 526s # max perf: inf MB/s 526s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 526s # max perf: 160.0 MB/s 526s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 526s # max perf: 156.0 MB/s 526s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 526s # End of utf8_to_ucs4-sized tests 526s # Start of utf8_to_ucs4_fast tests 526s # max perf: 43.0 MB/s 526s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 526s # max perf: 67.0 MB/s 526s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 526s # max perf: 160.0 MB/s 526s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 526s # max perf: 156.0 MB/s 526s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 526s # End of utf8_to_ucs4_fast tests 526s # Start of utf8_to_ucs4_fast-sized tests 526s # max perf: 43.0 MB/s 526s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 526s # max perf: inf MB/s 526s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 526s # max perf: inf MB/s 526s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 526s # max perf: inf MB/s 526s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 526s # End of utf8_to_ucs4_fast-sized tests 526s # Start of utf8_validate tests 526s # max perf: inf MB/s 526s ok 29 /utf8/perf/utf8_validate/ascii 526s # max perf: inf MB/s 526s ok 30 /utf8/perf/utf8_validate/latin1 526s # max perf: inf MB/s 526s ok 31 /utf8/perf/utf8_validate/cyrillic 526s # max perf: inf MB/s 526s ok 32 /utf8/perf/utf8_validate/han 526s # End of utf8_validate tests 526s # Start of utf8_validate-sized tests 526s # max perf: 43.0 MB/s 526s ok 33 /utf8/perf/utf8_validate-sized/ascii 526s # max perf: 67.0 MB/s 526s ok 34 /utf8/perf/utf8_validate-sized/latin1 526s # max perf: 160.0 MB/s 526s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 526s # max perf: 156.0 MB/s 526s ok 36 /utf8/perf/utf8_validate-sized/han 526s # End of utf8_validate-sized tests 526s # End of perf tests 526s # End of utf8 tests 526s TAP version 14 526s # random seed: R02Sdd512dceb471012d26157c76e0a137fd 526s 1..2 526s # Start of gdbus tests 526s ok 1 /gdbus/x11-autolaunch 526s ok 2 /gdbus/xdg-runtime 526s # End of gdbus tests 526s 1..332 526s # Running test: glib/markup-parse.test 526s ok - glib/markup-parse.test 526s # Running test: glib/utf8-performance.test 526s ok - glib/utf8-performance.test 526s # Running test: glib/gdbus-address-get-session.test 526s ok - glib/gdbus-address-get-session.test 526s # Running test: glib/gdbus-connection-flush.test 526s TAP version 14 526s # random seed: R02Sa7c8cfe83aee3a58629e859719e94e70 526s 1..2 526s # Start of gdbus tests 526s # Start of connection tests 526s # Start of flush tests 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/busy/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/busy/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/busy/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/busy/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/busy/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/busy/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/busy/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/busy/.dirs/runtime 526s ok 1 /gdbus/connection/flush/busy 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/idle/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/idle/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/idle/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/idle/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/idle/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/idle/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/idle/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_JEC2J3/gdbus/connection/flush/idle/.dirs/runtime 526s ok 2 /gdbus/connection/flush/idle 526s # End of flush tests 526s # End of connection tests 526s # End of gdbus tests 526s ok - glib/gdbus-connection-flush.test 526s # Running test: glib/appmonitor.test 526s TAP version 14 526s # random seed: R02S2a4b84a59a8babe65b1ffa2b2b19b133 526s 1..1 526s # Start of monitor tests 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_5A4XJ3/monitor/app/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_5A4XJ3/monitor/app/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_5A4XJ3/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_5A4XJ3/monitor/app/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_5A4XJ3/monitor/app/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_5A4XJ3/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_5A4XJ3/monitor/app/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_5A4XJ3/monitor/app/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_5A4XJ3/monitor/app/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_5A4XJ3/monitor/app/.dirs/runtime 526s # Using data directory: /tmp/test_appmonitor_5A4XJ3/monitor/app/.dirs/data 526s ok 1 /monitor/app 526s # End of monitor tests 526s ok - glib/appmonitor.test 526s # Running test: glib/base64.test 526s TAP version 14 526s # random seed: R02Sef42b246896e9927e5b04108285eb58e 526s 1..28 526s # Start of base64 tests 526s ok 1 /base64/encode 526s ok 2 /base64/decode 526s ok 3 /base64/decode-inplace 526s ok 4 /base64/encode-decode 526s # Start of full tests 526s ok 5 /base64/full/1 526s ok 6 /base64/full/2 526s ok 7 /base64/full/3 526s ok 8 /base64/full/4 526s # End of full tests 526s # Start of encode tests 526s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 526s ok 9 /base64/encode/empty 526s # Start of incremental tests 526s # Start of small-block tests 526s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 526s ok 10 /base64/encode/incremental/small-block/1 526s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 526s ok 11 /base64/encode/incremental/small-block/2 526s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 526s ok 12 /base64/encode/incremental/small-block/3 526s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 526s ok 13 /base64/encode/incremental/small-block/4 526s # End of small-block tests 526s # End of incremental tests 526s # End of encode tests 526s # Start of incremental tests 526s # Start of nobreak tests 526s ok 14 /base64/incremental/nobreak/1 526s ok 15 /base64/incremental/nobreak/2 526s ok 16 /base64/incremental/nobreak/3 526s ok 17 /base64/incremental/nobreak/4-a 526s ok 18 /base64/incremental/nobreak/4-b 526s ok 19 /base64/incremental/nobreak/4-c 526s # End of nobreak tests 526s # Start of break tests 526s ok 20 /base64/incremental/break/1 526s ok 21 /base64/incremental/break/2 526s ok 22 /base64/incremental/break/3 526s # End of break tests 526s # Start of smallblock tests 526s ok 23 /base64/incremental/smallblock/1 526s ok 24 /base64/incremental/smallblock/2 526s ok 25 /base64/incremental/smallblock/3 526s ok 26 /base64/incremental/smallblock/4 526s # End of smallblock tests 526s # End of incremental tests 526s # Start of decode tests 526s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 526s ok 27 /base64/decode/empty 526s # End of decode tests 526s # Start of encode-decode tests 526s # Vector 0: 526s # Vector 1: f 526s # Vector 2: fo 526s # Vector 3: foo 526s # Vector 4: foob 526s # Vector 5: fooba 526s # Vector 6: foobar 526s ok 28 /base64/encode-decode/rfc4648 526s # End of encode-decode tests 526s # End of base64 tests 526s TAP version 14 526s # random seed: R02Sd5433994a48c3e027a7afe9e4f96f7f8 526s 1..24 526s # Start of gdbus tests 526s # Start of subscribe tests 526s # Start of conn tests 526s ok - glib/base64.test 526s # Running test: glib/gdbus-subscribe.test 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/simple/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/simple/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/simple/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/simple/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/simple/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/simple/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/simple/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/simple/.dirs/runtime 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 526s # Step 0: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 1: adding subscription 526s # Sender: (any) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Waiting for AddMatch to be processed 526s # Step 2: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 2 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 1 /gdbus/subscribe/conn/simple 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 526s # Step 0: adding subscription 526s # Sender: (any) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Waiting for AddMatch to be processed 526s # Step 1: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 2: emitting signal 526s # Sender: service 2 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 3: emitting signal 526s # Sender: service 526s # Destination: subscriber :1.0 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 4: emitting signal 526s # Sender: service 2 526s # Destination: subscriber :1.0 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 1 526s # Signal received from service 2 :1.2 526s # Signal received from service 2 :1.2 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 2 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 3 526s # Signal received from service 2 :1.2 526s # Signal received from service 2 :1.2 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 4 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 526s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 526s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 526s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/match_twice/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/match_twice/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/match_twice/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/match_twice/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/match_twice/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/match_twice/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/match_twice/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/match_twice/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 526s # Step 0: adding subscription 526s # Sender: service :1.1 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Waiting for AddMatch to be processed 526s # Step 1: adding subscription 526s # Sender: (any) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: (any) 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Waiting for AddMatch to be processed 526s # Step 2: adding subscription 526s # Sender: (any) 526s # Path: (any) 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Waiting for AddMatch to be processed 526s # Step 3: adding subscription 526s # Sender: service :1.1 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Waiting for AddMatch to be processed 526s # Step 4: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 4 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 4 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 4 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 4 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 3 /gdbus/subscribe/conn/match_twice 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 526s # Step 0: adding subscription 526s # Sender: service :1.1 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Waiting for AddMatch to be processed 526s # Step 1: emitting signal 526s # Sender: attacker 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 2: emitting signal 526s # Sender: attacker 526s # Destination: subscriber :1.0 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 3: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 3 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 526s # Step 0: adding subscription 526s # Sender: :0.this.had.better.not.exist 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Waiting for AddMatch to be processed 526s # Step 1: emitting signal 526s # Sender: attacker 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 2: emitting signal 526s # Sender: attacker 526s # Destination: subscriber :1.0 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/conn/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 526s # Step 0: claiming bus name 526s # Name: org.gtk.Test.AlreadyOwned 526s # Owner: service 526s # Step 1: adding subscription 526s # Sender: org.gtk.Test.AlreadyOwned 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Waiting for AddMatch to be processed 526s # Step 2: adding subscription 526s # Sender: org.gtk.Test.OwnedLater 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Waiting for AddMatch to be processed 526s # Step 3: emitting signal 526s # Sender: attacker 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 4: emitting signal 526s # Sender: attacker 526s # Destination: subscriber :1.0 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 5: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 6: claiming bus name 526s # Name: org.gtk.Test.OwnedLater 526s # Owner: service 526s # Step 7: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 5 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 7 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 7 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 526s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 526s # Step 0: adding subscription 526s # Sender: org.freedesktop.DBus 526s # Path: /org/freedesktop/DBus 526s # Interface: org.freedesktop.DBus 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Waiting for AddMatch to be processed 526s # Step 1: emitting signal 526s # Sender: attacker 526s # Destination: (broadcast) 526s # Path: /org/freedesktop/DBus 526s # Interface: org.freedesktop.DBus 526s # Member: NameOwnerChanged 526s # String argument 0: would I lie to you? 526s # Waiting for signal to reach message bus 526s # Step 2: emitting signal 526s # Sender: attacker 526s # Destination: subscriber :1.0 526s # Path: /org/freedesktop/DBus 526s # Interface: org.freedesktop.DBus 526s # Member: NameOwnerChanged 526s # Waiting for signal to reach message bus 526s # Step 3: claiming bus name 526s # Name: org.gtk.Test.OwnedLater 526s # Owner: service 526s # Signal received from message bus org.freedesktop.DBus 526s # Signal received from (unused) org.freedesktop.DBus via connection 526s # Path: /org/freedesktop/DBus 526s # Interface: org.freedesktop.DBus 526s # Member: NameOwnerChanged 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 526s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 526s # Step 0: claiming bus name 526s # Name: org.gtk.Test.AlreadyOwned 526s # Owner: service 526s # Step 1: adding subscription 526s # Sender: org.gtk.Test.AlreadyOwned 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Immediately unsubscribing 526s # Waiting for AddMatch to be processed 526s # Step 2: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 526s # End of conn tests 526s # Start of proxy tests 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/simple/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/simple/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/simple/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/simple/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/simple/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/simple/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/simple/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/simple/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 526s # Step 0: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 1: adding subscription 526s # Sender: (any) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Cannot subscribe via proxy: no bus name 526s # Waiting for AddMatch to be processed 526s # Step 2: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 9 /gdbus/subscribe/proxy/simple 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 526s # Step 0: adding subscription 526s # Sender: (any) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Cannot subscribe via proxy: no bus name 526s # Waiting for AddMatch to be processed 526s # Step 1: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 2: emitting signal 526s # Sender: service 2 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 3: emitting signal 526s # Sender: service 526s # Destination: subscriber :1.0 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 4: emitting signal 526s # Sender: service 2 526s # Destination: subscriber :1.0 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/match_twice/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/match_twice/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/match_twice/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/match_twice/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/match_twice/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/match_twice/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 526s # Step 0: adding subscription 526s # Sender: service :1.1 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via proxy 526s # Waiting for AddMatch to be processed 526s # Step 1: adding subscription 526s # Sender: (any) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: (any) 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Cannot subscribe via proxy: no bus name 526s # Waiting for AddMatch to be processed 526s # Step 2: adding subscription 526s # Sender: (any) 526s # Path: (any) 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Cannot subscribe via proxy: no bus name 526s # Waiting for AddMatch to be processed 526s # Step 3: adding subscription 526s # Sender: service :1.1 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via proxy 526s # Waiting for AddMatch to be processed 526s # Step 4: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via proxy 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 4 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via proxy 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 4 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 11 /gdbus/subscribe/proxy/match_twice 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 526s # Step 0: adding subscription 526s # Sender: service :1.1 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via proxy 526s # Waiting for AddMatch to be processed 526s # Step 1: emitting signal 526s # Sender: attacker 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 2: emitting signal 526s # Sender: attacker 526s # Destination: subscriber :1.0 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 3: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via proxy 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 3 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 526s # Step 0: adding subscription 526s # Sender: :0.this.had.better.not.exist 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via proxy 526s # Waiting for AddMatch to be processed 526s # Step 1: emitting signal 526s # Sender: attacker 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 2: emitting signal 526s # Sender: attacker 526s # Destination: subscriber :1.0 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/proxy/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 526s # Step 0: claiming bus name 526s # Name: org.gtk.Test.AlreadyOwned 526s # Owner: service 526s # Step 1: adding subscription 526s # Sender: org.gtk.Test.AlreadyOwned 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via proxy 526s # Waiting for AddMatch to be processed 526s # Step 2: adding subscription 526s # Sender: org.gtk.Test.OwnedLater 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via proxy 526s # Waiting for AddMatch to be processed 526s # Step 3: emitting signal 526s # Sender: attacker 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 4: emitting signal 526s # Sender: attacker 526s # Destination: subscriber :1.0 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 5: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 6: claiming bus name 526s # Name: org.gtk.Test.OwnedLater 526s # Owner: service 526s # Step 7: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via proxy 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 5 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via proxy 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 7 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via proxy 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 7 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 526s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 526s # Step 0: adding subscription 526s # Sender: org.freedesktop.DBus 526s # Path: /org/freedesktop/DBus 526s # Interface: org.freedesktop.DBus 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via proxy 526s # Waiting for AddMatch to be processed 526s # Step 1: emitting signal 526s # Sender: attacker 526s # Destination: (broadcast) 526s # Path: /org/freedesktop/DBus 526s # Interface: org.freedesktop.DBus 526s # Member: NameOwnerChanged 526s # String argument 0: would I lie to you? 526s # Waiting for signal to reach message bus 526s # Step 2: emitting signal 526s # Sender: attacker 526s # Destination: subscriber :1.0 526s # Path: /org/freedesktop/DBus 526s # Interface: org.freedesktop.DBus 526s # Member: NameOwnerChanged 526s # Waiting for signal to reach message bus 526s # Step 3: claiming bus name 526s # Name: org.gtk.Test.OwnedLater 526s # Owner: service 526s # Signal received from message bus org.freedesktop.DBus 526s # Signal received from (unused) org.freedesktop.DBus via proxy 526s # Path: /org/freedesktop/DBus 526s # Interface: org.freedesktop.DBus 526s # Member: NameOwnerChanged 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 526s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 526s # Step 0: claiming bus name 526s # Name: org.gtk.Test.AlreadyOwned 526s # Owner: service 526s # Step 1: adding subscription 526s # Sender: org.gtk.Test.AlreadyOwned 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via proxy 526s # Waiting for AddMatch to be processed 526s # Step 2: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via proxy 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 2 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 526s # End of proxy tests 526s # Start of parallel tests 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/simple/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/simple/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/simple/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/simple/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/simple/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/simple/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/simple/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/simple/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 526s # Step 0: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 1: adding subscription 526s # Sender: (any) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Cannot subscribe via proxy: no bus name 526s # Waiting for AddMatch to be processed 526s # Step 2: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 2 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 526s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 17 /gdbus/subscribe/parallel/simple 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 526s # Step 0: adding subscription 526s # Sender: (any) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Cannot subscribe via proxy: no bus name 526s # Waiting for AddMatch to be processed 526s # Step 1: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 2: emitting signal 526s # Sender: service 2 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 3: emitting signal 526s # Sender: service 526s # Destination: subscriber :1.0 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 4: emitting signal 526s # Sender: service 2 526s # Destination: subscriber :1.0 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 1 526s # Signal received from service 2 :1.2 526s # Signal received from service 2 :1.2 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 2 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 3 526s # Signal received from service 2 :1.2 526s # Signal received from service 2 :1.2 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 4 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 526s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 526s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 526s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 526s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/match_twice/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/match_twice/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/match_twice/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/match_twice/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/match_twice/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/match_twice/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 526s # Step 0: adding subscription 526s # Sender: service :1.1 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Subscribing via proxy 526s # Waiting for AddMatch to be processed 526s # Step 1: adding subscription 526s # Sender: (any) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: (any) 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Cannot subscribe via proxy: no bus name 526s # Waiting for AddMatch to be processed 526s # Step 2: adding subscription 526s # Sender: (any) 526s # Path: (any) 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Cannot subscribe via proxy: no bus name 526s # Waiting for AddMatch to be processed 526s # Step 3: adding subscription 526s # Sender: service :1.1 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Subscribing via proxy 526s # Waiting for AddMatch to be processed 526s # Step 4: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 4 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via proxy 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 4 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 4 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via proxy 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 4 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 4 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 4 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 526s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 19 /gdbus/subscribe/parallel/match_twice 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 526s # Step 0: adding subscription 526s # Sender: service :1.1 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Subscribing via proxy 526s # Waiting for AddMatch to be processed 526s # Step 1: emitting signal 526s # Sender: attacker 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 2: emitting signal 526s # Sender: attacker 526s # Destination: subscriber :1.0 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 3: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 3 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via proxy 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 3 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 526s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 526s # Step 0: adding subscription 526s # Sender: :0.this.had.better.not.exist 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Subscribing via proxy 526s # Waiting for AddMatch to be processed 526s # Step 1: emitting signal 526s # Sender: attacker 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 2: emitting signal 526s # Sender: attacker 526s # Destination: subscriber :1.0 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/parallel/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 526s # Step 0: claiming bus name 526s # Name: org.gtk.Test.AlreadyOwned 526s # Owner: service 526s # Step 1: adding subscription 526s # Sender: org.gtk.Test.AlreadyOwned 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Subscribing via proxy 526s # Waiting for AddMatch to be processed 526s # Step 2: adding subscription 526s # Sender: org.gtk.Test.OwnedLater 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Subscribing via proxy 526s # Waiting for AddMatch to be processed 526s # Step 3: emitting signal 526s # Sender: attacker 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 4: emitting signal 526s # Sender: attacker 526s # Destination: subscriber :1.0 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 5: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Step 6: claiming bus name 526s # Name: org.gtk.Test.OwnedLater 526s # Owner: service 526s # Step 7: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 5 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via proxy 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 5 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 7 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via proxy 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 7 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via connection 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 7 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via proxy 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 7 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 526s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 526s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 526s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 526s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 526s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 526s # Step 0: adding subscription 526s # Sender: org.freedesktop.DBus 526s # Path: /org/freedesktop/DBus 526s # Interface: org.freedesktop.DBus 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Subscribing via proxy 526s # Waiting for AddMatch to be processed 526s # Step 1: emitting signal 526s # Sender: attacker 526s # Destination: (broadcast) 526s # Path: /org/freedesktop/DBus 526s # Interface: org.freedesktop.DBus 526s # Member: NameOwnerChanged 526s # String argument 0: would I lie to you? 526s # Waiting for signal to reach message bus 526s # Step 2: emitting signal 526s # Sender: attacker 526s # Destination: subscriber :1.0 526s # Path: /org/freedesktop/DBus 526s # Interface: org.freedesktop.DBus 526s # Member: NameOwnerChanged 526s # Waiting for signal to reach message bus 526s # Step 3: claiming bus name 526s # Name: org.gtk.Test.OwnedLater 526s # Owner: service 526s # Signal received from message bus org.freedesktop.DBus 526s # Signal received from (unused) org.freedesktop.DBus via connection 526s # Path: /org/freedesktop/DBus 526s # Interface: org.freedesktop.DBus 526s # Member: NameOwnerChanged 526s # Signal received from message bus org.freedesktop.DBus 526s # Signal received from (unused) org.freedesktop.DBus via proxy 526s # Path: /org/freedesktop/DBus 526s # Interface: org.freedesktop.DBus 526s # Member: NameOwnerChanged 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 526s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 526s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V16YJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # subscriber is :1.0 526s # service is :1.1 526s # service 2 is :1.2 526s # attacker is :1.3 526s # Waiting for AddMatch to be processed 526s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 526s # Step 0: claiming bus name 526s # Name: org.gtk.Test.AlreadyOwned 526s # Owner: service 526s # Step 1: adding subscription 526s # Sender: org.gtk.Test.AlreadyOwned 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: (any) 526s # String argument 0: (any) 526s # Flags: 0 526s # Subscribing via connection 526s # Immediately unsubscribing 526s # Subscribing via proxy 526s # Waiting for AddMatch to be processed 526s # Step 2: emitting signal 526s # Sender: service 526s # Destination: (broadcast) 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Waiting for signal to reach message bus 526s # Signal received from service :1.1 526s # Signal received from service :1.1 via proxy 526s # Path: /org/gtk/GDBus/ExampleInterface 526s # Interface: org.gtk.GDBus.ExampleInterface 526s # Member: Foo 526s # Argument 0: (not a string) 526s # Sent in step: 2 526s # Received Finished signal from subscriber :1.0 526s # Received Finished signal from service :1.1 526s # Received Finished signal from service 2 :1.2 526s # Received Finished signal from attacker :1.3 526s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 526s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 526s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 526s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok - glib/gdbus-subscribe.test 526s # Running test: glib/rwlock.test 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 526s # End of parallel tests 526s # End of subscribe tests 526s # End of gdbus tests 526s TAP version 14 526s # random seed: R02S357246e946d129e9179849eed4a1106d 526s 1..8 526s # Start of thread tests 526s ok 1 /thread/rwlock1 526s ok 2 /thread/rwlock2 526s ok 3 /thread/rwlock3 526s ok 4 /thread/rwlock4 526s ok 5 /thread/rwlock5 526s ok 6 /thread/rwlock6 531s # Executing: glib/rwlock.test 531s ok 7 /thread/rwlock7 531s # slow test /thread/rwlock7 executed in 5.02 secs 532s ok - glib/rwlock.test 532s ok 8 /thread/rwlock8 532s # End of thread tests 532s # Running test: glib/utf8-validate.test 532s TAP version 14 532s # random seed: R02S6f8608a3a0364372b624b3ad165e75fc 532s 1..238 532s # Start of utf8 tests 532s # Vector 0 532s # Vector 1 532s # Vector 2 532s # Vector 3 532s # Vector 4 532s # Vector 5 532s # Vector 6 532s # Vector 7 532s # Vector 8 532s # Vector 9 532s # Vector 10 532s # Vector 11 532s # Vector 12 532s # Vector 13 532s # Vector 14 532s # Vector 15 532s # Vector 16 532s # Vector 17 532s # Vector 18 532s # Vector 19 532s # Vector 20 532s # Vector 21 532s # Vector 22 532s # Vector 23 532s # Vector 24 532s # Vector 25 532s # Vector 26 532s # Vector 27 532s ok 1 /utf8/get-char-validated 532s # Start of validate tests 532s ok 2 /utf8/validate/0 532s ok 3 /utf8/validate/1 532s ok 4 /utf8/validate/2 532s ok 5 /utf8/validate/3 532s ok 6 /utf8/validate/4 532s ok 7 /utf8/validate/5 532s ok 8 /utf8/validate/6 532s ok 9 /utf8/validate/7 532s ok 10 /utf8/validate/8 532s ok 11 /utf8/validate/9 532s ok 12 /utf8/validate/10 532s ok 13 /utf8/validate/11 532s ok 14 /utf8/validate/12 532s ok 15 /utf8/validate/13 532s ok 16 /utf8/validate/14 532s ok 17 /utf8/validate/15 532s ok 18 /utf8/validate/16 532s ok 19 /utf8/validate/17 532s ok 20 /utf8/validate/18 532s ok 21 /utf8/validate/19 532s ok 22 /utf8/validate/20 532s ok 23 /utf8/validate/21 532s ok 24 /utf8/validate/22 532s ok 25 /utf8/validate/23 532s ok 26 /utf8/validate/24 532s ok 27 /utf8/validate/25 532s ok 28 /utf8/validate/26 532s ok 29 /utf8/validate/27 532s ok 30 /utf8/validate/28 532s ok 31 /utf8/validate/29 532s ok 32 /utf8/validate/30 532s ok 33 /utf8/validate/31 532s ok 34 /utf8/validate/32 532s ok 35 /utf8/validate/33 532s ok 36 /utf8/validate/34 532s ok 37 /utf8/validate/35 532s ok 38 /utf8/validate/36 532s ok 39 /utf8/validate/37 532s ok 40 /utf8/validate/38 532s ok 41 /utf8/validate/39 532s ok 42 /utf8/validate/40 532s ok 43 /utf8/validate/41 532s ok 44 /utf8/validate/42 532s ok 45 /utf8/validate/43 532s ok 46 /utf8/validate/44 532s ok 47 /utf8/validate/45 532s ok 48 /utf8/validate/46 532s ok 49 /utf8/validate/47 532s ok 50 /utf8/validate/48 532s ok 51 /utf8/validate/49 532s ok 52 /utf8/validate/50 532s ok 53 /utf8/validate/51 532s ok 54 /utf8/validate/52 532s ok 55 /utf8/validate/53 532s ok 56 /utf8/validate/54 532s ok 57 /utf8/validate/55 532s ok 58 /utf8/validate/56 532s ok 59 /utf8/validate/57 532s ok 60 /utf8/validate/58 532s ok 61 /utf8/validate/59 532s ok 62 /utf8/validate/60 532s ok 63 /utf8/validate/61 532s ok 64 /utf8/validate/62 532s ok 65 /utf8/validate/63 532s ok 66 /utf8/validate/64 532s ok 67 /utf8/validate/65 532s ok 68 /utf8/validate/66 532s ok 69 /utf8/validate/67 532s ok 70 /utf8/validate/68 532s ok 71 /utf8/validate/69 532s ok 72 /utf8/validate/70 532s ok 73 /utf8/validate/71 532s ok 74 /utf8/validate/72 532s ok 75 /utf8/validate/73 532s ok 76 /utf8/validate/74 532s ok 77 /utf8/validate/75 532s ok 78 /utf8/validate/76 532s ok 79 /utf8/validate/77 532s ok 80 /utf8/validate/78 532s ok 81 /utf8/validate/79 532s ok 82 /utf8/validate/80 532s ok 83 /utf8/validate/81 532s ok 84 /utf8/validate/82 532s ok 85 /utf8/validate/83 532s ok 86 /utf8/validate/84 532s ok 87 /utf8/validate/85 532s ok 88 /utf8/validate/86 532s ok 89 /utf8/validate/87 532s ok 90 /utf8/validate/88 532s ok 91 /utf8/validate/89 532s ok 92 /utf8/validate/90 532s ok 93 /utf8/validate/91 532s ok 94 /utf8/validate/92 532s ok 95 /utf8/validate/93 532s ok 96 /utf8/validate/94 532s ok 97 /utf8/validate/95 532s ok 98 /utf8/validate/96 532s ok 99 /utf8/validate/97 532s ok 100 /utf8/validate/98 532s ok 101 /utf8/validate/99 532s ok 102 /utf8/validate/100 532s ok 103 /utf8/validate/101 532s ok 104 /utf8/validate/102 532s ok 105 /utf8/validate/103 532s ok 106 /utf8/validate/104 532s ok 107 /utf8/validate/105 532s ok 108 /utf8/validate/106 532s ok 109 /utf8/validate/107 532s ok 110 /utf8/validate/108 532s ok 111 /utf8/validate/109 532s ok 112 /utf8/validate/110 532s ok 113 /utf8/validate/111 532s ok 114 /utf8/validate/112 532s ok 115 /utf8/validate/113 532s ok 116 /utf8/validate/114 532s ok 117 /utf8/validate/115 532s ok 118 /utf8/validate/116 532s ok 119 /utf8/validate/117 532s ok 120 /utf8/validate/118 532s ok 121 /utf8/validate/119 532s ok 122 /utf8/validate/120 532s ok 123 /utf8/validate/121 532s ok 124 /utf8/validate/122 532s ok 125 /utf8/validate/123 532s ok 126 /utf8/validate/124 532s ok 127 /utf8/validate/125 532s ok 128 /utf8/validate/126 532s ok 129 /utf8/validate/127 532s ok 130 /utf8/validate/128 532s ok 131 /utf8/validate/129 532s ok 132 /utf8/validate/130 532s ok 133 /utf8/validate/131 532s ok 134 /utf8/validate/132 532s ok 135 /utf8/validate/133 532s ok 136 /utf8/validate/134 532s ok 137 /utf8/validate/135 532s ok 138 /utf8/validate/136 532s ok 139 /utf8/validate/137 532s ok 140 /utf8/validate/138 532s ok 141 /utf8/validate/139 532s ok 142 /utf8/validate/140 532s ok 143 /utf8/validate/141 532s ok 144 /utf8/validate/142 532s ok 145 /utf8/validate/143 532s ok 146 /utf8/validate/144 532s ok 147 /utf8/validate/145 532s ok 148 /utf8/validate/146 532s ok 149 /utf8/validate/147 532s ok 150 /utf8/validate/148 532s ok 151 /utf8/validate/149 532s ok 152 /utf8/validate/150 532s ok 153 /utf8/validate/151 532s ok 154 /utf8/validate/152 532s ok 155 /utf8/validate/153 532s ok 156 /utf8/validate/154 532s ok 157 /utf8/validate/155 532s ok 158 /utf8/validate/156 532s ok 159 /utf8/validate/157 532s ok 160 /utf8/validate/158 532s ok 161 /utf8/validate/159 532s ok 162 /utf8/validate/160 532s ok 163 /utf8/validate/161 532s ok 164 /utf8/validate/162 532s ok 165 /utf8/validate/163 532s ok 166 /utf8/validate/164 532s ok 167 /utf8/validate/165 532s ok 168 /utf8/validate/166 532s ok 169 /utf8/validate/167 532s ok 170 /utf8/validate/168 532s ok 171 /utf8/validate/169 532s ok 172 /utf8/validate/170 532s ok 173 /utf8/validate/171 532s ok 174 /utf8/validate/172 532s ok 175 /utf8/validate/173 532s ok 176 /utf8/validate/174 532s ok 177 /utf8/validate/175 532s ok 178 /utf8/validate/176 532s ok 179 /utf8/validate/177 532s ok 180 /utf8/validate/178 532s ok 181 /utf8/validate/179 532s ok 182 /utf8/validate/180 532s ok 183 /utf8/validate/181 532s ok 184 /utf8/validate/182 532s ok 185 /utf8/validate/183 532s ok 186 /utf8/validate/184 532s ok 187 /utf8/validate/185 532s ok 188 /utf8/validate/186 532s ok 189 /utf8/validate/187 532s ok 190 /utf8/validate/188 532s ok 191 /utf8/validate/189 532s ok 192 /utf8/validate/190 532s ok 193 /utf8/validate/191 532s ok 194 /utf8/validate/192 532s ok 195 /utf8/validate/193 532s ok 196 /utf8/validate/194 532s ok 197 /utf8/validate/195 532s ok 198 /utf8/validate/196 532s ok 199 /utf8/validate/197 532s ok 200 /utf8/validate/198 532s ok 201 /utf8/validate/199 532s ok 202 /utf8/validate/200 532s ok 203 /utf8/validate/201 532s ok 204 /utf8/validate/202 532s ok 205 /utf8/validate/203 532s ok 206 /utf8/validate/204 532s ok 207 /utf8/validate/205 532s ok 208 /utf8/validate/206 532s ok 209 /utf8/validate/207 532s ok 210 /utf8/validate/208 532s ok 211 /utf8/validate/209 532s ok 212 /utf8/validate/210 532s ok 213 /utf8/validate/211 532s ok 214 /utf8/validate/212 532s ok 215 /utf8/validate/213 532s ok 216 /utf8/validate/214 532s ok 217 /utf8/validate/215 532s ok 218 /utf8/validate/216 532s ok 219 /utf8/validate/217 532s ok 220 /utf8/validate/218 532s ok 221 /utf8/validate/219 532s ok 222 /utf8/validate/220 532s ok 223 /utf8/validate/221 532s ok 224 /utf8/validate/222 532s ok 225 /utf8/validate/223 532s ok 226 /utf8/validate/224 532s ok 227 /utf8/validate/225 532s ok 228 /utf8/validate/226 532s ok 229 /utf8/validate/227 532s ok 230 /utf8/validate/228 532s ok 231 /utf8/validate/229 532s ok 232 /utf8/validate/230 532s ok 233 /utf8/validate/231 532s ok 234 /utf8/validate/232 532s ok 235 /utf8/validate/233 532s ok 236 /utf8/validate/234 532s ok 237 /utf8/validate/235 532s ok 238 /utf8/validate/236 532s # End of validate tests 532s # End of utf8 tests 532s TAP version 14 532s # random seed: R02Sbaa1284321773276adb2ab32ee9f99e7 532s 1..3 532s # Start of static-proxy tests 532s ok 1 /static-proxy/uri 532s ok 2 /static-proxy/socks 532s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string *.eee.xx:8000 532s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 10.0.0.1:8000 532s ok 3 /static-proxy/ignore 532s # End of static-proxy tests 532s ok - glib/utf8-validate.test 532s # Running test: glib/simple-proxy.test 532s ok - glib/simple-proxy.test 532s # Running test: glib/filenamecompleter.test 532s ok - glib/filenamecompleter.test 532s # Running test: glib/markup-escape.test 532s ok - glib/markup-escape.test 532s # Running test: glib/performance-threaded.test 532s TAP version 14 532s # random seed: R02S71a9459c572ab63dadceaf32cc8cd327 532s 1..1 532s # Start of filenamecompleter tests 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_filenamecompleter_GRGUJ3/filenamecompleter/basic/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_filenamecompleter_GRGUJ3/filenamecompleter/basic/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_filenamecompleter_GRGUJ3/filenamecompleter/basic/.dirs/system-config1:/tmp/test_filenamecompleter_GRGUJ3/filenamecompleter/basic/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_filenamecompleter_GRGUJ3/filenamecompleter/basic/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_filenamecompleter_GRGUJ3/filenamecompleter/basic/.dirs/system-data1:/tmp/test_filenamecompleter_GRGUJ3/filenamecompleter/basic/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_filenamecompleter_GRGUJ3/filenamecompleter/basic/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_filenamecompleter_GRGUJ3/filenamecompleter/basic/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_filenamecompleter_GRGUJ3/filenamecompleter/basic/.dirs/runtime 532s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 532s ok 1 /filenamecompleter/basic 532s # End of filenamecompleter tests 532s TAP version 14 532s # random seed: R02S44fcf85690c36f05baf87837aa4203fe 532s 1..41 532s # Start of markup tests 532s ok 1 /markup/format 532s # Start of escape-text tests 532s ok 2 /markup/escape-text/0 532s ok 3 /markup/escape-text/1 532s ok 4 /markup/escape-text/2 532s ok 5 /markup/escape-text/3 532s ok 6 /markup/escape-text/4 532s ok 7 /markup/escape-text/5 532s ok 8 /markup/escape-text/6 532s ok 9 /markup/escape-text/7 532s ok 10 /markup/escape-text/8 532s ok 11 /markup/escape-text/9 532s ok 12 /markup/escape-text/10 532s ok 13 /markup/escape-text/11 532s ok 14 /markup/escape-text/12 532s ok 15 /markup/escape-text/13 532s ok 16 /markup/escape-text/14 532s ok 17 /markup/escape-text/15 532s ok 18 /markup/escape-text/16 532s ok 19 /markup/escape-text/17 532s ok 20 /markup/escape-text/18 532s ok 21 /markup/escape-text/19 532s ok 22 /markup/escape-text/20 532s ok 23 /markup/escape-text/21 532s ok 24 /markup/escape-text/22 532s # End of escape-text tests 532s # Start of escape-unichar tests 532s ok 25 /markup/escape-unichar/0 532s ok 26 /markup/escape-unichar/1 532s ok 27 /markup/escape-unichar/2 532s ok 28 /markup/escape-unichar/3 532s ok 29 /markup/escape-unichar/4 532s ok 30 /markup/escape-unichar/5 532s ok 31 /markup/escape-unichar/6 532s ok 32 /markup/escape-unichar/7 532s ok 33 /markup/escape-unichar/8 532s ok 34 /markup/escape-unichar/9 532s ok 35 /markup/escape-unichar/10 532s ok 36 /markup/escape-unichar/11 532s ok 37 /markup/escape-unichar/12 532s ok 38 /markup/escape-unichar/13 532s ok 39 /markup/escape-unichar/14 532s ok 40 /markup/escape-unichar/15 532s ok 41 /markup/escape-unichar/16 532s # End of escape-unichar tests 532s # End of markup tests 532s Running test "liststore-is-a" 533s 2215 runs, min/avg/max = 0.435/0.451/0.637 ms 533s Running test "liststore-interface-peek" 534s 2784 runs, min/avg/max = 0.347/0.359/0.624 ms 534s Running test "liststore-interface-peek-same" 535s 2759 runs, min/avg/max = 0.347/0.362/0.488 ms 535s ok - glib/performance-threaded.test 535s # Running test: glib/credentials.test 535s TAP version 14 535s # random seed: R02S8bd9b08fc49d864fb6638e5bdc7f7757 535s 1..1 535s # Start of credentials tests 535s # GCredentials:linux-ucred:pid=3006,uid=1000,gid=1000 535s # GCredentials:linux-ucred:pid=3006,uid=0,gid=1000 535s ok 1 /credentials/basic 535s # End of credentials tests 535s ok - glib/credentials.test 535s # Running test: glib/error.test 535s TAP version 14 535s ok - glib/error.test 535s # Running test: glib/strfuncs.test 535s # random seed: R02S836647fb45a17e33f043af9588b57a33 535s 1..3 535s # Start of error tests 535s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_DW50J3/error/from-errno/.dirs/home 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_DW50J3/error/from-errno/.dirs/cache 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_DW50J3/error/from-errno/.dirs/system-config1:/tmp/test_error_DW50J3/error/from-errno/.dirs/system-config2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_DW50J3/error/from-errno/.dirs/config 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_DW50J3/error/from-errno/.dirs/system-data1:/tmp/test_error_DW50J3/error/from-errno/.dirs/system-data2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_DW50J3/error/from-errno/.dirs/data 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_DW50J3/error/from-errno/.dirs/state 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_DW50J3/error/from-errno/.dirs/runtime 535s ok 1 /error/from-errno 535s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_DW50J3/error/from-file-error/.dirs/home 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_DW50J3/error/from-file-error/.dirs/cache 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_DW50J3/error/from-file-error/.dirs/system-config1:/tmp/test_error_DW50J3/error/from-file-error/.dirs/system-config2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_DW50J3/error/from-file-error/.dirs/config 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_DW50J3/error/from-file-error/.dirs/system-data1:/tmp/test_error_DW50J3/error/from-file-error/.dirs/system-data2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_DW50J3/error/from-file-error/.dirs/data 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_DW50J3/error/from-file-error/.dirs/state 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_DW50J3/error/from-file-error/.dirs/runtime 535s ok 2 /error/from-file-error 535s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_DW50J3/error/from-win32-error/.dirs/home 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_DW50J3/error/from-win32-error/.dirs/cache 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_DW50J3/error/from-win32-error/.dirs/system-config1:/tmp/test_error_DW50J3/error/from-win32-error/.dirs/system-config2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_DW50J3/error/from-win32-error/.dirs/config 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_DW50J3/error/from-win32-error/.dirs/system-data1:/tmp/test_error_DW50J3/error/from-win32-error/.dirs/system-data2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_DW50J3/error/from-win32-error/.dirs/data 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_DW50J3/error/from-win32-error/.dirs/state 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_DW50J3/error/from-win32-error/.dirs/runtime 535s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 535s # End of error tests 535s TAP version 14 535s # random seed: R02S62f5bbb0e3d65c670443a90d3fbed3dc 535s 1..51 535s # Start of strfuncs tests 535s ok 1 /strfuncs/ascii-strcasecmp 535s ok 2 /strfuncs/ascii_strdown 535s ok 3 /strfuncs/ascii_strdup 535s ok 4 /strfuncs/ascii_strtod 535s ok 5 /strfuncs/bounds-check 535s ok - glib/strfuncs.test 535s # Running test: glib/option-argv0.test 535s ok - glib/option-argv0.test 535s # Running test: glib/messages-low-memory.py.test 535s ok 6 /strfuncs/has-prefix 535s ok 7 /strfuncs/has-prefix-macro 535s ok 8 /strfuncs/has-suffix 535s ok 9 /strfuncs/has-suffix-macro 535s ok 10 /strfuncs/memdup 535s ok 11 /strfuncs/memdup2 535s ok 12 /strfuncs/set_str 535s ok 13 /strfuncs/stpcpy 535s ok 14 /strfuncs/str_match_string 535s ok 15 /strfuncs/str_tokenize_and_fold 535s ok 16 /strfuncs/strcanon 535s ok 17 /strfuncs/strchomp 535s ok 18 /strfuncs/strchug 535s ok 19 /strfuncs/strcompress-strescape 535s ok 20 /strfuncs/strconcat 535s ok 21 /strfuncs/strdelimit 535s ok 22 /strfuncs/strdup 535s ok 23 /strfuncs/strdup-printf 535s ok 24 /strfuncs/strdupv 535s ok 25 /strfuncs/strerror 535s ok 26 /strfuncs/strip-context 535s ok 27 /strfuncs/strjoin 535s ok 28 /strfuncs/strjoinv 535s ok 29 /strfuncs/strlcat 535s ok 30 /strfuncs/strlcpy 535s ok 31 /strfuncs/strncasecmp 535s ok 32 /strfuncs/strndup 535s ok 33 /strfuncs/strnfill 535s ok 34 /strfuncs/strreverse 535s ok 35 /strfuncs/strsignal 535s ok 36 /strfuncs/strsplit 535s ok 37 /strfuncs/strsplit-set 535s ok 38 /strfuncs/strstr 535s ok 39 /strfuncs/strtod 535s ok 40 /strfuncs/strtoull-strtoll 535s ok 41 /strfuncs/strup 535s ok 42 /strfuncs/strv-contains 535s ok 43 /strfuncs/strv-equal 535s ok 44 /strfuncs/strv-length 535s ok 45 /strfuncs/test-is-to-digit 535s ok 46 /strfuncs/transliteration 535s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 535s ok 47 /strfuncs/str-equal 535s ok 48 /strfuncs/str-is-ascii 535s # Start of ascii-string-to-num tests 535s ok 49 /strfuncs/ascii-string-to-num/pathological 535s ok 50 /strfuncs/ascii-string-to-num/usual 535s # End of ascii-string-to-num tests 535s # Start of strdup tests 535s ok 51 /strfuncs/strdup/inline 535s # End of strdup tests 535s # End of strfuncs tests 535s TAP version 14 535s # random seed: R02S8159f78b0b8752f74a4b155881cc1019 535s 1..1 535s # Start of option tests 535s ok 1 /option/argv0 535s # End of option tests 535s TAP version 13 535s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 535s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 535s # tmpdir: /tmp/tmpfh8f014i 535s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 535s # Return code: -6 535s # Output: 535s # 535s # Error: 535s # GLib-Message: 18:25:03.867: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 535s # GLib-Message: 18:25:03.867: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 535s # ../../../glib/gprintf.c:351: failed to allocate memory 535s 1..1 535s ok - glib/messages-low-memory.py.test 535s # Running test: glib/strvbuilder.test 535s ok - glib/strvbuilder.test 535s TAP version 14 535s # random seed: R02S610dab9b28bcb63c4d8a419c9fd0c6c1 535s 1..7 535s # Start of strvbuilder tests 535s ok 1 /strvbuilder/empty 535s ok 2 /strvbuilder/add 535s ok 3 /strvbuilder/addv 535s ok 4 /strvbuilder/add_many 535s ok 5 /strvbuilder/take 535s ok 6 /strvbuilder/ref 535s ok 7 /strvbuilder/unref_to_strv 535s # End of strvbuilder tests 535s # Running test: glib/cxx-17.test 535s TAP version 14 535s # random seed: R02S8ebc74e10682a14269c4d464beff37ae 535s 1..2 535s # Start of gtask tests 535s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 535s ok 1 /gtask/name 535s # Start of name tests 535s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 535s ok 2 /gtask/name/macro-wrapper 535s # End of name tests 535s # End of gtask tests 535s ok - glib/cxx-17.test 535s # Running test: glib/gdbus-proxy-well-known-name.test 535s TAP version 14 535s # random seed: R02S29986341d176510acd11f7040aac9a12 535s 1..1 535s # Start of gdbus tests 535s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_1PC3J3/gdbus/proxy-well-known-name/.dirs/home 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_1PC3J3/gdbus/proxy-well-known-name/.dirs/cache 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_1PC3J3/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_1PC3J3/gdbus/proxy-well-known-name/.dirs/system-config2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_1PC3J3/gdbus/proxy-well-known-name/.dirs/config 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_1PC3J3/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_1PC3J3/gdbus/proxy-well-known-name/.dirs/system-data2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_1PC3J3/gdbus/proxy-well-known-name/.dirs/data 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_1PC3J3/gdbus/proxy-well-known-name/.dirs/state 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_1PC3J3/gdbus/proxy-well-known-name/.dirs/runtime 535s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 535s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 535s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 535s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 535s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 535s ok 1 /gdbus/proxy-well-known-name 535s # End of gdbus tests 535s ok - glib/gdbus-proxy-well-known-name.test 535s # Running test: glib/proxy-test.test 535s TAP version 14 535s # random seed: R02S8be481205b8aee12835af065fe38950b 535s 1..11 535s # Start of proxy tests 535s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ‘gio-proxy-resolver’ 535s ok 1 /proxy/direct_sync 535s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 535s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1efcf37adf20 and GSocketClientAsyncConnectData 0x1efcf37ad440 535s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 535s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1efcf37aea40 for GSocketClientAsyncConnectData 0x1efcf37ad440 535s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 535s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 535s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 535s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 535s ok 2 /proxy/direct_async 535s ok 3 /proxy/single_sync 535s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 535s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1efcf37ae500 and GSocketClientAsyncConnectData 0x1efcf37ad440 535s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 535s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1efcf37afba0 for GSocketClientAsyncConnectData 0x1efcf37ad440 535s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 535s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 535s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 535s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 535s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 535s ok 4 /proxy/single_async 535s ok 5 /proxy/multiple_sync 535s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 535s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1efcf37ae7f0 and GSocketClientAsyncConnectData 0x1efcf37ae780 535s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 535s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1efcf37b00e0 for GSocketClientAsyncConnectData 0x1efcf37ae780 535s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 535s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 535s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 535s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 535s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 535s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1efcf37b0080 for GSocketClientAsyncConnectData 0x1efcf37ae780 535s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 535s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 535s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 535s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 535s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 535s ok 6 /proxy/multiple_async 535s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 535s ok 7 /proxy/invalid-uris-sync 535s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 535s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 535s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1efcf37ae3e0 and GSocketClientAsyncConnectData 0x1efcf37b0270 535s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 535s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 535s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 535s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1efcf37ae500 and GSocketClientAsyncConnectData 0x1efcf37ae780 535s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 535s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 535s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 535s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1efcf37ae3e0 and GSocketClientAsyncConnectData 0x1efcf37b0270 535s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 535s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1efcf37aeaa0 for GSocketClientAsyncConnectData 0x1efcf37b0270 535s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 535s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 535s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 535s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 535s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 535s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1efcf37ae500 and GSocketClientAsyncConnectData 0x1efcf37b0270 535s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 535s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1efcf37b02e0 for GSocketClientAsyncConnectData 0x1efcf37b0270 535s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 535s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 535s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 535s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 535s ok 8 /proxy/invalid-uris-async 535s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 535s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1efcf37adf20 and GSocketClientAsyncConnectData 0x1efcf37b0270 535s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 535s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 535s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 535s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 535s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 535s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1efcf37b0400 and GSocketClientAsyncConnectData 0x1efcf37ae990 535s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 535s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1efcf37afa00 for GSocketClientAsyncConnectData 0x1efcf37ae990 535s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 535s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 535s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 535s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 535s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 535s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 535s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 535s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1efcf37ae3e0 and GSocketClientAsyncConnectData 0x1efcf37ae780 535s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 535s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1efcf37aeaa0 for GSocketClientAsyncConnectData 0x1efcf37ae780 535s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 535s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 535s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 535s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 535s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 535s ok 9 /proxy/dns 535s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 535s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1efcf37adf20 and GSocketClientAsyncConnectData 0x1efcf37ae780 535s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 535s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1efcf37aeaa0 for GSocketClientAsyncConnectData 0x1efcf37ae780 535s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 535s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 535s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 535s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 535s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 535s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 535s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 535s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1efcf37ae3e0 and GSocketClientAsyncConnectData 0x1efcf37ae5c0 535s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 535s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1efcf37afa00 for GSocketClientAsyncConnectData 0x1efcf37ae5c0 535s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 535s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 535s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 535s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 535s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 535s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 535s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1efcf37adf20 and GSocketClientAsyncConnectData 0x1efcf37b0270 535s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 535s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1efcf37b00e0 for GSocketClientAsyncConnectData 0x1efcf37b0270 535s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 535s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 535s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 535s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 535s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 535s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 535s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 535s ok 10 /proxy/override 535s ok 11 /proxy/enumerator-ports 535s # End of proxy tests 535s ok - glib/proxy-test.test 535s # Running test: glib/cache.test 535s TAP version 14 535s # random seed: R02S22f80f1344d82c7db46fbffa6f70bdd9 535s 1..1 535s # Start of cache tests 535s ok 1 /cache/basic 535s # End of cache tests 535s ok - glib/cache.test 535s # Running test: glib/refcount.test 535s ok - glib/refcount.test 535s # Running test: glib/g-icon.test 535s ok - glib/g-icon.test 535s # Running test: glib/gnotification.test 535s TAP version 14 535s # random seed: R02S5d888584898aa6356ce1b80a1ef8b61d 535s 1..4 535s # Start of refcount tests 535s ok 1 /refcount/grefcount 535s ok 2 /refcount/gatomicrefcount 535s # Start of grefcount tests 535s ok 3 /refcount/grefcount/saturation 535s # End of grefcount tests 535s # Start of gatomicrefcount tests 535s ok 4 /refcount/gatomicrefcount/saturation 535s # End of gatomicrefcount tests 535s # End of refcount tests 535s TAP version 14 535s # random seed: R02S7106d4abd879e1c07260ed5e62c7f9cf 535s 1..6 535s # Start of icons tests 535s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 535s ok 1 /icons/to-string 535s ok 2 /icons/serialize 535s ok 3 /icons/themed 535s ok 4 /icons/emblemed 535s ok 5 /icons/file 535s ok 6 /icons/bytes 535s # End of icons tests 535s TAP version 14 535s # random seed: R02S71b8726c9ee0205d210517ccbf929037 535s 1..2 535s # Start of gnotification tests 535s ok 1 /gnotification/basic 535s ok 2 /gnotification/properties 535s # End of gnotification tests 535s ok - glib/gnotification.test 535s # Running test: glib/slist.test 535s ok - glib/slist.test 535s # Running test: glib/date.test 535s TAP version 14 535s # random seed: R02Sf884f58d4bfb0f5c281121af3eb640ab 535s 1..14 535s # Start of slist tests 535s ok 1 /slist/sort 535s ok 2 /slist/sort-with-data 535s ok 3 /slist/insert-sorted 535s ok 4 /slist/insert-sorted-with-data 535s ok 5 /slist/reverse 535s ok 6 /slist/nth 535s ok 7 /slist/remove 535s ok 8 /slist/remove-all 535s ok 9 /slist/insert 535s ok 10 /slist/position 535s ok 11 /slist/concat 535s ok 12 /slist/copy 535s # Start of sort tests 535s ok 13 /slist/sort/stable 535s # End of sort tests 535s # Start of copy tests 535s ok 14 /slist/copy/deep 535s # End of copy tests 535s # End of slist tests 535s TAP version 14 535s # random seed: R02Sd41cf0f21e543d1c91b8e5a018841a84 535s 1..122 535s # Start of date tests 535s ok 1 /date/basic 535s ok 2 /date/empty 535s ok 3 /date/dmy 535s ok 4 /date/julian 535s ok 5 /date/compare 535s ok 6 /date/dates 535s ok 7 /date/strftime 535s ok 8 /date/two-digit-years 535s ok 9 /date/parse 535s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 535s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 535s ok 11 /date/month_substring 535s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 535s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 535s ok 13 /date/clamp 535s ok 14 /date/order 535s ok 15 /date/copy 535s # Vector 0: 0000-00-00, invalid 535s # Vector 1: 0001-01-01, valid 535s # Vector 2: 0000-01-01, invalid 535s # Vector 3: 2000-02-30, invalid 535s # Vector 4: 2000-02-29, valid 535s # Vector 5: 2001-02-29, invalid 535s # Vector 6: 65535-01-01, valid 535s ok 16 /date/valid-dmy 535s # Considering 2000-01-01 535s # Considering 2000-01-07 535s # Considering 2000-01-08 535s # Considering 2001-01-01 535s # Considering 2001-01-07 535s # Considering 2001-01-08 535s # Considering 2002-01-01 535s # Considering 2002-01-07 535s # Considering 2002-01-08 535s # Considering 2003-01-01 535s # Considering 2003-01-07 535s # Considering 2003-01-08 535s # Considering 2004-01-01 535s # Considering 2004-01-07 535s # Considering 2004-01-08 535s # Considering 2006-01-01 535s # Considering 2006-01-07 535s # Considering 2006-01-08 535s # Considering 2010-01-01 535s # Considering 2010-01-07 535s # Considering 2010-01-08 535s ok 17 /date/week-of-year 535s # Start of parse tests 535s # Test 0 535s # Test 1 535s ok 18 /date/parse/invalid 535s # End of parse tests 535s # Start of year tests 535s ok 19 /date/year/1 535s ok 20 /date/year/2 535s ok 21 /date/year/3 535s ok 22 /date/year/4 535s ok 23 /date/year/5 535s ok 24 /date/year/6 535s ok 25 /date/year/7 535s ok 26 /date/year/8 535s ok 27 /date/year/9 535s ok 28 /date/year/10 535s ok 29 /date/year/11 535s ok 30 /date/year/12 535s ok 31 /date/year/13 535s ok 32 /date/year/14 535s ok 33 /date/year/98 535s ok 34 /date/year/99 535s ok 35 /date/year/100 535s ok 36 /date/year/101 535s ok 37 /date/year/102 535s ok 38 /date/year/103 535s ok 39 /date/year/397 535s ok 40 /date/year/398 535s ok 41 /date/year/399 535s ok 42 /date/year/400 535s ok 43 /date/year/401 535s ok 44 /date/year/402 535s ok 45 /date/year/403 535s ok 46 /date/year/404 535s ok 47 /date/year/405 535s ok 48 /date/year/406 535s ok 49 /date/year/1598 535s ok 50 /date/year/1599 535s ok 51 /date/year/1600 535s ok 52 /date/year/1601 535s ok 53 /date/year/1602 535s ok 54 /date/year/1650 535s ok 55 /date/year/1651 535s ok 56 /date/year/1897 535s ok 57 /date/year/1898 535s ok 58 /date/year/1899 535s ok 59 /date/year/1900 535s ok 60 /date/year/1901 535s ok 61 /date/year/1902 535s ok 62 /date/year/1903 535s ok 63 /date/year/1961 535s ok 64 /date/year/1962 535s ok 65 /date/year/1963 535s ok 66 /date/year/1964 535s ok 67 /date/year/1965 535s ok 68 /date/year/1967 535s ok 69 /date/year/1968 535s ok 70 /date/year/1969 535s ok 71 /date/year/1970 535s ok 72 /date/year/1971 535s ok 73 /date/year/1972 535s ok 74 /date/year/1973 535s ok 75 /date/year/1974 535s ok 76 /date/year/1975 535s ok 77 /date/year/1976 535s ok 78 /date/year/1977 535s ok 79 /date/year/1978 535s ok 80 /date/year/1979 535s ok 81 /date/year/1980 535s ok 82 /date/year/1981 535s ok 83 /date/year/1982 535s ok 84 /date/year/1983 535s ok 85 /date/year/1984 535s ok 86 /date/year/1985 535s ok 87 /date/year/1986 535s ok 88 /date/year/1987 535s ok 89 /date/year/1988 535s ok 90 /date/year/1989 535s ok 91 /date/year/1990 535s ok 92 /date/year/1991 535s ok 93 /date/year/1992 535s ok 94 /date/year/1993 535s ok 95 /date/year/1994 535s ok 96 /date/year/1995 535s ok 97 /date/year/1996 535s ok 98 /date/year/1997 535s ok 99 /date/year/1998 535s ok 100 /date/year/1999 535s ok 101 /date/year/2000 535s ok 102 /date/year/2001 535s ok 103 /date/year/2002 535s ok 104 /date/year/2003 535s ok 105 /date/year/2004 535s ok 106 /date/year/2005 535s ok 107 /date/year/2006 535s ok 108 /date/year/2007 535s ok 109 /date/year/2008 535s ok 110 /date/year/2009 535s ok 111 /date/year/2010 535s ok 112 /date/year/2011 535s ok 113 /date/year/2012 535s ok 114 /date/year/3000 535s ok 115 /date/year/3001 535s ok 116 /date/year/3002 535s ok 117 /date/year/3998 535s ok 118 /date/year/3999 535s ok 119 /date/year/4000 535s ok 120 /date/year/4001 535s ok 121 /date/year/4002 535s ok 122 /date/year/4003 535s # End of year tests 535s # End of date tests 535s ok - glib/date.test 535s # Running test: glib/unix-mounts.test 535s TAP version 14 535s # random seed: R02S447af1e3428c991c3d1bba3f961f642e 535s 1..4 535s # Start of unix-mounts tests 535s ok 1 /unix-mounts/is-system-fs-type 535s ok 2 /unix-mounts/is-system-device-path 535s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 535s ok - glib/unix-mounts.test 535s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 535s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 535s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 535s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 535s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 535s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 535s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 535s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 535s ok 3 /unix-mounts/get-mount-points 535s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 535s ok 4 /unix-mounts/get-mount-entries 535s # End of unix-mounts tests 535s # Running test: glib/genmarshal.py.test 535s TAP version 13 535s ok 1 __main__.TestGenmarshal.test_empty_list 535s # glib-genmarshal: /usr/bin/glib-genmarshal 535s # tmpdir: /tmp/tmpbf7f440i 535s # /tmp/tmpbf7f440i/tmpjrmtqcey.list: 535s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpbf7f440i/tmpjrmtqcey.list', '--header', '--quiet'] 535s # Return code: 0 535s # Output: 535s # /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 535s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 535s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 535s # 535s # #include 535s # 535s # G_BEGIN_DECLS 535s # 535s # 535s # G_END_DECLS 535s # 535s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 535s # Error: 535s # 535s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpbf7f440i/tmpjrmtqcey.list', '--body', '--quiet'] 535s # Return code: 0 535s # Output: 535s # /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 535s # #include 535s # 535s # #ifdef G_ENABLE_DEBUG 535s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 535s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 535s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 535s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 535s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 535s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 535s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 535s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 535s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 535s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 535s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 535s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 535s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 535s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 535s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 535s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 535s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 535s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 535s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 535s # #else /* !G_ENABLE_DEBUG */ 535s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 535s # * Do not access GValues directly in your code. Instead, use the 535s # * g_value_get_*() functions 535s # */ 535s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 535s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 535s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 535s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 535s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 535s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 535s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 535s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 535s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 535s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 535s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 535s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 535s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 535s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 535s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 535s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 535s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 535s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 535s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 535s # #endif /* !G_ENABLE_DEBUG */ 535s # Error: 535s ok 2 __main__.TestGenmarshal.test_help 535s # glib-genmarshal: /usr/bin/glib-genmarshal 535s # tmpdir: /tmp/tmpmluzi9fz 535s # Running: ['/usr/bin/glib-genmarshal', '--help'] 535s # Return code: 0 535s # Output: 535s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 535s # [--internal] [--valist-marshallers] [-v] 535s # [--g-fatal-warnings] [--include-header [HEADER]] 535s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 535s # [--prototypes] [--header] [--body] [--stdinc | 535s # --nostdinc] [--quiet | --verbose] 535s # [FILE ...] 535s # 535s # Generate signal marshallers for GObject 535s # 535s # positional arguments: 535s # FILE Files with lists of marshallers to generate, or "-" 535s # for standard input 535s # 535s # options: 535s # -h, --help show this help message and exit 535s # --prefix STRING Specify marshaller prefix 535s # --output FILE Write output into the specified file 535s # --skip-source Skip source location comments 535s # --internal Mark generated functions as internal 535s # --valist-marshallers Generate va_list marshallers 535s # -v, --version Print version information, and exit 535s # --g-fatal-warnings Make warnings fatal 535s # --include-header [HEADER] 535s # Include the specified header in the body 535s # --pragma-once Use "pragma once" as the inclusion guard 535s # -D CPP_DEFINES Pre-processor define 535s # -U CPP_UNDEFINES Pre-processor undefine 535s # --prototypes Generate the marshallers prototype in the C code 535s # --header Generate C headers 535s # --body Generate C code 535s # --stdinc Include standard marshallers 535s # --nostdinc Use standard marshallers 535s # --quiet Only print warnings and errors 535s # --verbose Be verbose, and include debugging information 535s # Error: 535s ok 3 __main__.TestGenmarshal.test_no_args 535s # glib-genmarshal: /usr/bin/glib-genmarshal 535s # tmpdir: /tmp/tmp_ny49_61 535s # Running: ['/usr/bin/glib-genmarshal'] 535s # Return code: 0 535s # Output: 535s # 535s # Error: 535s ok 4 __main__.TestGenmarshal.test_void_boolean 535s # glib-genmarshal: /usr/bin/glib-genmarshal 535s # tmpdir: /tmp/tmpr47s4orx 535s # /tmp/tmpr47s4orx/tmpesrpw6y_.list: VOID:BOOLEAN 535s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpr47s4orx/tmpesrpw6y_.list', '--header', '--quiet'] 535s # Return code: 0 535s # Output: 535s # /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 535s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 535s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 535s # 535s # #include 535s # 535s # G_BEGIN_DECLS 535s # 535s # /* VOID:BOOLEAN (/tmp/tmpr47s4orx/tmpesrpw6y_.list:1) */ 535s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 535s # 535s # 535s # G_END_DECLS 535s # 535s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 535s # Error: 535s # 535s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpr47s4orx/tmpesrpw6y_.list', '--body', '--quiet'] 535s # Return code: 0 535s # Output: 535s # /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 535s # #include 535s # 535s # #ifdef G_ENABLE_DEBUG 535s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 535s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 535s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 535s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 535s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 535s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 535s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 535s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 535s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 535s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 535s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 535s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 535s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 535s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 535s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 535s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 535s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 535s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 535s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 535s # #else /* !G_ENABLE_DEBUG */ 535s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 535s # * Do not access GValues directly in your code. Instead, use the 535s # * g_value_get_*() functions 535s # */ 535s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 535s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 535s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 535s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 535s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 535s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 535s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 535s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 535s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 535s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 535s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 535s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 535s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 535s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 535s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 535s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 535s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 535s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 535s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 535s # #endif /* !G_ENABLE_DEBUG */ 535s # Error: 536s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 536s # glib-genmarshal: /usr/bin/glib-genmarshal 536s # tmpdir: /tmp/tmp831un318 536s # /tmp/tmp831un318/tmpdgm52s7m.list: VOID:BOOLEAN,INT64 536s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp831un318/tmpdgm52s7m.list', '--header', '--quiet'] 536s # Return code: 0 536s # Output: 536s # /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 536s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 536s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 536s # 536s # #include 536s # 536s # G_BEGIN_DECLS 536s # 536s # /* VOID:BOOLEAN,INT64 (/tmp/tmp831un318/tmpdgm52s7m.list:1) */ 536s # extern 536s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 536s # GValue *return_value, 536s # guint n_param_values, 536s # const GValue *param_values, 536s # gpointer invocation_hint, 536s # gpointer marshal_data); 536s # 536s # 536s # G_END_DECLS 536s # 536s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 536s # Error: 536s # 536s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp831un318/tmpdgm52s7m.list', '--body', '--quiet'] 536s # Return code: 0 536s # Output: 536s # /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 536s # #include 536s # 536s # #ifdef G_ENABLE_DEBUG 536s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 536s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 536s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 536s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 536s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 536s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 536s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 536s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 536s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 536s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 536s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 536s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 536s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 536s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 536s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 536s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 536s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 536s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 536s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 536s # #else /* !G_ENABLE_DEBUG */ 536s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 536s # * Do not access GValues directly in your code. Instead, use the 536s # * g_value_get_*() functions 536s # */ 536s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 536s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 536s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 536s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 536s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 536s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 536s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 536s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 536s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 536s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 536s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 536s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 536s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 536s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 536s # #endif /* !G_ENABLE_DEBUG */ 536s # 536s # /* VOID:BOOLEAN,INT64 (/tmp/tmp831un318/tmpdgm52s7m.list:1) */ 536s # void 536s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 536s # GValue *return_value G_GNUC_UNUSED, 536s # guint n_param_values, 536s # const GValue *param_values, 536s # gpointer invocation_hint G_GNUC_UNUSED, 536s # gpointer marshal_data) 536s # { 536s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 536s # gboolean arg1, 536s # gint64 arg2, 536s # gpointer data2); 536s # GCClosure *cc = (GCClosure *) closure; 536s # gpointer data1, data2; 536s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 536s # 536s # g_return_if_fail (n_param_values == 3); 536s # 536s # if (G_CCLOSURE_SWAP_DATA (closure)) 536s # { 536s # data1 = closure->data; 536s # data2 = g_value_peek_pointer (param_values + 0); 536s # } 536s # else 536s # { 536s # data1 = g_value_peek_pointer (param_values + 0); 536s # data2 = closure->data; 536s # } 536s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 536s # 536s # callback (data1, 536s # g_marshal_value_peek_boolean (param_values + 1), 536s # g_marshal_value_peek_int64 (param_values + 2), 536s # data2); 536s # } 536s # Error: 536s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 536s # glib-genmarshal: /usr/bin/glib-genmarshal 536s # tmpdir: /tmp/tmpfvw4pklx 536s # /tmp/tmpfvw4pklx/tmpt18ugan2.list: VOID:PARAM 536s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpfvw4pklx/tmpt18ugan2.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 536s # Return code: 0 536s # Output: 536s # /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 536s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 536s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 536s # 536s # G_BEGIN_DECLS 536s # 536s # /* VOID:PARAM (/tmp/tmpfvw4pklx/tmpt18ugan2.list:1) */ 536s # extern 536s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 536s # GValue *return_value, 536s # guint n_param_values, 536s # const GValue *param_values, 536s # gpointer invocation_hint, 536s # gpointer marshal_data); 536s # extern 536s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 536s # GValue *return_value, 536s # gpointer instance, 536s # va_list args, 536s # gpointer marshal_data, 536s # int n_params, 536s # GType *param_types); 536s # 536s # 536s # G_END_DECLS 536s # 536s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 536s # Error: 536s # 536s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpfvw4pklx/tmpt18ugan2.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 536s # Return code: 0 536s # Output: 536s # /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 536s # #ifdef G_ENABLE_DEBUG 536s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 536s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 536s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 536s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 536s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 536s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 536s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 536s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 536s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 536s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 536s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 536s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 536s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 536s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 536s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 536s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 536s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 536s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 536s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 536s # #else /* !G_ENABLE_DEBUG */ 536s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 536s # * Do not access GValues directly in your code. Instead, use the 536s # * g_value_get_*() functions 536s # */ 536s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 536s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 536s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 536s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 536s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 536s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 536s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 536s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 536s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 536s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 536s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 536s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 536s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 536s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 536s # #endif /* !G_ENABLE_DEBUG */ 536s # 536s # /* VOID:PARAM (/tmp/tmpfvw4pklx/tmpt18ugan2.list:1) */ 536s # void 536s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 536s # GValue *return_value G_GNUC_UNUSED, 536s # guint n_param_values, 536s # const GValue *param_values, 536s # gpointer invocation_hint G_GNUC_UNUSED, 536s # gpointer marshal_data) 536s # { 536s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 536s # gpointer arg1, 536s # gpointer data2); 536s # GCClosure *cc = (GCClosure *) closure; 536s # gpointer data1, data2; 536s # GMarshalFunc_VOID__PARAM callback; 536s # 536s # g_return_if_fail (n_param_values == 2); 536s # 536s # if (G_CCLOSURE_SWAP_DATA (closure)) 536s # { 536s # data1 = closure->data; 536s # data2 = g_value_peek_pointer (param_values + 0); 536s # } 536s # else 536s # { 536s # data1 = g_value_peek_pointer (param_values + 0); 536s # data2 = closure->data; 536s # } 536s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 536s # 536s # callback (data1, 536s # g_marshal_value_peek_param (param_values + 1), 536s # data2); 536s # } 536s # 536s # void 536s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 536s # GValue *return_value G_GNUC_UNUSED, 536s # gpointer instance, 536s # va_list args, 536s # gpointer marshal_data, 536s # int n_params, 536s # GType *param_types) 536s # { 536s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 536s # gpointer arg1, 536s # gpointer data2); 536s # GCClosure *cc = (GCClosure *) closure; 536s # gpointer data1, data2; 536s # GMarshalFunc_VOID__PARAM callback; 536s # gpointer arg0; 536s # va_list args_copy; 536s # 536s # va_copy (args_copy, args); 536s # arg0 = (gpointer) va_arg (args_copy, gpointer); 536s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 536s # arg0 = g_param_spec_ref (arg0); 536s # va_end (args_copy); 536s # 536s # 536s # if (G_CCLOSURE_SWAP_DATA (closure)) 536s # { 536s # data1 = closure->data; 536s # data2 = instance; 536s # } 536s # else 536s # { 536s # data1 = instance; 536s # data2 = closure->data; 536s # } 536s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 536s # 536s # callback (data1, 536s # arg0, 536s # data2); 536s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 536s # g_param_spec_unref (arg0); 536s # } 536s # Error: 536s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 536s # glib-genmarshal: /usr/bin/glib-genmarshal 536s # tmpdir: /tmp/tmphtkbj3el 536s # /tmp/tmphtkbj3el/tmpxua1256i.list: VOID:STRING 536s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmphtkbj3el/tmpxua1256i.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 536s # Return code: 0 536s # Output: 536s # /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 536s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 536s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 536s # 536s # G_BEGIN_DECLS 536s # 536s # /* VOID:STRING (/tmp/tmphtkbj3el/tmpxua1256i.list:1) */ 536s # extern 536s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 536s # GValue *return_value, 536s # guint n_param_values, 536s # const GValue *param_values, 536s # gpointer invocation_hint, 536s # gpointer marshal_data); 536s # extern 536s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 536s # GValue *return_value, 536s # gpointer instance, 536s # va_list args, 536s # gpointer marshal_data, 536s # int n_params, 536s # GType *param_types); 536s # 536s # 536s # G_END_DECLS 536s # 536s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 536s # Error: 536s # 536s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmphtkbj3el/tmpxua1256i.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 536s # Return code: 0 536s # Output: 536s # /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 536s # #ifdef G_ENABLE_DEBUG 536s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 536s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 536s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 536s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 536s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 536s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 536s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 536s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 536s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 536s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 536s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 536s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 536s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 536s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 536s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 536s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 536s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 536s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 536s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 536s # #else /* !G_ENABLE_DEBUG */ 536s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 536s # * Do not access GValues directly in your code. Instead, use the 536s # * g_value_get_*() functions 536s # */ 536s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 536s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 536s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 536s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 536s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 536s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 536s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 536s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 536s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 536s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 536s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 536s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 536s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 536s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 536s # #endif /* !G_ENABLE_DEBUG */ 536s # 536s # /* VOID:STRING (/tmp/tmphtkbj3el/tmpxua1256i.list:1) */ 536s # void 536s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 536s # GValue *return_value G_GNUC_UNUSED, 536s # guint n_param_values, 536s # const GValue *param_values, 536s # gpointer invocation_hint G_GNUC_UNUSED, 536s # gpointer marshal_data) 536s # { 536s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 536s # gpointer arg1, 536s # gpointer data2); 536s # GCClosure *cc = (GCClosure *) closure; 536s # gpointer data1, data2; 536s # GMarshalFunc_VOID__STRING callback; 536s # 536s # g_return_if_fail (n_param_values == 2); 536s # 536s # if (G_CCLOSURE_SWAP_DATA (closure)) 536s # { 536s # data1 = closure->data; 536s # data2 = g_value_peek_pointer (param_values + 0); 536s # } 536s # else 536s # { 536s # data1 = g_value_peek_pointer (param_values + 0); 536s # data2 = closure->data; 536s # } 536s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 536s # 536s # callback (data1, 536s # g_marshal_value_peek_string (param_values + 1), 536s # data2); 536s # } 536s # 536s # void 536s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 536s # GValue *return_value G_GNUC_UNUSED, 536s # gpointer instance, 536s # va_list args, 536s # gpointer marshal_data, 536s # int n_params, 536s # GType *param_types) 536s # { 536s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 536s # gpointer arg1, 536s # gpointer data2); 536s # GCClosure *cc = (GCClosure *) closure; 536s # gpointer data1, data2; 536s # GMarshalFunc_VOID__STRING callback; 536s # gpointer arg0; 536s # va_list args_copy; 536s # 536s # va_copy (args_copy, args); 536s # arg0 = (gpointer) va_arg (args_copy, gpointer); 536s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 536s # arg0 = g_strdup (arg0); 536s # va_end (args_copy); 536s # 536s # 536s # if (G_CCLOSURE_SWAP_DATA (closure)) 536s # { 536s # data1 = closure->data; 536s # data2 = instance; 536s # } 536s # else 536s # { 536s # data1 = instance; 536s # data2 = closure->data; 536s # } 536s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 536s # 536s # callback (data1, 536s # arg0, 536s # data2); 536s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 536s # g_free (arg0); 536s # } 536s # Error: 536s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 536s # glib-genmarshal: /usr/bin/glib-genmarshal 536s # tmpdir: /tmp/tmpmb7jzpze 536s # /tmp/tmpmb7jzpze/tmp_vixdh2b.list: VOID:VARIANT 536s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpmb7jzpze/tmp_vixdh2b.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 536s # Return code: 0 536s # Output: 536s # /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 536s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 536s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 536s # 536s # G_BEGIN_DECLS 536s # 536s # /* VOID:VARIANT (/tmp/tmpmb7jzpze/tmp_vixdh2b.list:1) */ 536s # extern 536s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 536s # GValue *return_value, 536s # guint n_param_values, 536s # const GValue *param_values, 536s # gpointer invocation_hint, 536s # gpointer marshal_data); 536s # extern 536s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 536s # GValue *return_value, 536s # gpointer instance, 536s # va_list args, 536s # gpointer marshal_data, 536s # int n_params, 536s # GType *param_types); 536s # 536s # 536s # G_END_DECLS 536s # 536s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 536s # Error: 536s # 536s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpmb7jzpze/tmp_vixdh2b.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 536s # Return code: 0 536s # Output: 536s # /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 536s # #ifdef G_ENABLE_DEBUG 536s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 536s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 536s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 536s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 536s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 536s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 536s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 536s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 536s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 536s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 536s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 536s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 536s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 536s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 536s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 536s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 536s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 536s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 536s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 536s # #else /* !G_ENABLE_DEBUG */ 536s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 536s # * Do not access GValues directly in your code. Instead, use the 536s # * g_value_get_*() functions 536s # */ 536s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 536s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 536s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 536s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 536s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 536s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 536s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 536s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 536s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 536s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 536s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 536s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 536s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 536s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 536s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 536s # #endif /* !G_ENABLE_DEBUG */ 536s # 536s # /* VOID:VARIANT (/tmp/tmpmb7jzpze/tmp_vixdh2b.list:1) */ 536s # void 536s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 536s # GValue *return_value G_GNUC_UNUSED, 536s # guint n_param_values, 536s # const GValue *param_values, 536s # gpointer invocation_hint G_GNUC_UNUSED, 536s # gpointer marshal_data) 536s # { 536s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 536s # gpointer arg1, 536s # gpointer data2); 536s # GCClosure *cc = (GCClosure *) closure; 536s # gpointer data1, data2; 536s # GMarshalFunc_VOID__VARIANT callback; 536s # 536s # g_return_if_fail (n_param_values == 2); 536s # 536s # if (G_CCLOSURE_SWAP_DATA (closure)) 536s # { 536s # data1 = closure->data; 536s # data2 = g_value_peek_pointer (param_values + 0); 536s # } 536s # else 536s # { 536s # data1 = g_value_peek_pointer (param_values + 0); 536s # data2 = closure->data; 536s # } 536s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 536s # 536s # callback (data1, 536s # g_marshal_value_peek_variant (param_values + 1), 536s # data2); 536s # } 536s # 536s # void 536s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 536s # GValue *return_value G_GNUC_UNUSED, 536s # gpointer instance, 536s # va_list args, 536s # gpointer marshal_data, 536s # int n_params, 536s # GType *param_types) 536s # { 536s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 536s # gpointer arg1, 536s # gpointer data2); 536s # GCClosure *cc = (GCClosure *) closure; 536s # gpointer data1, data2; 536s # GMarshalFunc_VOID__VARIANT callback; 536s # gpointer arg0; 536s # va_list args_copy; 536s # 536s # va_copy (args_copy, args); 536s # arg0 = (gpointer) va_arg (args_copy, gpointer); 536s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 536s # arg0 = g_variant_ref_sink (arg0); 536s # va_end (args_copy); 536s # 536s # 536s # if (G_CCLOSURE_SWAP_DATA (closure)) 536s # { 536s # data1 = closure->data; 536s # data2 = instance; 536s # } 536s # else 536s # { 536s # data1 = instance; 536s # data2 = closure->data; 536s # } 536s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 536s # 536s # callback (data1, 536s # arg0, 536s # data2); 536s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 536s # g_variant_unref (arg0); 536s # } 536s # Error: 536s 1..8 536s ok - glib/genmarshal.py.test 536s # Running test: glib/checksum.test 536s TAP version 14 536s # random seed: R02S5f1521a6439ea520f114420b44149d10 536s 1..1851 536s # Start of checksum tests 536s ok 1 /checksum/unsupported 536s # Start of MD5 tests 536s ok 2 /checksum/MD5/0 536s ok 3 /checksum/MD5/1 536s ok 4 /checksum/MD5/2 536s ok 5 /checksum/MD5/3 536s ok 6 /checksum/MD5/4 536s ok 7 /checksum/MD5/5 536s ok 8 /checksum/MD5/6 536s ok 9 /checksum/MD5/7 536s ok 10 /checksum/MD5/8 536s ok 11 /checksum/MD5/9 536s ok 12 /checksum/MD5/10 536s ok 13 /checksum/MD5/11 536s ok 14 /checksum/MD5/12 536s ok 15 /checksum/MD5/13 536s ok 16 /checksum/MD5/14 536s ok 17 /checksum/MD5/15 536s ok 18 /checksum/MD5/16 536s ok 19 /checksum/MD5/17 536s ok 20 /checksum/MD5/18 536s ok 21 /checksum/MD5/19 536s ok 22 /checksum/MD5/20 536s ok 23 /checksum/MD5/21 536s ok 24 /checksum/MD5/22 536s ok 25 /checksum/MD5/23 536s ok 26 /checksum/MD5/24 536s ok 27 /checksum/MD5/25 536s ok 28 /checksum/MD5/26 536s ok 29 /checksum/MD5/27 536s ok 30 /checksum/MD5/28 536s ok 31 /checksum/MD5/29 536s ok 32 /checksum/MD5/30 536s ok 33 /checksum/MD5/31 536s ok 34 /checksum/MD5/32 536s ok 35 /checksum/MD5/33 536s ok 36 /checksum/MD5/34 536s ok 37 /checksum/MD5/35 536s ok 38 /checksum/MD5/36 536s ok 39 /checksum/MD5/37 536s ok 40 /checksum/MD5/38 536s ok 41 /checksum/MD5/39 536s ok 42 /checksum/MD5/40 536s ok 43 /checksum/MD5/41 536s ok 44 /checksum/MD5/42 536s ok 45 /checksum/MD5/43 536s ok 46 /checksum/MD5/44 536s ok 47 /checksum/MD5/45 536s ok 48 /checksum/MD5/46 536s ok 49 /checksum/MD5/47 536s ok 50 /checksum/MD5/48 536s ok 51 /checksum/MD5/49 536s ok 52 /checksum/MD5/50 536s ok 53 /checksum/MD5/51 536s ok 54 /checksum/MD5/52 536s ok 55 /checksum/MD5/53 536s ok 56 /checksum/MD5/54 536s ok 57 /checksum/MD5/55 536s ok 58 /checksum/MD5/56 536s ok 59 /checksum/MD5/57 536s ok 60 /checksum/MD5/58 536s ok 61 /checksum/MD5/59 536s ok 62 /checksum/MD5/60 536s ok 63 /checksum/MD5/61 536s ok 64 /checksum/MD5/62 536s ok 65 /checksum/MD5/63 536s ok 66 /checksum/MD5/64 536s ok 67 /checksum/MD5/65 536s ok 68 /checksum/MD5/66 536s ok 69 /checksum/MD5/67 536s ok 70 /checksum/MD5/68 536s ok 71 /checksum/MD5/69 536s ok 72 /checksum/MD5/70 536s ok 73 /checksum/MD5/71 536s ok 74 /checksum/MD5/72 536s ok 75 /checksum/MD5/73 536s ok 76 /checksum/MD5/74 536s ok 77 /checksum/MD5/75 536s ok 78 /checksum/MD5/76 536s ok 79 /checksum/MD5/77 536s ok 80 /checksum/MD5/78 536s ok 81 /checksum/MD5/79 536s ok 82 /checksum/MD5/80 536s ok 83 /checksum/MD5/81 536s ok 84 /checksum/MD5/82 536s ok 85 /checksum/MD5/83 536s ok 86 /checksum/MD5/84 536s ok 87 /checksum/MD5/85 536s ok 88 /checksum/MD5/86 536s ok 89 /checksum/MD5/87 536s ok 90 /checksum/MD5/88 536s ok 91 /checksum/MD5/89 536s ok 92 /checksum/MD5/90 536s ok 93 /checksum/MD5/91 536s ok 94 /checksum/MD5/92 536s ok 95 /checksum/MD5/93 536s ok 96 /checksum/MD5/94 536s ok 97 /checksum/MD5/95 536s ok 98 /checksum/MD5/96 536s ok 99 /checksum/MD5/97 536s ok 100 /checksum/MD5/98 536s ok 101 /checksum/MD5/99 536s ok 102 /checksum/MD5/100 536s ok 103 /checksum/MD5/101 536s ok 104 /checksum/MD5/102 536s ok 105 /checksum/MD5/103 536s ok 106 /checksum/MD5/104 536s ok 107 /checksum/MD5/105 536s ok 108 /checksum/MD5/106 536s ok 109 /checksum/MD5/107 536s ok 110 /checksum/MD5/108 536s ok 111 /checksum/MD5/109 536s ok 112 /checksum/MD5/110 536s ok 113 /checksum/MD5/111 536s ok 114 /checksum/MD5/112 536s ok 115 /checksum/MD5/113 536s ok 116 /checksum/MD5/114 536s ok 117 /checksum/MD5/115 536s ok 118 /checksum/MD5/116 536s ok 119 /checksum/MD5/117 536s ok 120 /checksum/MD5/118 536s ok 121 /checksum/MD5/119 536s ok 122 /checksum/MD5/120 536s ok 123 /checksum/MD5/121 536s ok 124 /checksum/MD5/122 536s ok 125 /checksum/MD5/123 536s ok 126 /checksum/MD5/124 536s ok 127 /checksum/MD5/125 536s ok 128 /checksum/MD5/126 536s ok 129 /checksum/MD5/127 536s ok 130 /checksum/MD5/128 536s ok 131 /checksum/MD5/129 536s ok 132 /checksum/MD5/130 536s ok 133 /checksum/MD5/131 536s ok 134 /checksum/MD5/132 536s ok 135 /checksum/MD5/133 536s ok 136 /checksum/MD5/134 536s ok 137 /checksum/MD5/135 536s ok 138 /checksum/MD5/136 536s ok 139 /checksum/MD5/137 536s ok 140 /checksum/MD5/138 536s ok 141 /checksum/MD5/139 536s ok 142 /checksum/MD5/140 536s ok 143 /checksum/MD5/141 536s ok 144 /checksum/MD5/142 536s ok 145 /checksum/MD5/143 536s ok 146 /checksum/MD5/144 536s ok 147 /checksum/MD5/145 536s ok 148 /checksum/MD5/146 536s ok 149 /checksum/MD5/147 536s ok 150 /checksum/MD5/148 536s ok 151 /checksum/MD5/149 536s ok 152 /checksum/MD5/150 536s ok 153 /checksum/MD5/151 536s ok 154 /checksum/MD5/152 536s ok 155 /checksum/MD5/153 536s ok 156 /checksum/MD5/154 536s ok 157 /checksum/MD5/155 536s ok 158 /checksum/MD5/156 536s ok 159 /checksum/MD5/157 536s ok 160 /checksum/MD5/158 536s ok 161 /checksum/MD5/159 536s ok 162 /checksum/MD5/160 536s ok 163 /checksum/MD5/161 536s ok 164 /checksum/MD5/162 536s ok 165 /checksum/MD5/163 536s ok 166 /checksum/MD5/164 536s ok 167 /checksum/MD5/165 536s ok 168 /checksum/MD5/166 536s ok 169 /checksum/MD5/167 536s ok 170 /checksum/MD5/168 536s ok 171 /checksum/MD5/169 536s ok 172 /checksum/MD5/170 536s ok 173 /checksum/MD5/171 536s ok 174 /checksum/MD5/172 536s ok 175 /checksum/MD5/173 536s ok 176 /checksum/MD5/174 536s ok 177 /checksum/MD5/175 536s ok 178 /checksum/MD5/176 536s ok 179 /checksum/MD5/177 536s ok 180 /checksum/MD5/178 536s ok 181 /checksum/MD5/179 536s ok 182 /checksum/MD5/180 536s ok 183 /checksum/MD5/181 536s ok 184 /checksum/MD5/182 536s ok 185 /checksum/MD5/183 536s ok 186 /checksum/MD5/string 536s ok 187 /checksum/MD5/bytes 536s # Start of reset tests 536s ok 188 /checksum/MD5/reset/0 536s ok 189 /checksum/MD5/reset/1 536s ok 190 /checksum/MD5/reset/2 536s ok 191 /checksum/MD5/reset/3 536s ok 192 /checksum/MD5/reset/4 536s ok 193 /checksum/MD5/reset/5 536s ok 194 /checksum/MD5/reset/6 536s ok 195 /checksum/MD5/reset/7 536s ok 196 /checksum/MD5/reset/8 536s ok 197 /checksum/MD5/reset/9 536s ok 198 /checksum/MD5/reset/10 536s ok 199 /checksum/MD5/reset/11 536s ok 200 /checksum/MD5/reset/12 536s ok 201 /checksum/MD5/reset/13 536s ok 202 /checksum/MD5/reset/14 536s ok 203 /checksum/MD5/reset/15 536s ok 204 /checksum/MD5/reset/16 536s ok 205 /checksum/MD5/reset/17 536s ok 206 /checksum/MD5/reset/18 536s ok 207 /checksum/MD5/reset/19 536s ok 208 /checksum/MD5/reset/20 536s ok 209 /checksum/MD5/reset/21 536s ok 210 /checksum/MD5/reset/22 536s ok 211 /checksum/MD5/reset/23 536s ok 212 /checksum/MD5/reset/24 536s ok 213 /checksum/MD5/reset/25 536s ok 214 /checksum/MD5/reset/26 536s ok 215 /checksum/MD5/reset/27 536s ok 216 /checksum/MD5/reset/28 536s ok 217 /checksum/MD5/reset/29 536s ok 218 /checksum/MD5/reset/30 536s ok 219 /checksum/MD5/reset/31 536s ok 220 /checksum/MD5/reset/32 536s ok 221 /checksum/MD5/reset/33 536s ok 222 /checksum/MD5/reset/34 536s ok 223 /checksum/MD5/reset/35 536s ok 224 /checksum/MD5/reset/36 536s ok 225 /checksum/MD5/reset/37 536s ok 226 /checksum/MD5/reset/38 536s ok 227 /checksum/MD5/reset/39 536s ok 228 /checksum/MD5/reset/40 536s ok 229 /checksum/MD5/reset/41 536s ok 230 /checksum/MD5/reset/42 536s ok 231 /checksum/MD5/reset/43 536s ok 232 /checksum/MD5/reset/44 536s ok 233 /checksum/MD5/reset/45 536s ok 234 /checksum/MD5/reset/46 536s ok 235 /checksum/MD5/reset/47 536s ok 236 /checksum/MD5/reset/48 536s ok 237 /checksum/MD5/reset/49 536s ok 238 /checksum/MD5/reset/50 536s ok 239 /checksum/MD5/reset/51 536s ok 240 /checksum/MD5/reset/52 536s ok 241 /checksum/MD5/reset/53 536s ok 242 /checksum/MD5/reset/54 536s ok 243 /checksum/MD5/reset/55 536s ok 244 /checksum/MD5/reset/56 536s ok 245 /checksum/MD5/reset/57 536s ok 246 /checksum/MD5/reset/58 536s ok 247 /checksum/MD5/reset/59 536s ok 248 /checksum/MD5/reset/60 536s ok 249 /checksum/MD5/reset/61 536s ok 250 /checksum/MD5/reset/62 536s ok 251 /checksum/MD5/reset/63 536s ok 252 /checksum/MD5/reset/64 536s ok 253 /checksum/MD5/reset/65 536s ok 254 /checksum/MD5/reset/66 536s ok 255 /checksum/MD5/reset/67 536s ok 256 /checksum/MD5/reset/68 536s ok 257 /checksum/MD5/reset/69 536s ok 258 /checksum/MD5/reset/70 536s ok 259 /checksum/MD5/reset/71 536s ok 260 /checksum/MD5/reset/72 536s ok 261 /checksum/MD5/reset/73 536s ok 262 /checksum/MD5/reset/74 536s ok 263 /checksum/MD5/reset/75 536s ok 264 /checksum/MD5/reset/76 536s ok 265 /checksum/MD5/reset/77 536s ok 266 /checksum/MD5/reset/78 536s ok 267 /checksum/MD5/reset/79 536s ok 268 /checksum/MD5/reset/80 536s ok 269 /checksum/MD5/reset/81 536s ok 270 /checksum/MD5/reset/82 536s ok 271 /checksum/MD5/reset/83 536s ok 272 /checksum/MD5/reset/84 536s ok 273 /checksum/MD5/reset/85 536s ok 274 /checksum/MD5/reset/86 536s ok 275 /checksum/MD5/reset/87 536s ok 276 /checksum/MD5/reset/88 536s ok 277 /checksum/MD5/reset/89 536s ok 278 /checksum/MD5/reset/90 536s ok 279 /checksum/MD5/reset/91 536s ok 280 /checksum/MD5/reset/92 536s ok 281 /checksum/MD5/reset/93 536s ok 282 /checksum/MD5/reset/94 536s ok 283 /checksum/MD5/reset/95 536s ok 284 /checksum/MD5/reset/96 536s ok 285 /checksum/MD5/reset/97 536s ok 286 /checksum/MD5/reset/98 536s ok 287 /checksum/MD5/reset/99 536s ok 288 /checksum/MD5/reset/100 536s ok 289 /checksum/MD5/reset/101 536s ok 290 /checksum/MD5/reset/102 536s ok 291 /checksum/MD5/reset/103 536s ok 292 /checksum/MD5/reset/104 536s ok 293 /checksum/MD5/reset/105 536s ok 294 /checksum/MD5/reset/106 536s ok 295 /checksum/MD5/reset/107 536s ok 296 /checksum/MD5/reset/108 536s ok 297 /checksum/MD5/reset/109 536s ok 298 /checksum/MD5/reset/110 536s ok 299 /checksum/MD5/reset/111 536s ok 300 /checksum/MD5/reset/112 536s ok 301 /checksum/MD5/reset/113 536s ok 302 /checksum/MD5/reset/114 536s ok 303 /checksum/MD5/reset/115 536s ok 304 /checksum/MD5/reset/116 536s ok 305 /checksum/MD5/reset/117 536s ok 306 /checksum/MD5/reset/118 536s ok 307 /checksum/MD5/reset/119 536s ok 308 /checksum/MD5/reset/120 536s ok 309 /checksum/MD5/reset/121 536s ok 310 /checksum/MD5/reset/122 536s ok 311 /checksum/MD5/reset/123 536s ok 312 /checksum/MD5/reset/124 536s ok 313 /checksum/MD5/reset/125 536s ok 314 /checksum/MD5/reset/126 536s ok 315 /checksum/MD5/reset/127 536s ok 316 /checksum/MD5/reset/128 536s ok 317 /checksum/MD5/reset/129 536s ok 318 /checksum/MD5/reset/130 536s ok 319 /checksum/MD5/reset/131 536s ok 320 /checksum/MD5/reset/132 536s ok 321 /checksum/MD5/reset/133 536s ok 322 /checksum/MD5/reset/134 536s ok 323 /checksum/MD5/reset/135 536s ok 324 /checksum/MD5/reset/136 536s ok 325 /checksum/MD5/reset/137 536s ok 326 /checksum/MD5/reset/138 536s ok 327 /checksum/MD5/reset/139 536s ok 328 /checksum/MD5/reset/140 536s ok 329 /checksum/MD5/reset/141 536s ok 330 /checksum/MD5/reset/142 536s ok 331 /checksum/MD5/reset/143 536s ok 332 /checksum/MD5/reset/144 536s ok 333 /checksum/MD5/reset/145 536s ok 334 /checksum/MD5/reset/146 536s ok 335 /checksum/MD5/reset/147 536s ok 336 /checksum/MD5/reset/148 536s ok 337 /checksum/MD5/reset/149 536s ok 338 /checksum/MD5/reset/150 536s ok 339 /checksum/MD5/reset/151 536s ok 340 /checksum/MD5/reset/152 536s ok 341 /checksum/MD5/reset/153 536s ok 342 /checksum/MD5/reset/154 536s ok 343 /checksum/MD5/reset/155 536s ok 344 /checksum/MD5/reset/156 536s ok 345 /checksum/MD5/reset/157 536s ok 346 /checksum/MD5/reset/158 536s ok 347 /checksum/MD5/reset/159 536s ok 348 /checksum/MD5/reset/160 536s ok 349 /checksum/MD5/reset/161 536s ok 350 /checksum/MD5/reset/162 536s ok 351 /checksum/MD5/reset/163 536s ok 352 /checksum/MD5/reset/164 536s ok 353 /checksum/MD5/reset/165 536s ok 354 /checksum/MD5/reset/166 536s ok 355 /checksum/MD5/reset/167 536s ok 356 /checksum/MD5/reset/168 536s ok 357 /checksum/MD5/reset/169 536s ok 358 /checksum/MD5/reset/170 536s ok 359 /checksum/MD5/reset/171 536s ok 360 /checksum/MD5/reset/172 536s ok 361 /checksum/MD5/reset/173 536s ok 362 /checksum/MD5/reset/174 536s ok 363 /checksum/MD5/reset/175 536s ok 364 /checksum/MD5/reset/176 536s ok 365 /checksum/MD5/reset/177 536s ok 366 /checksum/MD5/reset/178 536s ok 367 /checksum/MD5/reset/179 536s ok 368 /checksum/MD5/reset/180 536s ok 369 /checksum/MD5/reset/181 536s ok 370 /checksum/MD5/reset/182 536s ok 371 /checksum/MD5/reset/183 536s # End of reset tests 536s # End of MD5 tests 536s # Start of SHA1 tests 536s ok 372 /checksum/SHA1/0 536s ok 373 /checksum/SHA1/1 536s ok 374 /checksum/SHA1/2 536s ok 375 /checksum/SHA1/3 536s ok 376 /checksum/SHA1/4 536s ok 377 /checksum/SHA1/5 536s ok 378 /checksum/SHA1/6 536s ok 379 /checksum/SHA1/7 536s ok 380 /checksum/SHA1/8 536s ok 381 /checksum/SHA1/9 536s ok 382 /checksum/SHA1/10 536s ok 383 /checksum/SHA1/11 536s ok 384 /checksum/SHA1/12 536s ok 385 /checksum/SHA1/13 536s ok 386 /checksum/SHA1/14 536s ok 387 /checksum/SHA1/15 536s ok 388 /checksum/SHA1/16 536s ok 389 /checksum/SHA1/17 536s ok 390 /checksum/SHA1/18 536s ok 391 /checksum/SHA1/19 536s ok 392 /checksum/SHA1/20 536s ok 393 /checksum/SHA1/21 536s ok 394 /checksum/SHA1/22 536s ok 395 /checksum/SHA1/23 536s ok 396 /checksum/SHA1/24 536s ok 397 /checksum/SHA1/25 536s ok 398 /checksum/SHA1/26 536s ok 399 /checksum/SHA1/27 536s ok 400 /checksum/SHA1/28 536s ok 401 /checksum/SHA1/29 536s ok 402 /checksum/SHA1/30 536s ok 403 /checksum/SHA1/31 536s ok 404 /checksum/SHA1/32 536s ok 405 /checksum/SHA1/33 536s ok 406 /checksum/SHA1/34 536s ok 407 /checksum/SHA1/35 536s ok 408 /checksum/SHA1/36 536s ok 409 /checksum/SHA1/37 536s ok 410 /checksum/SHA1/38 536s ok 411 /checksum/SHA1/39 536s ok 412 /checksum/SHA1/40 536s ok 413 /checksum/SHA1/41 536s ok 414 /checksum/SHA1/42 536s ok 415 /checksum/SHA1/43 536s ok 416 /checksum/SHA1/44 536s ok 417 /checksum/SHA1/45 536s ok 418 /checksum/SHA1/46 536s ok 419 /checksum/SHA1/47 536s ok 420 /checksum/SHA1/48 536s ok 421 /checksum/SHA1/49 536s ok 422 /checksum/SHA1/50 536s ok 423 /checksum/SHA1/51 536s ok 424 /checksum/SHA1/52 536s ok 425 /checksum/SHA1/53 536s ok 426 /checksum/SHA1/54 536s ok 427 /checksum/SHA1/55 536s ok 428 /checksum/SHA1/56 536s ok 429 /checksum/SHA1/57 536s ok 430 /checksum/SHA1/58 536s ok 431 /checksum/SHA1/59 536s ok 432 /checksum/SHA1/60 536s ok 433 /checksum/SHA1/61 536s ok 434 /checksum/SHA1/62 536s ok 435 /checksum/SHA1/63 536s ok 436 /checksum/SHA1/64 536s ok 437 /checksum/SHA1/65 536s ok 438 /checksum/SHA1/66 536s ok 439 /checksum/SHA1/67 536s ok 440 /checksum/SHA1/68 536s ok 441 /checksum/SHA1/69 536s ok 442 /checksum/SHA1/70 536s ok 443 /checksum/SHA1/71 536s ok 444 /checksum/SHA1/72 536s ok 445 /checksum/SHA1/73 536s ok 446 /checksum/SHA1/74 536s ok 447 /checksum/SHA1/75 536s ok 448 /checksum/SHA1/76 536s ok 449 /checksum/SHA1/77 536s ok 450 /checksum/SHA1/78 536s ok 451 /checksum/SHA1/79 536s ok 452 /checksum/SHA1/80 536s ok 453 /checksum/SHA1/81 536s ok 454 /checksum/SHA1/82 536s ok 455 /checksum/SHA1/83 536s ok 456 /checksum/SHA1/84 536s ok 457 /checksum/SHA1/85 536s ok 458 /checksum/SHA1/86 536s ok 459 /checksum/SHA1/87 536s ok 460 /checksum/SHA1/88 536s ok 461 /checksum/SHA1/89 536s ok 462 /checksum/SHA1/90 536s ok 463 /checksum/SHA1/91 536s ok 464 /checksum/SHA1/92 536s ok 465 /checksum/SHA1/93 536s ok 466 /checksum/SHA1/94 536s ok 467 /checksum/SHA1/95 536s ok 468 /checksum/SHA1/96 536s ok 469 /checksum/SHA1/97 536s ok 470 /checksum/SHA1/98 536s ok 471 /checksum/SHA1/99 536s ok 472 /checksum/SHA1/100 536s ok 473 /checksum/SHA1/101 536s ok 474 /checksum/SHA1/102 536s ok 475 /checksum/SHA1/103 536s ok 476 /checksum/SHA1/104 536s ok 477 /checksum/SHA1/105 536s ok 478 /checksum/SHA1/106 536s ok 479 /checksum/SHA1/107 536s ok 480 /checksum/SHA1/108 536s ok 481 /checksum/SHA1/109 536s ok 482 /checksum/SHA1/110 536s ok 483 /checksum/SHA1/111 536s ok 484 /checksum/SHA1/112 536s ok 485 /checksum/SHA1/113 536s ok 486 /checksum/SHA1/114 536s ok 487 /checksum/SHA1/115 536s ok 488 /checksum/SHA1/116 536s ok 489 /checksum/SHA1/117 536s ok 490 /checksum/SHA1/118 536s ok 491 /checksum/SHA1/119 536s ok 492 /checksum/SHA1/120 536s ok 493 /checksum/SHA1/121 536s ok 494 /checksum/SHA1/122 536s ok 495 /checksum/SHA1/123 536s ok 496 /checksum/SHA1/124 536s ok 497 /checksum/SHA1/125 536s ok 498 /checksum/SHA1/126 536s ok 499 /checksum/SHA1/127 536s ok 500 /checksum/SHA1/128 536s ok 501 /checksum/SHA1/129 536s ok 502 /checksum/SHA1/130 536s ok 503 /checksum/SHA1/131 536s ok 504 /checksum/SHA1/132 536s ok 505 /checksum/SHA1/133 536s ok 506 /checksum/SHA1/134 536s ok 507 /checksum/SHA1/135 536s ok 508 /checksum/SHA1/136 536s ok 509 /checksum/SHA1/137 536s ok 510 /checksum/SHA1/138 536s ok 511 /checksum/SHA1/139 536s ok 512 /checksum/SHA1/140 536s ok 513 /checksum/SHA1/141 536s ok 514 /checksum/SHA1/142 536s ok 515 /checksum/SHA1/143 536s ok 516 /checksum/SHA1/144 536s ok 517 /checksum/SHA1/145 536s ok 518 /checksum/SHA1/146 536s ok 519 /checksum/SHA1/147 536s ok 520 /checksum/SHA1/148 536s ok 521 /checksum/SHA1/149 536s ok 522 /checksum/SHA1/150 536s ok 523 /checksum/SHA1/151 536s ok 524 /checksum/SHA1/152 536s ok 525 /checksum/SHA1/153 536s ok 526 /checksum/SHA1/154 536s ok 527 /checksum/SHA1/155 536s ok 528 /checksum/SHA1/156 536s ok 529 /checksum/SHA1/157 536s ok 530 /checksum/SHA1/158 536s ok 531 /checksum/SHA1/159 536s ok 532 /checksum/SHA1/160 536s ok 533 /checksum/SHA1/161 536s ok 534 /checksum/SHA1/162 536s ok 535 /checksum/SHA1/163 536s ok 536 /checksum/SHA1/164 536s ok 537 /checksum/SHA1/165 536s ok 538 /checksum/SHA1/166 536s ok 539 /checksum/SHA1/167 536s ok 540 /checksum/SHA1/168 536s ok 541 /checksum/SHA1/169 536s ok 542 /checksum/SHA1/170 536s ok 543 /checksum/SHA1/171 536s ok 544 /checksum/SHA1/172 536s ok 545 /checksum/SHA1/173 536s ok 546 /checksum/SHA1/174 536s ok 547 /checksum/SHA1/175 536s ok 548 /checksum/SHA1/176 536s ok 549 /checksum/SHA1/177 536s ok 550 /checksum/SHA1/178 536s ok 551 /checksum/SHA1/179 536s ok 552 /checksum/SHA1/180 536s ok 553 /checksum/SHA1/181 536s ok 554 /checksum/SHA1/182 536s ok 555 /checksum/SHA1/183 536s ok 556 /checksum/SHA1/string 536s ok 557 /checksum/SHA1/bytes 536s # Start of reset tests 536s ok 558 /checksum/SHA1/reset/0 536s ok 559 /checksum/SHA1/reset/1 536s ok 560 /checksum/SHA1/reset/2 536s ok 561 /checksum/SHA1/reset/3 536s ok 562 /checksum/SHA1/reset/4 536s ok 563 /checksum/SHA1/reset/5 536s ok 564 /checksum/SHA1/reset/6 536s ok 565 /checksum/SHA1/reset/7 536s ok 566 /checksum/SHA1/reset/8 536s ok 567 /checksum/SHA1/reset/9 536s ok 568 /checksum/SHA1/reset/10 536s ok 569 /checksum/SHA1/reset/11 536s ok 570 /checksum/SHA1/reset/12 536s ok 571 /checksum/SHA1/reset/13 536s ok 572 /checksum/SHA1/reset/14 536s ok 573 /checksum/SHA1/reset/15 536s ok 574 /checksum/SHA1/reset/16 536s ok 575 /checksum/SHA1/reset/17 536s ok 576 /checksum/SHA1/reset/18 536s ok 577 /checksum/SHA1/reset/19 536s ok 578 /checksum/SHA1/reset/20 536s ok 579 /checksum/SHA1/reset/21 536s ok 580 /checksum/SHA1/reset/22 536s ok 581 /checksum/SHA1/reset/23 536s ok 582 /checksum/SHA1/reset/24 536s ok 583 /checksum/SHA1/reset/25 536s ok 584 /checksum/SHA1/reset/26 536s ok 585 /checksum/SHA1/reset/27 536s ok 586 /checksum/SHA1/reset/28 536s ok 587 /checksum/SHA1/reset/29 536s ok 588 /checksum/SHA1/reset/30 536s ok 589 /checksum/SHA1/reset/31 536s ok 590 /checksum/SHA1/reset/32 536s ok 591 /checksum/SHA1/reset/33 536s ok 592 /checksum/SHA1/reset/34 536s ok 593 /checksum/SHA1/reset/35 536s ok 594 /checksum/SHA1/reset/36 536s ok 595 /checksum/SHA1/reset/37 536s ok 596 /checksum/SHA1/reset/38 536s ok 597 /checksum/SHA1/reset/39 536s ok 598 /checksum/SHA1/reset/40 536s ok 599 /checksum/SHA1/reset/41 536s ok 600 /checksum/SHA1/reset/42 536s ok 601 /checksum/SHA1/reset/43 536s ok 602 /checksum/SHA1/reset/44 536s ok 603 /checksum/SHA1/reset/45 536s ok 604 /checksum/SHA1/reset/46 536s ok 605 /checksum/SHA1/reset/47 536s ok 606 /checksum/SHA1/reset/48 536s ok 607 /checksum/SHA1/reset/49 536s ok 608 /checksum/SHA1/reset/50 536s ok 609 /checksum/SHA1/reset/51 536s ok 610 /checksum/SHA1/reset/52 536s ok 611 /checksum/SHA1/reset/53 536s ok 612 /checksum/SHA1/reset/54 536s ok 613 /checksum/SHA1/reset/55 536s ok 614 /checksum/SHA1/reset/56 536s ok 615 /checksum/SHA1/reset/57 536s ok 616 /checksum/SHA1/reset/58 536s ok 617 /checksum/SHA1/reset/59 536s ok 618 /checksum/SHA1/reset/60 536s ok 619 /checksum/SHA1/reset/61 536s ok 620 /checksum/SHA1/reset/62 536s ok 621 /checksum/SHA1/reset/63 536s ok 622 /checksum/SHA1/reset/64 536s ok 623 /checksum/SHA1/reset/65 536s ok 624 /checksum/SHA1/reset/66 536s ok 625 /checksum/SHA1/reset/67 536s ok 626 /checksum/SHA1/reset/68 536s ok 627 /checksum/SHA1/reset/69 536s ok 628 /checksum/SHA1/reset/70 536s ok 629 /checksum/SHA1/reset/71 536s ok 630 /checksum/SHA1/reset/72 536s ok 631 /checksum/SHA1/reset/73 536s ok 632 /checksum/SHA1/reset/74 536s ok 633 /checksum/SHA1/reset/75 536s ok 634 /checksum/SHA1/reset/76 536s ok 635 /checksum/SHA1/reset/77 536s ok 636 /checksum/SHA1/reset/78 536s ok 637 /checksum/SHA1/reset/79 536s ok 638 /checksum/SHA1/reset/80 536s ok 639 /checksum/SHA1/reset/81 536s ok 640 /checksum/SHA1/reset/82 536s ok 641 /checksum/SHA1/reset/83 536s ok 642 /checksum/SHA1/reset/84 536s ok 643 /checksum/SHA1/reset/85 536s ok 644 /checksum/SHA1/reset/86 536s ok 645 /checksum/SHA1/reset/87 536s ok 646 /checksum/SHA1/reset/88 536s ok 647 /checksum/SHA1/reset/89 536s ok 648 /checksum/SHA1/reset/90 536s ok 649 /checksum/SHA1/reset/91 536s ok 650 /checksum/SHA1/reset/92 536s ok 651 /checksum/SHA1/reset/93 536s ok 652 /checksum/SHA1/reset/94 536s ok 653 /checksum/SHA1/reset/95 536s ok 654 /checksum/SHA1/reset/96 536s ok 655 /checksum/SHA1/reset/97 536s ok 656 /checksum/SHA1/reset/98 536s ok 657 /checksum/SHA1/reset/99 536s ok 658 /checksum/SHA1/reset/100 536s ok 659 /checksum/SHA1/reset/101 536s ok 660 /checksum/SHA1/reset/102 536s ok 661 /checksum/SHA1/reset/103 536s ok 662 /checksum/SHA1/reset/104 536s ok 663 /checksum/SHA1/reset/105 536s ok 664 /checksum/SHA1/reset/106 536s ok 665 /checksum/SHA1/reset/107 536s ok 666 /checksum/SHA1/reset/108 536s ok 667 /checksum/SHA1/reset/109 536s ok 668 /checksum/SHA1/reset/110 536s ok 669 /checksum/SHA1/reset/111 536s ok 670 /checksum/SHA1/reset/112 536s ok 671 /checksum/SHA1/reset/113 536s ok 672 /checksum/SHA1/reset/114 536s ok 673 /checksum/SHA1/reset/115 536s ok 674 /checksum/SHA1/reset/116 536s ok 675 /checksum/SHA1/reset/117 536s ok 676 /checksum/SHA1/reset/118 536s ok 677 /checksum/SHA1/reset/119 536s ok 678 /checksum/SHA1/reset/120 536s ok 679 /checksum/SHA1/reset/121 536s ok 680 /checksum/SHA1/reset/122 536s ok 681 /checksum/SHA1/reset/123 536s ok 682 /checksum/SHA1/reset/124 536s ok 683 /checksum/SHA1/reset/125 536s ok 684 /checksum/SHA1/reset/126 536s ok 685 /checksum/SHA1/reset/127 536s ok 686 /checksum/SHA1/reset/128 536s ok 687 /checksum/SHA1/reset/129 536s ok 688 /checksum/SHA1/reset/130 536s ok 689 /checksum/SHA1/reset/131 536s ok 690 /checksum/SHA1/reset/132 536s ok 691 /checksum/SHA1/reset/133 536s ok 692 /checksum/SHA1/reset/134 536s ok 693 /checksum/SHA1/reset/135 536s ok 694 /checksum/SHA1/reset/136 536s ok 695 /checksum/SHA1/reset/137 536s ok 696 /checksum/SHA1/reset/138 536s ok 697 /checksum/SHA1/reset/139 536s ok 698 /checksum/SHA1/reset/140 536s ok 699 /checksum/SHA1/reset/141 536s ok 700 /checksum/SHA1/reset/142 536s ok 701 /checksum/SHA1/reset/143 536s ok 702 /checksum/SHA1/reset/144 536s ok 703 /checksum/SHA1/reset/145 536s ok 704 /checksum/SHA1/reset/146 536s ok 705 /checksum/SHA1/reset/147 536s ok 706 /checksum/SHA1/reset/148 536s ok 707 /checksum/SHA1/reset/149 536s ok 708 /checksum/SHA1/reset/150 536s ok 709 /checksum/SHA1/reset/151 536s ok 710 /checksum/SHA1/reset/152 536s ok 711 /checksum/SHA1/reset/153 536s ok 712 /checksum/SHA1/reset/154 536s ok 713 /checksum/SHA1/reset/155 536s ok 714 /checksum/SHA1/reset/156 536s ok 715 /checksum/SHA1/reset/157 536s ok 716 /checksum/SHA1/reset/158 536s ok 717 /checksum/SHA1/reset/159 536s ok 718 /checksum/SHA1/reset/160 536s ok 719 /checksum/SHA1/reset/161 536s ok 720 /checksum/SHA1/reset/162 536s ok 721 /checksum/SHA1/reset/163 536s ok 722 /checksum/SHA1/reset/164 536s ok 723 /checksum/SHA1/reset/165 536s ok 724 /checksum/SHA1/reset/166 536s ok 725 /checksum/SHA1/reset/167 536s ok 726 /checksum/SHA1/reset/168 536s ok 727 /checksum/SHA1/reset/169 536s ok 728 /checksum/SHA1/reset/170 536s ok 729 /checksum/SHA1/reset/171 536s ok 730 /checksum/SHA1/reset/172 536s ok 731 /checksum/SHA1/reset/173 536s ok 732 /checksum/SHA1/reset/174 536s ok 733 /checksum/SHA1/reset/175 536s ok 734 /checksum/SHA1/reset/176 536s ok 735 /checksum/SHA1/reset/177 536s ok 736 /checksum/SHA1/reset/178 536s ok 737 /checksum/SHA1/reset/179 536s ok 738 /checksum/SHA1/reset/180 536s ok 739 /checksum/SHA1/reset/181 536s ok 740 /checksum/SHA1/reset/182 536s ok 741 /checksum/SHA1/reset/183 536s # End of reset tests 536s # End of SHA1 tests 536s # Start of SHA256 tests 536s ok 742 /checksum/SHA256/0 536s ok 743 /checksum/SHA256/1 536s ok 744 /checksum/SHA256/2 536s ok 745 /checksum/SHA256/3 536s ok 746 /checksum/SHA256/4 536s ok 747 /checksum/SHA256/5 536s ok 748 /checksum/SHA256/6 536s ok 749 /checksum/SHA256/7 536s ok 750 /checksum/SHA256/8 536s ok 751 /checksum/SHA256/9 536s ok 752 /checksum/SHA256/10 536s ok 753 /checksum/SHA256/11 536s ok 754 /checksum/SHA256/12 536s ok 755 /checksum/SHA256/13 536s ok 756 /checksum/SHA256/14 536s ok 757 /checksum/SHA256/15 536s ok 758 /checksum/SHA256/16 536s ok 759 /checksum/SHA256/17 536s ok 760 /checksum/SHA256/18 536s ok 761 /checksum/SHA256/19 536s ok 762 /checksum/SHA256/20 536s ok 763 /checksum/SHA256/21 536s ok 764 /checksum/SHA256/22 536s ok 765 /checksum/SHA256/23 536s ok 766 /checksum/SHA256/24 536s ok 767 /checksum/SHA256/25 536s ok 768 /checksum/SHA256/26 536s ok 769 /checksum/SHA256/27 536s ok 770 /checksum/SHA256/28 536s ok 771 /checksum/SHA256/29 536s ok 772 /checksum/SHA256/30 536s ok 773 /checksum/SHA256/31 536s ok 774 /checksum/SHA256/32 536s ok 775 /checksum/SHA256/33 536s ok 776 /checksum/SHA256/34 536s ok 777 /checksum/SHA256/35 536s ok 778 /checksum/SHA256/36 536s ok 779 /checksum/SHA256/37 536s ok 780 /checksum/SHA256/38 536s ok 781 /checksum/SHA256/39 536s ok 782 /checksum/SHA256/40 536s ok 783 /checksum/SHA256/41 536s ok 784 /checksum/SHA256/42 536s ok 785 /checksum/SHA256/43 536s ok 786 /checksum/SHA256/44 536s ok 787 /checksum/SHA256/45 536s ok 788 /checksum/SHA256/46 536s ok 789 /checksum/SHA256/47 536s ok 790 /checksum/SHA256/48 536s ok 791 /checksum/SHA256/49 536s ok 792 /checksum/SHA256/50 536s ok 793 /checksum/SHA256/51 536s ok 794 /checksum/SHA256/52 536s ok 795 /checksum/SHA256/53 536s ok 796 /checksum/SHA256/54 536s ok 797 /checksum/SHA256/55 536s ok 798 /checksum/SHA256/56 536s ok 799 /checksum/SHA256/57 536s ok 800 /checksum/SHA256/58 536s ok 801 /checksum/SHA256/59 536s ok 802 /checksum/SHA256/60 536s ok 803 /checksum/SHA256/61 536s ok 804 /checksum/SHA256/62 536s ok 805 /checksum/SHA256/63 536s ok 806 /checksum/SHA256/64 536s ok 807 /checksum/SHA256/65 536s ok 808 /checksum/SHA256/66 536s ok 809 /checksum/SHA256/67 536s ok 810 /checksum/SHA256/68 536s ok 811 /checksum/SHA256/69 536s ok 812 /checksum/SHA256/70 536s ok 813 /checksum/SHA256/71 536s ok 814 /checksum/SHA256/72 536s ok 815 /checksum/SHA256/73 536s ok 816 /checksum/SHA256/74 536s ok 817 /checksum/SHA256/75 536s ok 818 /checksum/SHA256/76 536s ok 819 /checksum/SHA256/77 536s ok 820 /checksum/SHA256/78 536s ok 821 /checksum/SHA256/79 536s ok 822 /checksum/SHA256/80 536s ok 823 /checksum/SHA256/81 536s ok 824 /checksum/SHA256/82 536s ok 825 /checksum/SHA256/83 536s ok 826 /checksum/SHA256/84 536s ok 827 /checksum/SHA256/85 536s ok 828 /checksum/SHA256/86 536s ok 829 /checksum/SHA256/87 536s ok 830 /checksum/SHA256/88 536s ok 831 /checksum/SHA256/89 536s ok 832 /checksum/SHA256/90 536s ok 833 /checksum/SHA256/91 536s ok 834 /checksum/SHA256/92 536s ok 835 /checksum/SHA256/93 536s ok 836 /checksum/SHA256/94 536s ok 837 /checksum/SHA256/95 536s ok 838 /checksum/SHA256/96 536s ok 839 /checksum/SHA256/97 536s ok 840 /checksum/SHA256/98 536s ok 841 /checksum/SHA256/99 536s ok 842 /checksum/SHA256/100 536s ok 843 /checksum/SHA256/101 536s ok 844 /checksum/SHA256/102 536s ok 845 /checksum/SHA256/103 536s ok 846 /checksum/SHA256/104 536s ok 847 /checksum/SHA256/105 536s ok 848 /checksum/SHA256/106 536s ok 849 /checksum/SHA256/107 536s ok 850 /checksum/SHA256/108 536s ok 851 /checksum/SHA256/109 536s ok 852 /checksum/SHA256/110 536s ok 853 /checksum/SHA256/111 536s ok 854 /checksum/SHA256/112 536s ok 855 /checksum/SHA256/113 536s ok 856 /checksum/SHA256/114 536s ok 857 /checksum/SHA256/115 536s ok 858 /checksum/SHA256/116 536s ok 859 /checksum/SHA256/117 536s ok 860 /checksum/SHA256/118 536s ok 861 /checksum/SHA256/119 536s ok 862 /checksum/SHA256/120 536s ok 863 /checksum/SHA256/121 536s ok 864 /checksum/SHA256/122 536s ok 865 /checksum/SHA256/123 536s ok 866 /checksum/SHA256/124 536s ok 867 /checksum/SHA256/125 536s ok 868 /checksum/SHA256/126 536s ok 869 /checksum/SHA256/127 536s ok 870 /checksum/SHA256/128 536s ok 871 /checksum/SHA256/129 536s ok 872 /checksum/SHA256/130 536s ok 873 /checksum/SHA256/131 536s ok 874 /checksum/SHA256/132 536s ok 875 /checksum/SHA256/133 536s ok 876 /checksum/SHA256/134 536s ok 877 /checksum/SHA256/135 536s ok 878 /checksum/SHA256/136 536s ok 879 /checksum/SHA256/137 536s ok 880 /checksum/SHA256/138 536s ok 881 /checksum/SHA256/139 536s ok 882 /checksum/SHA256/140 536s ok 883 /checksum/SHA256/141 536s ok 884 /checksum/SHA256/142 536s ok 885 /checksum/SHA256/143 536s ok 886 /checksum/SHA256/144 536s ok 887 /checksum/SHA256/145 536s ok 888 /checksum/SHA256/146 536s ok 889 /checksum/SHA256/147 536s ok 890 /checksum/SHA256/148 536s ok 891 /checksum/SHA256/149 536s ok 892 /checksum/SHA256/150 536s ok 893 /checksum/SHA256/151 536s ok 894 /checksum/SHA256/152 536s ok 895 /checksum/SHA256/153 536s ok 896 /checksum/SHA256/154 536s ok 897 /checksum/SHA256/155 536s ok 898 /checksum/SHA256/156 536s ok 899 /checksum/SHA256/157 536s ok 900 /checksum/SHA256/158 536s ok 901 /checksum/SHA256/159 536s ok 902 /checksum/SHA256/160 536s ok 903 /checksum/SHA256/161 536s ok 904 /checksum/SHA256/162 536s ok 905 /checksum/SHA256/163 536s ok 906 /checksum/SHA256/164 536s ok 907 /checksum/SHA256/165 536s ok 908 /checksum/SHA256/166 536s ok 909 /checksum/SHA256/167 536s ok 910 /checksum/SHA256/168 536s ok 911 /checksum/SHA256/169 536s ok 912 /checksum/SHA256/170 536s ok 913 /checksum/SHA256/171 536s ok 914 /checksum/SHA256/172 536s ok 915 /checksum/SHA256/173 536s ok 916 /checksum/SHA256/174 536s ok 917 /checksum/SHA256/175 536s ok 918 /checksum/SHA256/176 536s ok 919 /checksum/SHA256/177 536s ok 920 /checksum/SHA256/178 536s ok 921 /checksum/SHA256/179 536s ok 922 /checksum/SHA256/180 536s ok 923 /checksum/SHA256/181 536s ok 924 /checksum/SHA256/182 536s ok 925 /checksum/SHA256/183 536s ok 926 /checksum/SHA256/string 536s ok 927 /checksum/SHA256/bytes 536s # Start of reset tests 536s ok 928 /checksum/SHA256/reset/0 536s ok 929 /checksum/SHA256/reset/1 536s ok 930 /checksum/SHA256/reset/2 536s ok 931 /checksum/SHA256/reset/3 536s ok 932 /checksum/SHA256/reset/4 536s ok 933 /checksum/SHA256/reset/5 536s ok 934 /checksum/SHA256/reset/6 536s ok 935 /checksum/SHA256/reset/7 536s ok 936 /checksum/SHA256/reset/8 536s ok 937 /checksum/SHA256/reset/9 536s ok 938 /checksum/SHA256/reset/10 536s ok 939 /checksum/SHA256/reset/11 536s ok 940 /checksum/SHA256/reset/12 536s ok 941 /checksum/SHA256/reset/13 536s ok 942 /checksum/SHA256/reset/14 536s ok 943 /checksum/SHA256/reset/15 536s ok 944 /checksum/SHA256/reset/16 536s ok 945 /checksum/SHA256/reset/17 536s ok 946 /checksum/SHA256/reset/18 536s ok 947 /checksum/SHA256/reset/19 536s ok 948 /checksum/SHA256/reset/20 536s ok 949 /checksum/SHA256/reset/21 536s ok 950 /checksum/SHA256/reset/22 536s ok 951 /checksum/SHA256/reset/23 536s ok 952 /checksum/SHA256/reset/24 536s ok 953 /checksum/SHA256/reset/25 536s ok 954 /checksum/SHA256/reset/26 536s ok 955 /checksum/SHA256/reset/27 536s ok 956 /checksum/SHA256/reset/28 536s ok 957 /checksum/SHA256/reset/29 536s ok 958 /checksum/SHA256/reset/30 536s ok 959 /checksum/SHA256/reset/31 536s ok 960 /checksum/SHA256/reset/32 536s ok 961 /checksum/SHA256/reset/33 536s ok 962 /checksum/SHA256/reset/34 536s ok 963 /checksum/SHA256/reset/35 536s ok 964 /checksum/SHA256/reset/36 536s ok 965 /checksum/SHA256/reset/37 536s ok 966 /checksum/SHA256/reset/38 536s ok 967 /checksum/SHA256/reset/39 536s ok 968 /checksum/SHA256/reset/40 536s ok 969 /checksum/SHA256/reset/41 536s ok 970 /checksum/SHA256/reset/42 536s ok 971 /checksum/SHA256/reset/43 536s ok 972 /checksum/SHA256/reset/44 536s ok 973 /checksum/SHA256/reset/45 536s ok 974 /checksum/SHA256/reset/46 536s ok 975 /checksum/SHA256/reset/47 536s ok 976 /checksum/SHA256/reset/48 536s ok 977 /checksum/SHA256/reset/49 536s ok 978 /checksum/SHA256/reset/50 536s ok 979 /checksum/SHA256/reset/51 536s ok 980 /checksum/SHA256/reset/52 536s ok 981 /checksum/SHA256/reset/53 536s ok 982 /checksum/SHA256/reset/54 536s ok 983 /checksum/SHA256/reset/55 536s ok 984 /checksum/SHA256/reset/56 536s ok 985 /checksum/SHA256/reset/57 536s ok 986 /checksum/SHA256/reset/58 536s ok 987 /checksum/SHA256/reset/59 536s ok 988 /checksum/SHA256/reset/60 536s ok 989 /checksum/SHA256/reset/61 536s ok 990 /checksum/SHA256/reset/62 536s ok 991 /checksum/SHA256/reset/63 536s ok 992 /checksum/SHA256/reset/64 536s ok 993 /checksum/SHA256/reset/65 536s ok 994 /checksum/SHA256/reset/66 536s ok 995 /checksum/SHA256/reset/67 536s ok 996 /checksum/SHA256/reset/68 536s ok 997 /checksum/SHA256/reset/69 536s ok 998 /checksum/SHA256/reset/70 536s ok 999 /checksum/SHA256/reset/71 536s ok 1000 /checksum/SHA256/reset/72 536s ok 1001 /checksum/SHA256/reset/73 536s ok 1002 /checksum/SHA256/reset/74 536s ok 1003 /checksum/SHA256/reset/75 536s ok 1004 /checksum/SHA256/reset/76 536s ok 1005 /checksum/SHA256/reset/77 536s ok 1006 /checksum/SHA256/reset/78 536s ok 1007 /checksum/SHA256/reset/79 536s ok 1008 /checksum/SHA256/reset/80 536s ok 1009 /checksum/SHA256/reset/81 536s ok 1010 /checksum/SHA256/reset/82 536s ok 1011 /checksum/SHA256/reset/83 536s ok 1012 /checksum/SHA256/reset/84 536s ok 1013 /checksum/SHA256/reset/85 536s ok 1014 /checksum/SHA256/reset/86 536s ok 1015 /checksum/SHA256/reset/87 536s ok 1016 /checksum/SHA256/reset/88 536s ok 1017 /checksum/SHA256/reset/89 536s ok 1018 /checksum/SHA256/reset/90 536s ok 1019 /checksum/SHA256/reset/91 536s ok 1020 /checksum/SHA256/reset/92 536s ok 1021 /checksum/SHA256/reset/93 536s ok 1022 /checksum/SHA256/reset/94 536s ok 1023 /checksum/SHA256/reset/95 536s ok 1024 /checksum/SHA256/reset/96 536s ok 1025 /checksum/SHA256/reset/97 536s ok 1026 /checksum/SHA256/reset/98 536s ok 1027 /checksum/SHA256/reset/99 536s ok 1028 /checksum/SHA256/reset/100 536s ok 1029 /checksum/SHA256/reset/101 536s ok 1030 /checksum/SHA256/reset/102 536s ok 1031 /checksum/SHA256/reset/103 536s ok 1032 /checksum/SHA256/reset/104 536s ok 1033 /checksum/SHA256/reset/105 536s ok 1034 /checksum/SHA256/reset/106 536s ok 1035 /checksum/SHA256/reset/107 536s ok 1036 /checksum/SHA256/reset/108 536s ok 1037 /checksum/SHA256/reset/109 536s ok 1038 /checksum/SHA256/reset/110 536s ok 1039 /checksum/SHA256/reset/111 536s ok 1040 /checksum/SHA256/reset/112 536s ok 1041 /checksum/SHA256/reset/113 536s ok 1042 /checksum/SHA256/reset/114 536s ok 1043 /checksum/SHA256/reset/115 536s ok 1044 /checksum/SHA256/reset/116 536s ok 1045 /checksum/SHA256/reset/117 536s ok 1046 /checksum/SHA256/reset/118 536s ok 1047 /checksum/SHA256/reset/119 536s ok 1048 /checksum/SHA256/reset/120 536s ok 1049 /checksum/SHA256/reset/121 536s ok 1050 /checksum/SHA256/reset/122 536s ok 1051 /checksum/SHA256/reset/123 536s ok 1052 /checksum/SHA256/reset/124 536s ok 1053 /checksum/SHA256/reset/125 536s ok 1054 /checksum/SHA256/reset/126 536s ok 1055 /checksum/SHA256/reset/127 536s ok 1056 /checksum/SHA256/reset/128 536s ok 1057 /checksum/SHA256/reset/129 536s ok 1058 /checksum/SHA256/reset/130 536s ok 1059 /checksum/SHA256/reset/131 536s ok 1060 /checksum/SHA256/reset/132 536s ok 1061 /checksum/SHA256/reset/133 536s ok 1062 /checksum/SHA256/reset/134 536s ok 1063 /checksum/SHA256/reset/135 536s ok 1064 /checksum/SHA256/reset/136 536s ok 1065 /checksum/SHA256/reset/137 536s ok 1066 /checksum/SHA256/reset/138 536s ok 1067 /checksum/SHA256/reset/139 536s ok 1068 /checksum/SHA256/reset/140 536s ok 1069 /checksum/SHA256/reset/141 536s ok 1070 /checksum/SHA256/reset/142 536s ok 1071 /checksum/SHA256/reset/143 536s ok 1072 /checksum/SHA256/reset/144 536s ok 1073 /checksum/SHA256/reset/145 536s ok 1074 /checksum/SHA256/reset/146 536s ok 1075 /checksum/SHA256/reset/147 536s ok 1076 /checksum/SHA256/reset/148 536s ok 1077 /checksum/SHA256/reset/149 536s ok 1078 /checksum/SHA256/reset/150 536s ok 1079 /checksum/SHA256/reset/151 536s ok 1080 /checksum/SHA256/reset/152 536s ok 1081 /checksum/SHA256/reset/153 536s ok 1082 /checksum/SHA256/reset/154 536s ok 1083 /checksum/SHA256/reset/155 536s ok 1084 /checksum/SHA256/reset/156 536s ok 1085 /checksum/SHA256/reset/157 536s ok 1086 /checksum/SHA256/reset/158 536s ok 1087 /checksum/SHA256/reset/159 536s ok 1088 /checksum/SHA256/reset/160 536s ok 1089 /checksum/SHA256/reset/161 536s ok 1090 /checksum/SHA256/reset/162 536s ok 1091 /checksum/SHA256/reset/163 536s ok 1092 /checksum/SHA256/reset/164 536s ok 1093 /checksum/SHA256/reset/165 536s ok 1094 /checksum/SHA256/reset/166 536s ok 1095 /checksum/SHA256/reset/167 536s ok 1096 /checksum/SHA256/reset/168 536s ok 1097 /checksum/SHA256/reset/169 536s ok 1098 /checksum/SHA256/reset/170 536s ok 1099 /checksum/SHA256/reset/171 536s ok 1100 /checksum/SHA256/reset/172 536s ok 1101 /checksum/SHA256/reset/173 536s ok 1102 /checksum/SHA256/reset/174 536s ok 1103 /checksum/SHA256/reset/175 536s ok 1104 /checksum/SHA256/reset/176 536s ok 1105 /checksum/SHA256/reset/177 536s ok 1106 /checksum/SHA256/reset/178 536s ok 1107 /checksum/SHA256/reset/179 536s ok 1108 /checksum/SHA256/reset/180 536s ok 1109 /checksum/SHA256/reset/181 536s ok 1110 /checksum/SHA256/reset/182 536s ok 1111 /checksum/SHA256/reset/183 536s # End of reset tests 536s # End of SHA256 tests 536s # Start of SHA384 tests 536s ok 1112 /checksum/SHA384/0 536s ok 1113 /checksum/SHA384/1 536s ok 1114 /checksum/SHA384/2 536s ok 1115 /checksum/SHA384/3 536s ok 1116 /checksum/SHA384/4 536s ok 1117 /checksum/SHA384/5 536s ok 1118 /checksum/SHA384/6 536s ok 1119 /checksum/SHA384/7 536s ok 1120 /checksum/SHA384/8 536s ok 1121 /checksum/SHA384/9 536s ok 1122 /checksum/SHA384/10 536s ok 1123 /checksum/SHA384/11 536s ok 1124 /checksum/SHA384/12 536s ok 1125 /checksum/SHA384/13 536s ok 1126 /checksum/SHA384/14 536s ok 1127 /checksum/SHA384/15 536s ok 1128 /checksum/SHA384/16 536s ok 1129 /checksum/SHA384/17 536s ok 1130 /checksum/SHA384/18 536s ok 1131 /checksum/SHA384/19 536s ok 1132 /checksum/SHA384/20 536s ok 1133 /checksum/SHA384/21 536s ok 1134 /checksum/SHA384/22 536s ok 1135 /checksum/SHA384/23 536s ok 1136 /checksum/SHA384/24 536s ok 1137 /checksum/SHA384/25 536s ok 1138 /checksum/SHA384/26 536s ok 1139 /checksum/SHA384/27 536s ok 1140 /checksum/SHA384/28 536s ok 1141 /checksum/SHA384/29 536s ok 1142 /checksum/SHA384/30 536s ok 1143 /checksum/SHA384/31 536s ok 1144 /checksum/SHA384/32 536s ok 1145 /checksum/SHA384/33 536s ok 1146 /checksum/SHA384/34 536s ok 1147 /checksum/SHA384/35 536s ok 1148 /checksum/SHA384/36 536s ok 1149 /checksum/SHA384/37 536s ok 1150 /checksum/SHA384/38 536s ok 1151 /checksum/SHA384/39 536s ok 1152 /checksum/SHA384/40 536s ok 1153 /checksum/SHA384/41 536s ok 1154 /checksum/SHA384/42 536s ok 1155 /checksum/SHA384/43 536s ok 1156 /checksum/SHA384/44 536s ok 1157 /checksum/SHA384/45 536s ok 1158 /checksum/SHA384/46 536s ok 1159 /checksum/SHA384/47 536s ok 1160 /checksum/SHA384/48 536s ok 1161 /checksum/SHA384/49 536s ok 1162 /checksum/SHA384/50 536s ok 1163 /checksum/SHA384/51 536s ok 1164 /checksum/SHA384/52 536s ok 1165 /checksum/SHA384/53 536s ok 1166 /checksum/SHA384/54 536s ok 1167 /checksum/SHA384/55 536s ok 1168 /checksum/SHA384/56 536s ok 1169 /checksum/SHA384/57 536s ok 1170 /checksum/SHA384/58 536s ok 1171 /checksum/SHA384/59 536s ok 1172 /checksum/SHA384/60 536s ok 1173 /checksum/SHA384/61 536s ok 1174 /checksum/SHA384/62 536s ok 1175 /checksum/SHA384/63 536s ok 1176 /checksum/SHA384/64 536s ok 1177 /checksum/SHA384/65 536s ok 1178 /checksum/SHA384/66 536s ok 1179 /checksum/SHA384/67 536s ok 1180 /checksum/SHA384/68 536s ok 1181 /checksum/SHA384/69 536s ok 1182 /checksum/SHA384/70 536s ok 1183 /checksum/SHA384/71 536s ok 1184 /checksum/SHA384/72 536s ok 1185 /checksum/SHA384/73 536s ok 1186 /checksum/SHA384/74 536s ok 1187 /checksum/SHA384/75 536s ok 1188 /checksum/SHA384/76 536s ok 1189 /checksum/SHA384/77 536s ok 1190 /checksum/SHA384/78 536s ok 1191 /checksum/SHA384/79 536s ok 1192 /checksum/SHA384/80 536s ok 1193 /checksum/SHA384/81 536s ok 1194 /checksum/SHA384/82 536s ok 1195 /checksum/SHA384/83 536s ok 1196 /checksum/SHA384/84 536s ok 1197 /checksum/SHA384/85 536s ok 1198 /checksum/SHA384/86 536s ok 1199 /checksum/SHA384/87 536s ok 1200 /checksum/SHA384/88 536s ok 1201 /checksum/SHA384/89 536s ok 1202 /checksum/SHA384/90 536s ok 1203 /checksum/SHA384/91 536s ok 1204 /checksum/SHA384/92 536s ok 1205 /checksum/SHA384/93 536s ok 1206 /checksum/SHA384/94 536s ok 1207 /checksum/SHA384/95 536s ok 1208 /checksum/SHA384/96 536s ok 1209 /checksum/SHA384/97 536s ok 1210 /checksum/SHA384/98 536s ok 1211 /checksum/SHA384/99 536s ok 1212 /checksum/SHA384/100 536s ok 1213 /checksum/SHA384/101 536s ok 1214 /checksum/SHA384/102 536s ok 1215 /checksum/SHA384/103 536s ok 1216 /checksum/SHA384/104 536s ok 1217 /checksum/SHA384/105 536s ok 1218 /checksum/SHA384/106 536s ok 1219 /checksum/SHA384/107 536s ok 1220 /checksum/SHA384/108 536s ok 1221 /checksum/SHA384/109 536s ok 1222 /checksum/SHA384/110 536s ok 1223 /checksum/SHA384/111 536s ok 1224 /checksum/SHA384/112 536s ok 1225 /checksum/SHA384/113 536s ok 1226 /checksum/SHA384/114 536s ok 1227 /checksum/SHA384/115 536s ok 1228 /checksum/SHA384/116 536s ok 1229 /checksum/SHA384/117 536s ok 1230 /checksum/SHA384/118 536s ok 1231 /checksum/SHA384/119 536s ok 1232 /checksum/SHA384/120 536s ok 1233 /checksum/SHA384/121 536s ok 1234 /checksum/SHA384/122 536s ok 1235 /checksum/SHA384/123 536s ok 1236 /checksum/SHA384/124 536s ok 1237 /checksum/SHA384/125 536s ok 1238 /checksum/SHA384/126 536s ok 1239 /checksum/SHA384/127 536s ok 1240 /checksum/SHA384/128 536s ok 1241 /checksum/SHA384/129 536s ok 1242 /checksum/SHA384/130 536s ok 1243 /checksum/SHA384/131 536s ok 1244 /checksum/SHA384/132 536s ok 1245 /checksum/SHA384/133 536s ok 1246 /checksum/SHA384/134 536s ok 1247 /checksum/SHA384/135 536s ok 1248 /checksum/SHA384/136 536s ok 1249 /checksum/SHA384/137 536s ok 1250 /checksum/SHA384/138 536s ok 1251 /checksum/SHA384/139 536s ok 1252 /checksum/SHA384/140 536s ok 1253 /checksum/SHA384/141 536s ok 1254 /checksum/SHA384/142 536s ok 1255 /checksum/SHA384/143 536s ok 1256 /checksum/SHA384/144 536s ok 1257 /checksum/SHA384/145 536s ok 1258 /checksum/SHA384/146 536s ok 1259 /checksum/SHA384/147 536s ok 1260 /checksum/SHA384/148 536s ok 1261 /checksum/SHA384/149 536s ok 1262 /checksum/SHA384/150 536s ok 1263 /checksum/SHA384/151 536s ok 1264 /checksum/SHA384/152 536s ok 1265 /checksum/SHA384/153 536s ok 1266 /checksum/SHA384/154 536s ok 1267 /checksum/SHA384/155 536s ok 1268 /checksum/SHA384/156 536s ok 1269 /checksum/SHA384/157 536s ok 1270 /checksum/SHA384/158 536s ok 1271 /checksum/SHA384/159 536s ok 1272 /checksum/SHA384/160 536s ok 1273 /checksum/SHA384/161 536s ok 1274 /checksum/SHA384/162 536s ok 1275 /checksum/SHA384/163 536s ok 1276 /checksum/SHA384/164 536s ok 1277 /checksum/SHA384/165 536s ok 1278 /checksum/SHA384/166 536s ok 1279 /checksum/SHA384/167 536s ok 1280 /checksum/SHA384/168 536s ok 1281 /checksum/SHA384/169 536s ok 1282 /checksum/SHA384/170 536s ok 1283 /checksum/SHA384/171 536s ok 1284 /checksum/SHA384/172 536s ok 1285 /checksum/SHA384/173 536s ok 1286 /checksum/SHA384/174 536s ok 1287 /checksum/SHA384/175 536s ok 1288 /checksum/SHA384/176 536s ok 1289 /checksum/SHA384/177 536s ok 1290 /checksum/SHA384/178 536s ok 1291 /checksum/SHA384/179 536s ok 1292 /checksum/SHA384/180 536s ok 1293 /checksum/SHA384/181 536s ok 1294 /checksum/SHA384/182 536s ok 1295 /checksum/SHA384/183 536s ok 1296 /checksum/SHA384/string 536s ok 1297 /checksum/SHA384/bytes 536s # Start of reset tests 536s ok 1298 /checksum/SHA384/reset/0 536s ok 1299 /checksum/SHA384/reset/1 536s ok 1300 /checksum/SHA384/reset/2 536s ok 1301 /checksum/SHA384/reset/3 536s ok 1302 /checksum/SHA384/reset/4 536s ok 1303 /checksum/SHA384/reset/5 536s ok 1304 /checksum/SHA384/reset/6 536s ok 1305 /checksum/SHA384/reset/7 536s ok 1306 /checksum/SHA384/reset/8 536s ok 1307 /checksum/SHA384/reset/9 536s ok 1308 /checksum/SHA384/reset/10 536s ok 1309 /checksum/SHA384/reset/11 536s ok 1310 /checksum/SHA384/reset/12 536s ok 1311 /checksum/SHA384/reset/13 536s ok 1312 /checksum/SHA384/reset/14 536s ok 1313 /checksum/SHA384/reset/15 536s ok 1314 /checksum/SHA384/reset/16 536s ok 1315 /checksum/SHA384/reset/17 536s ok 1316 /checksum/SHA384/reset/18 536s ok 1317 /checksum/SHA384/reset/19 536s ok 1318 /checksum/SHA384/reset/20 536s ok 1319 /checksum/SHA384/reset/21 536s ok 1320 /checksum/SHA384/reset/22 536s ok 1321 /checksum/SHA384/reset/23 536s ok 1322 /checksum/SHA384/reset/24 536s ok 1323 /checksum/SHA384/reset/25 536s ok 1324 /checksum/SHA384/reset/26 536s ok 1325 /checksum/SHA384/reset/27 536s ok 1326 /checksum/SHA384/reset/28 536s ok 1327 /checksum/SHA384/reset/29 536s ok 1328 /checksum/SHA384/reset/30 536s ok 1329 /checksum/SHA384/reset/31 536s ok 1330 /checksum/SHA384/reset/32 536s ok 1331 /checksum/SHA384/reset/33 536s ok 1332 /checksum/SHA384/reset/34 536s ok 1333 /checksum/SHA384/reset/35 536s ok 1334 /checksum/SHA384/reset/36 536s ok 1335 /checksum/SHA384/reset/37 536s ok 1336 /checksum/SHA384/reset/38 536s ok 1337 /checksum/SHA384/reset/39 536s ok 1338 /checksum/SHA384/reset/40 536s ok 1339 /checksum/SHA384/reset/41 536s ok 1340 /checksum/SHA384/reset/42 536s ok 1341 /checksum/SHA384/reset/43 536s ok 1342 /checksum/SHA384/reset/44 536s ok 1343 /checksum/SHA384/reset/45 536s ok 1344 /checksum/SHA384/reset/46 536s ok 1345 /checksum/SHA384/reset/47 536s ok 1346 /checksum/SHA384/reset/48 536s ok 1347 /checksum/SHA384/reset/49 536s ok 1348 /checksum/SHA384/reset/50 536s ok 1349 /checksum/SHA384/reset/51 536s ok 1350 /checksum/SHA384/reset/52 536s ok 1351 /checksum/SHA384/reset/53 536s ok 1352 /checksum/SHA384/reset/54 536s ok 1353 /checksum/SHA384/reset/55 536s ok 1354 /checksum/SHA384/reset/56 536s ok 1355 /checksum/SHA384/reset/57 536s ok 1356 /checksum/SHA384/reset/58 536s ok 1357 /checksum/SHA384/reset/59 536s ok 1358 /checksum/SHA384/reset/60 536s ok 1359 /checksum/SHA384/reset/61 536s ok 1360 /checksum/SHA384/reset/62 536s ok 1361 /checksum/SHA384/reset/63 536s ok 1362 /checksum/SHA384/reset/64 536s ok 1363 /checksum/SHA384/reset/65 536s ok 1364 /checksum/SHA384/reset/66 536s ok 1365 /checksum/SHA384/reset/67 536s ok 1366 /checksum/SHA384/reset/68 536s ok 1367 /checksum/SHA384/reset/69 536s ok 1368 /checksum/SHA384/reset/70 536s ok 1369 /checksum/SHA384/reset/71 536s ok 1370 /checksum/SHA384/reset/72 536s ok 1371 /checksum/SHA384/reset/73 536s ok 1372 /checksum/SHA384/reset/74 536s ok 1373 /checksum/SHA384/reset/75 536s ok 1374 /checksum/SHA384/reset/76 536s ok 1375 /checksum/SHA384/reset/77 536s ok 1376 /checksum/SHA384/reset/78 536s ok 1377 /checksum/SHA384/reset/79 536s ok 1378 /checksum/SHA384/reset/80 536s ok 1379 /checksum/SHA384/reset/81 536s ok 1380 /checksum/SHA384/reset/82 536s ok 1381 /checksum/SHA384/reset/83 536s ok 1382 /checksum/SHA384/reset/84 536s ok 1383 /checksum/SHA384/reset/85 536s ok 1384 /checksum/SHA384/reset/86 536s ok 1385 /checksum/SHA384/reset/87 536s ok 1386 /checksum/SHA384/reset/88 536s ok 1387 /checksum/SHA384/reset/89 536s ok 1388 /checksum/SHA384/reset/90 536s ok 1389 /checksum/SHA384/reset/91 536s ok 1390 /checksum/SHA384/reset/92 536s ok 1391 /checksum/SHA384/reset/93 536s ok 1392 /checksum/SHA384/reset/94 536s ok 1393 /checksum/SHA384/reset/95 536s ok 1394 /checksum/SHA384/reset/96 536s ok 1395 /checksum/SHA384/reset/97 536s ok 1396 /checksum/SHA384/reset/98 536s ok 1397 /checksum/SHA384/reset/99 536s ok 1398 /checksum/SHA384/reset/100 536s ok 1399 /checksum/SHA384/reset/101 536s ok 1400 /checksum/SHA384/reset/102 536s ok 1401 /checksum/SHA384/reset/103 536s ok 1402 /checksum/SHA384/reset/104 536s ok 1403 /checksum/SHA384/reset/105 536s ok 1404 /checksum/SHA384/reset/106 536s ok 1405 /checksum/SHA384/reset/107 536s ok 1406 /checksum/SHA384/reset/108 536s ok 1407 /checksum/SHA384/reset/109 536s ok 1408 /checksum/SHA384/reset/110 536s ok 1409 /checksum/SHA384/reset/111 536s ok 1410 /checksum/SHA384/reset/112 536s ok 1411 /checksum/SHA384/reset/113 536s ok 1412 /checksum/SHA384/reset/114 536s ok 1413 /checksum/SHA384/reset/115 536s ok 1414 /checksum/SHA384/reset/116 536s ok 1415 /checksum/SHA384/reset/117 536s ok 1416 /checksum/SHA384/reset/118 536s ok 1417 /checksum/SHA384/reset/119 536s ok 1418 /checksum/SHA384/reset/120 536s ok 1419 /checksum/SHA384/reset/121 536s ok 1420 /checksum/SHA384/reset/122 536s ok 1421 /checksum/SHA384/reset/123 536s ok 1422 /checksum/SHA384/reset/124 536s ok 1423 /checksum/SHA384/reset/125 536s ok 1424 /checksum/SHA384/reset/126 536s ok 1425 /checksum/SHA384/reset/127 536s ok 1426 /checksum/SHA384/reset/128 536s ok 1427 /checksum/SHA384/reset/129 536s ok 1428 /checksum/SHA384/reset/130 536s ok 1429 /checksum/SHA384/reset/131 536s ok 1430 /checksum/SHA384/reset/132 536s ok 1431 /checksum/SHA384/reset/133 536s ok 1432 /checksum/SHA384/reset/134 536s ok 1433 /checksum/SHA384/reset/135 536s ok 1434 /checksum/SHA384/reset/136 536s ok 1435 /checksum/SHA384/reset/137 536s ok 1436 /checksum/SHA384/reset/138 536s ok 1437 /checksum/SHA384/reset/139 536s ok 1438 /checksum/SHA384/reset/140 536s ok 1439 /checksum/SHA384/reset/141 536s ok 1440 /checksum/SHA384/reset/142 536s ok 1441 /checksum/SHA384/reset/143 536s ok 1442 /checksum/SHA384/reset/144 536s ok 1443 /checksum/SHA384/reset/145 536s ok 1444 /checksum/SHA384/reset/146 536s ok 1445 /checksum/SHA384/reset/147 536s ok 1446 /checksum/SHA384/reset/148 536s ok 1447 /checksum/SHA384/reset/149 536s ok 1448 /checksum/SHA384/reset/150 536s ok 1449 /checksum/SHA384/reset/151 536s ok 1450 /checksum/SHA384/reset/152 536s ok 1451 /checksum/SHA384/reset/153 536s ok 1452 /checksum/SHA384/reset/154 536s ok 1453 /checksum/SHA384/reset/155 536s ok 1454 /checksum/SHA384/reset/156 536s ok 1455 /checksum/SHA384/reset/157 536s ok 1456 /checksum/SHA384/reset/158 536s ok 1457 /checksum/SHA384/reset/159 536s ok 1458 /checksum/SHA384/reset/160 536s ok 1459 /checksum/SHA384/reset/161 536s ok 1460 /checksum/SHA384/reset/162 536s ok 1461 /checksum/SHA384/reset/163 536s ok 1462 /checksum/SHA384/reset/164 536s ok 1463 /checksum/SHA384/reset/165 536s ok 1464 /checksum/SHA384/reset/166 536s ok 1465 /checksum/SHA384/reset/167 536s ok 1466 /checksum/SHA384/reset/168 536s ok 1467 /checksum/SHA384/reset/169 536s ok 1468 /checksum/SHA384/reset/170 536s ok 1469 /checksum/SHA384/reset/171 536s ok 1470 /checksum/SHA384/reset/172 536s ok 1471 /checksum/SHA384/reset/173 536s ok 1472 /checksum/SHA384/reset/174 536s ok 1473 /checksum/SHA384/reset/175 536s ok 1474 /checksum/SHA384/reset/176 536s ok 1475 /checksum/SHA384/reset/177 536s ok 1476 /checksum/SHA384/reset/178 536s ok 1477 /checksum/SHA384/reset/179 536s ok 1478 /checksum/SHA384/reset/180 536s ok 1479 /checksum/SHA384/reset/181 536s ok 1480 /checksum/SHA384/reset/182 536s ok 1481 /checksum/SHA384/reset/183 536s # End of reset tests 536s # End of SHA384 tests 536s # Start of SHA512 tests 536s ok 1482 /checksum/SHA512/0 536s ok 1483 /checksum/SHA512/1 536s ok 1484 /checksum/SHA512/2 536s ok 1485 /checksum/SHA512/3 536s ok 1486 /checksum/SHA512/4 536s ok 1487 /checksum/SHA512/5 536s ok 1488 /checksum/SHA512/6 536s ok 1489 /checksum/SHA512/7 536s ok 1490 /checksum/SHA512/8 536s ok 1491 /checksum/SHA512/9 536s ok 1492 /checksum/SHA512/10 536s ok 1493 /checksum/SHA512/11 536s ok 1494 /checksum/SHA512/12 536s ok 1495 /checksum/SHA512/13 536s ok 1496 /checksum/SHA512/14 536s ok 1497 /checksum/SHA512/15 536s ok 1498 /checksum/SHA512/16 536s ok 1499 /checksum/SHA512/17 536s ok 1500 /checksum/SHA512/18 536s ok 1501 /checksum/SHA512/19 536s ok 1502 /checksum/SHA512/20 536s ok 1503 /checksum/SHA512/21 536s ok 1504 /checksum/SHA512/22 536s ok 1505 /checksum/SHA512/23 536s ok 1506 /checksum/SHA512/24 536s ok 1507 /checksum/SHA512/25 536s ok 1508 /checksum/SHA512/26 536s ok 1509 /checksum/SHA512/27 536s ok 1510 /checksum/SHA512/28 536s ok 1511 /checksum/SHA512/29 536s ok 1512 /checksum/SHA512/30 536s ok 1513 /checksum/SHA512/31 536s ok 1514 /checksum/SHA512/32 536s ok 1515 /checksum/SHA512/33 536s ok 1516 /checksum/SHA512/34 536s ok 1517 /checksum/SHA512/35 536s ok 1518 /checksum/SHA512/36 536s ok 1519 /checksum/SHA512/37 536s ok 1520 /checksum/SHA512/38 536s ok 1521 /checksum/SHA512/39 536s ok 1522 /checksum/SHA512/40 536s ok 1523 /checksum/SHA512/41 536s ok 1524 /checksum/SHA512/42 536s ok 1525 /checksum/SHA512/43 536s ok 1526 /checksum/SHA512/44 536s ok 1527 /checksum/SHA512/45 536s ok 1528 /checksum/SHA512/46 536s ok 1529 /checksum/SHA512/47 536s ok 1530 /checksum/SHA512/48 536s ok 1531 /checksum/SHA512/49 536s ok 1532 /checksum/SHA512/50 536s ok 1533 /checksum/SHA512/51 536s ok 1534 /checksum/SHA512/52 536s ok 1535 /checksum/SHA512/53 536s ok 1536 /checksum/SHA512/54 536s ok 1537 /checksum/SHA512/55 536s ok 1538 /checksum/SHA512/56 536s ok 1539 /checksum/SHA512/57 536s ok 1540 /checksum/SHA512/58 536s ok 1541 /checksum/SHA512/59 536s ok 1542 /checksum/SHA512/60 536s ok 1543 /checksum/SHA512/61 536s ok 1544 /checksum/SHA512/62 536s ok 1545 /checksum/SHA512/63 536s ok 1546 /checksum/SHA512/64 536s ok 1547 /checksum/SHA512/65 536s ok 1548 /checksum/SHA512/66 536s ok 1549 /checksum/SHA512/67 536s ok 1550 /checksum/SHA512/68 536s ok 1551 /checksum/SHA512/69 536s ok 1552 /checksum/SHA512/70 536s ok 1553 /checksum/SHA512/71 536s ok 1554 /checksum/SHA512/72 536s ok 1555 /checksum/SHA512/73 536s ok 1556 /checksum/SHA512/74 536s ok 1557 /checksum/SHA512/75 536s ok 1558 /checksum/SHA512/76 536s ok 1559 /checksum/SHA512/77 536s ok 1560 /checksum/SHA512/78 536s ok 1561 /checksum/SHA512/79 536s ok 1562 /checksum/SHA512/80 536s ok 1563 /checksum/SHA512/81 536s ok 1564 /checksum/SHA512/82 536s ok 1565 /checksum/SHA512/83 536s ok 1566 /checksum/SHA512/84 536s ok 1567 /checksum/SHA512/85 536s ok 1568 /checksum/SHA512/86 536s ok 1569 /checksum/SHA512/87 536s ok 1570 /checksum/SHA512/88 536s ok 1571 /checksum/SHA512/89 536s ok 1572 /checksum/SHA512/90 536s ok 1573 /checksum/SHA512/91 536s ok 1574 /checksum/SHA512/92 536s ok 1575 /checksum/SHA512/93 536s ok 1576 /checksum/SHA512/94 536s ok 1577 /checksum/SHA512/95 536s ok 1578 /checksum/SHA512/96 536s ok 1579 /checksum/SHA512/97 536s ok 1580 /checksum/SHA512/98 536s ok 1581 /checksum/SHA512/99 536s ok 1582 /checksum/SHA512/100 536s ok 1583 /checksum/SHA512/101 536s ok 1584 /checksum/SHA512/102 536s ok 1585 /checksum/SHA512/103 536s ok 1586 /checksum/SHA512/104 536s ok 1587 /checksum/SHA512/105 536s ok 1588 /checksum/SHA512/106 536s ok 1589 /checksum/SHA512/107 536s ok 1590 /checksum/SHA512/108 536s ok 1591 /checksum/SHA512/109 536s ok 1592 /checksum/SHA512/110 536s ok 1593 /checksum/SHA512/111 536s ok 1594 /checksum/SHA512/112 536s ok 1595 /checksum/SHA512/113 536s ok 1596 /checksum/SHA512/114 536s ok 1597 /checksum/SHA512/115 536s ok 1598 /checksum/SHA512/116 536s ok 1599 /checksum/SHA512/117 536s ok 1600 /checksum/SHA512/118 536s ok 1601 /checksum/SHA512/119 536s ok 1602 /checksum/SHA512/120 536s ok 1603 /checksum/SHA512/121 536s ok 1604 /checksum/SHA512/122 536s ok 1605 /checksum/SHA512/123 536s ok 1606 /checksum/SHA512/124 536s ok 1607 /checksum/SHA512/125 536s ok 1608 /checksum/SHA512/126 536s ok 1609 /checksum/SHA512/127 536s ok 1610 /checksum/SHA512/128 536s ok 1611 /checksum/SHA512/129 536s ok 1612 /checksum/SHA512/130 536s ok 1613 /checksum/SHA512/131 536s ok 1614 /checksum/SHA512/132 536s ok 1615 /checksum/SHA512/133 536s ok 1616 /checksum/SHA512/134 536s ok 1617 /checksum/SHA512/135 536s ok 1618 /checksum/SHA512/136 536s ok 1619 /checksum/SHA512/137 536s ok 1620 /checksum/SHA512/138 536s ok 1621 /checksum/SHA512/139 536s ok 1622 /checksum/SHA512/140 536s ok 1623 /checksum/SHA512/141 536s ok 1624 /checksum/SHA512/142 536s ok 1625 /checksum/SHA512/143 536s ok 1626 /checksum/SHA512/144 536s ok 1627 /checksum/SHA512/145 536s ok 1628 /checksum/SHA512/146 536s ok 1629 /checksum/SHA512/147 536s ok 1630 /checksum/SHA512/148 536s ok 1631 /checksum/SHA512/149 536s ok 1632 /checksum/SHA512/150 536s ok 1633 /checksum/SHA512/151 536s ok 1634 /checksum/SHA512/152 536s # Executing: glib/checksum.test 536s ok 1635 /checksum/SHA512/153 536s ok 1636 /checksum/SHA512/154 536s ok 1637 /checksum/SHA512/155 536s ok 1638 /checksum/SHA512/156 536s ok 1639 /checksum/SHA512/157 536s ok 1640 /checksum/SHA512/158 536s ok 1641 /checksum/SHA512/159 536s ok 1642 /checksum/SHA512/160 536s ok 1643 /checksum/SHA512/161 536s ok 1644 /checksum/SHA512/162 536s ok 1645 /checksum/SHA512/163 536s ok 1646 /checksum/SHA512/164 536s ok 1647 /checksum/SHA512/165 536s ok 1648 /checksum/SHA512/166 536s ok 1649 /checksum/SHA512/167 536s ok 1650 /checksum/SHA512/168 536s ok 1651 /checksum/SHA512/169 536s ok 1652 /checksum/SHA512/170 536s ok 1653 /checksum/SHA512/171 536s ok 1654 /checksum/SHA512/172 536s ok 1655 /checksum/SHA512/173 536s ok 1656 /checksum/SHA512/174 536s ok 1657 /checksum/SHA512/175 536s ok 1658 /checksum/SHA512/176 536s ok 1659 /checksum/SHA512/177 536s ok 1660 /checksum/SHA512/178 536s ok 1661 /checksum/SHA512/179 536s ok 1662 /checksum/SHA512/180 536s ok 1663 /checksum/SHA512/181 536s ok 1664 /checksum/SHA512/182 536s ok 1665 /checksum/SHA512/183 536s ok 1666 /checksum/SHA512/string 536s ok 1667 /checksum/SHA512/bytes 536s # Start of reset tests 536s ok 1668 /checksum/SHA512/reset/0 536s ok 1669 /checksum/SHA512/reset/1 536s ok 1670 /checksum/SHA512/reset/2 536s ok 1671 /checksum/SHA512/reset/3 536s ok 1672 /checksum/SHA512/reset/4 536s ok 1673 /checksum/SHA512/reset/5 536s ok 1674 /checksum/SHA512/reset/6 536s ok 1675 /checksum/SHA512/reset/7 536s ok 1676 /checksum/SHA512/reset/8 536s ok 1677 /checksum/SHA512/reset/9 536s ok 1678 /checksum/SHA512/reset/10 536s ok 1679 /checksum/SHA512/reset/11 536s ok 1680 /checksum/SHA512/reset/12 536s ok 1681 /checksum/SHA512/reset/13 536s ok 1682 /checksum/SHA512/reset/14 536s ok 1683 /checksum/SHA512/reset/15 536s ok 1684 /checksum/SHA512/reset/16 536s ok 1685 /checksum/SHA512/reset/17 536s ok 1686 /checksum/SHA512/reset/18 536s ok 1687 /checksum/SHA512/reset/19 536s ok 1688 /checksum/SHA512/reset/20 536s ok 1689 /checksum/SHA512/reset/21 536s ok 1690 /checksum/SHA512/reset/22 536s ok 1691 /checksum/SHA512/reset/23 536s ok 1692 /checksum/SHA512/reset/24 536s ok 1693 /checksum/SHA512/reset/25 536s ok 1694 /checksum/SHA512/reset/26 536s ok 1695 /checksum/SHA512/reset/27 536s ok 1696 /checksum/SHA512/reset/28 536s ok 1697 /checksum/SHA512/reset/29 536s ok 1698 /checksum/SHA512/reset/30 536s ok 1699 /checksum/SHA512/reset/31 536s ok 1700 /checksum/SHA512/reset/32 536s ok 1701 /checksum/SHA512/reset/33 536s ok 1702 /checksum/SHA512/reset/34 536s ok 1703 /checksum/SHA512/reset/35 536s ok 1704 /checksum/SHA512/reset/36 536s ok 1705 /checksum/SHA512/reset/37 536s ok 1706 /checksum/SHA512/reset/38 536s ok 1707 /checksum/SHA512/reset/39 536s ok 1708 /checksum/SHA512/reset/40 536s ok 1709 /checksum/SHA512/reset/41 536s ok 1710 /checksum/SHA512/reset/42 536s ok 1711 /checksum/SHA512/reset/43 536s ok 1712 /checksum/SHA512/reset/44 536s ok 1713 /checksum/SHA512/reset/45 536s ok 1714 /checksum/SHA512/reset/46 536s ok 1715 /checksum/SHA512/reset/47 536s ok 1716 /checksum/SHA512/reset/48 536s ok 1717 /checksum/SHA512/reset/49 536s ok 1718 /checksum/SHA512/reset/50 536s ok 1719 /checksum/SHA512/reset/51 536s ok 1720 /checksum/SHA512/reset/52 536s ok 1721 /checksum/SHA512/reset/53 536s ok 1722 /checksum/SHA512/reset/54 536s ok 1723 /checksum/SHA512/reset/55 536s ok 1724 /checksum/SHA512/reset/56 536s ok 1725 /checksum/SHA512/reset/57 536s ok 1726 /checksum/SHA512/reset/58 536s ok 1727 /checksum/SHA512/reset/59 536s ok 1728 /checksum/SHA512/reset/60 536s ok 1729 /checksum/SHA512/reset/61 536s ok 1730 /checksum/SHA512/reset/62 536s ok 1731 /checksum/SHA512/reset/63 536s ok 1732 /checksum/SHA512/reset/64 536s ok 1733 /checksum/SHA512/reset/65 536s ok 1734 /checksum/SHA512/reset/66 536s ok 1735 /checksum/SHA512/reset/67 536s ok 1736 /checksum/SHA512/reset/68 536s ok 1737 /checksum/SHA512/reset/69 536s ok 1738 /checksum/SHA512/reset/70 536s ok 1739 /checksum/SHA512/reset/71 536s ok 1740 /checksum/SHA512/reset/72 536s ok 1741 /checksum/SHA512/reset/73 536s ok 1742 /checksum/SHA512/reset/74 536s ok 1743 /checksum/SHA512/reset/75 536s ok 1744 /checksum/SHA512/reset/76 536s ok 1745 /checksum/SHA512/reset/77 536s ok 1746 /checksum/SHA512/reset/78 536s ok 1747 /checksum/SHA512/reset/79 536s ok 1748 /checksum/SHA512/reset/80 536s ok 1749 /checksum/SHA512/reset/81 536s ok 1750 /checksum/SHA512/reset/82 536s ok 1751 /checksum/SHA512/reset/83 536s ok 1752 /checksum/SHA512/reset/84 536s ok 1753 /checksum/SHA512/reset/85 536s ok 1754 /checksum/SHA512/reset/86 536s ok 1755 /checksum/SHA512/reset/87 536s ok 1756 /checksum/SHA512/reset/88 536s ok 1757 /checksum/SHA512/reset/89 536s ok 1758 /checksum/SHA512/reset/90 536s ok 1759 /checksum/SHA512/reset/91 536s ok 1760 /checksum/SHA512/reset/92 536s ok 1761 /checksum/SHA512/reset/93 536s ok 1762 /checksum/SHA512/reset/94 536s ok 1763 /checksum/SHA512/reset/95 536s ok 1764 /checksum/SHA512/reset/96 536s ok 1765 /checksum/SHA512/reset/97 536s ok 1766 /checksum/SHA512/reset/98 536s ok 1767 /checksum/SHA512/reset/99 536s ok 1768 /checksum/SHA512/reset/100 536s ok 1769 /checksum/SHA512/reset/101 536s ok 1770 /checksum/SHA512/reset/102 536s ok 1771 /checksum/SHA512/reset/103 536s ok 1772 /checksum/SHA512/reset/104 536s ok 1773 /checksum/SHA512/reset/105 536s ok 1774 /checksum/SHA512/reset/106 536s ok 1775 /checksum/SHA512/reset/107 536s ok 1776 /checksum/SHA512/reset/108 536s ok 1777 /checksum/SHA512/reset/109 536s ok 1778 /checksum/SHA512/reset/110 536s ok 1779 /checksum/SHA512/reset/111 536s ok 1780 /checksum/SHA512/reset/112 536s ok 1781 /checksum/SHA512/reset/113 536s ok 1782 /checksum/SHA512/reset/114 536s ok 1783 /checksum/SHA512/reset/115 536s ok 1784 /checksum/SHA512/reset/116 536s ok 1785 /checksum/SHA512/reset/117 536s ok 1786 /checksum/SHA512/reset/118 536s ok 1787 /checksum/SHA512/reset/119 536s ok 1788 /checksum/SHA512/reset/120 536s ok 1789 /checksum/SHA512/reset/121 536s ok 1790 /checksum/SHA512/reset/122 536s ok 1791 /checksum/SHA512/reset/123 536s ok 1792 /checksum/SHA512/reset/124 536s ok 1793 /checksum/SHA512/reset/125 536s ok 1794 /checksum/SHA512/reset/126 536s ok 1795 /checksum/SHA512/reset/127 536s ok 1796 /checksum/SHA512/reset/128 536s ok 1797 /checksum/SHA512/reset/129 536s ok 1798 /checksum/SHA512/reset/130 536s ok 1799 /checksum/SHA512/reset/131 536s ok 1800 /checksum/SHA512/reset/132 536s ok 1801 /checksum/SHA512/reset/133 536s ok 1802 /checksum/SHA512/reset/134 536s ok 1803 /checksum/SHA512/reset/135 536s ok 1804 /checksum/SHA512/reset/136 536s ok 1805 /checksum/SHA512/reset/137 536s ok 1806 /checksum/SHA512/reset/138 536s ok 1807 /checksum/SHA512/reset/139 536s ok 1808 /checksum/SHA512/reset/140 536s ok 1809 /checksum/SHA512/reset/141 536s ok 1810 /checksum/SHA512/reset/142 536s ok 1811 /checksum/SHA512/reset/143 536s ok 1812 /checksum/SHA512/reset/144 536s ok 1813 /checksum/SHA512/reset/145 536s ok 1814 /checksum/SHA512/reset/146 536s ok 1815 /checksum/SHA512/reset/147 536s ok 1816 /checksum/SHA512/reset/148 536s ok 1817 /checksum/SHA512/reset/149 536s ok 1818 /checksum/SHA512/reset/150 536s ok 1819 /checksum/SHA512/reset/151 536s ok 1820 /checksum/SHA512/reset/152 536s ok 1821 /checksum/SHA512/reset/153 536s ok 1822 /checksum/SHA512/reset/154 536s ok 1823 /checksum/SHA512/reset/155 536s ok 1824 /checksum/SHA512/reset/156 536s ok 1825 /checksum/SHA512/reset/157 536s ok 1826 /checksum/SHA512/reset/158 536s ok 1827 /checksum/SHA512/reset/159 536s ok 1828 /checksum/SHA512/reset/160 536s ok 1829 /checksum/SHA512/reset/161 536s ok 1830 /checksum/SHA512/reset/162 536s ok 1831 /checksum/SHA512/reset/163 536s ok 1832 /checksum/SHA512/reset/164 536s ok 1833 /checksum/SHA512/reset/165 536s ok 1834 /checksum/SHA512/reset/166 536s ok 1835 /checksum/SHA512/reset/167 536s ok 1836 /checksum/SHA512/reset/168 536s ok 1837 /checksum/SHA512/reset/169 536s ok 1838 /checksum/SHA512/reset/170 536s ok 1839 /checksum/SHA512/reset/171 536s ok 1840 /checksum/SHA512/reset/172 536s ok 1841 /checksum/SHA512/reset/173 536s ok 1842 /checksum/SHA512/reset/174 536s ok 1843 /checksum/SHA512/reset/175 536s ok 1844 /checksum/SHA512/reset/176 536s ok 1845 /checksum/SHA512/reset/177 536s ok 1846 /checksum/SHA512/reset/178 536s ok 1847 /checksum/SHA512/reset/179 536s ok 1848 /checksum/SHA512/reset/180 536s ok 1849 /checksum/SHA512/reset/181 536s ok 1850 /checksum/SHA512/reset/182 536s ok 1851 /checksum/SHA512/reset/183 536s # End of reset tests 536s # End of SHA512 tests 536s # End of checksum tests 536s ok - glib/checksum.test 536s # Running test: glib/signals-refcount2.test 536s TAP version 14 536s # random seed: R02Sd8453570542c893e007020afcb34b979 536s 1..1 536s # Start of gobject tests 536s # Start of refcount tests 536s # init 0x1c3eb41fd4a0 536s # 536s # init 0x1c3eb41f5580 536s # 541s # Executing: glib/signals-refcount2.test 541s # dispose 0x1c3eb41fd4a0! 541s # 541s # dispose 0x1c3eb41f5580! 541s # 541s ok 1 /gobject/refcount/signals 541s # slow test /gobject/refcount/signals executed in 5.00 secs 541s # End of refcount tests 541s # End of gobject tests 541s ok - glib/signals-refcount2.test 541s # Running test: glib/gdbus-close-pending.test 541s TAP version 14 541s # random seed: R02Sbe24f79a3f00a7226fd418fae5f66f12 541s 1..2 541s # Start of gdbus tests 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/close-pending/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/close-pending/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/close-pending/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/close-pending/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/close-pending/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/close-pending/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/close-pending/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/close-pending/.dirs/runtime 542s ok 1 /gdbus/close-pending 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/unref-pending/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/unref-pending/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/unref-pending/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/unref-pending/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/unref-pending/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/unref-pending/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/unref-pending/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_ZIXNJ3/gdbus/unref-pending/.dirs/runtime 542s ok 2 /gdbus/unref-pending 542s # End of gdbus tests 542s ok - glib/gdbus-close-pending.test 542s # Running test: glib/basics-gobject.test 542s TAP version 14 542s # random seed: R02S6f3319042beeb2bae54f5bac5e259e4a 542s 1..1 542s # Start of gobject tests 542s # private data during initialization: 54321 == 54321 542s # MAIN: emit test-signal: 542s # ::test_signal default_handler called 542s # ::test_signal default_handler called 542s # ::test_signal default_handler called 542s # signal return: "" 542s # MAIN: call iface print-string on test and derived object: 542s # Iface-FOO: "iface-string-from-test-type" from 0x49f7010e870 542s # Iface-BAR: "iface-string-from-derived-type" from 0x49f7010e720 542s # chaining: 542s # Iface-FOO: "iface-string-from-derived-type" from 0x49f7010e720 542s # private data after initialization: 54321 == 54321 542s ok 1 /gobject/basics 542s # End of gobject tests 542s ok - glib/basics-gobject.test 542s # Running test: glib/resolver-parsing.test 542s TAP version 14 542s # random seed: R02S3a169197f6cd62954d46e1c4c01912ef 542s 1..21 542s # Start of gresolver tests 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/invalid-header/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/invalid-header/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/invalid-header/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/invalid-header/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/invalid-header/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/invalid-header/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/invalid-header/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/invalid-header/.dirs/runtime 542s ok 1 /gresolver/invalid-header 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/record-ownership/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/record-ownership/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/record-ownership/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/record-ownership/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/record-ownership/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/record-ownership/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/record-ownership/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/record-ownership/.dirs/runtime 542s ok 2 /gresolver/record-ownership 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/unknown-record-type/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/unknown-record-type/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/unknown-record-type/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/unknown-record-type/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/unknown-record-type/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/unknown-record-type/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/unknown-record-type/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/unknown-record-type/.dirs/runtime 542s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 542s ok 3 /gresolver/unknown-record-type 542s # Start of mx tests 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/valid/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/valid/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/valid/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/valid/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/valid/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/valid/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/valid/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/valid/.dirs/runtime 542s ok 4 /gresolver/mx/valid 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/.dirs/runtime 542s ok 5 /gresolver/mx/invalid 542s # Start of invalid tests 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short/.dirs/runtime 542s ok 6 /gresolver/mx/invalid/too-short 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short2/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short2/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short2/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short2/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short2/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short2/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short2/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/mx/invalid/too-short2/.dirs/runtime 542s ok 7 /gresolver/mx/invalid/too-short2 542s # End of invalid tests 542s # End of mx tests 542s # Start of ns tests 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/valid/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/valid/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/valid/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/valid/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/valid/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/valid/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/valid/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/valid/.dirs/runtime 542s ok 8 /gresolver/ns/valid 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/invalid/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/invalid/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/invalid/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/invalid/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/invalid/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/invalid/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/invalid/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/ns/invalid/.dirs/runtime 542s ok 9 /gresolver/ns/invalid 542s # End of ns tests 542s # Start of soa tests 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/valid/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/valid/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/valid/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/valid/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/valid/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/valid/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/valid/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/valid/.dirs/runtime 542s ok 10 /gresolver/soa/valid 542s # Start of invalid tests 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/mname/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/mname/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/mname/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/mname/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/mname/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/mname/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/mname/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/mname/.dirs/runtime 542s ok 11 /gresolver/soa/invalid/mname 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/rname/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/rname/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/rname/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/rname/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/rname/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/rname/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/rname/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/rname/.dirs/runtime 542s ok 12 /gresolver/soa/invalid/rname 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/too-short/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/too-short/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/too-short/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/too-short/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/too-short/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/too-short/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/too-short/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/soa/invalid/too-short/.dirs/runtime 542s ok 13 /gresolver/soa/invalid/too-short 542s # End of invalid tests 542s # End of soa tests 542s # Start of srv tests 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/valid/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/valid/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/valid/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/valid/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/valid/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/valid/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/valid/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/valid/.dirs/runtime 542s ok 14 /gresolver/srv/valid 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/.dirs/runtime 542s ok 15 /gresolver/srv/invalid 542s # Start of invalid tests 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short/.dirs/runtime 542s ok 16 /gresolver/srv/invalid/too-short 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short2/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short2/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short2/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short2/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short2/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short2/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short2/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/srv/invalid/too-short2/.dirs/runtime 542s ok 17 /gresolver/srv/invalid/too-short2 542s # End of invalid tests 542s # End of srv tests 542s # Start of txt tests 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/.dirs/runtime 542s ok 18 /gresolver/txt/valid 542s # Start of valid tests 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/multiple-strings/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/multiple-strings/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/multiple-strings/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/multiple-strings/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/multiple-strings/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/multiple-strings/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/multiple-strings/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/valid/multiple-strings/.dirs/runtime 542s ok 19 /gresolver/txt/valid/multiple-strings 542s # End of valid tests 542s # Start of invalid tests 542s ok - glib/resolver-parsing.test 542s # Running test: glib/bindinggroup.test 542s ok - glib/bindinggroup.test 542s # Running test: glib/print.test 542s ok - glib/print.test 542s # Running test: glib/gdbus-export.test 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/empty/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/empty/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/empty/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/empty/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/empty/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/empty/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/empty/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/empty/.dirs/runtime 542s ok 20 /gresolver/txt/invalid/empty 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/overflow/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/overflow/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/overflow/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/overflow/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/overflow/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/overflow/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/overflow/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1BOJJ3/gresolver/txt/invalid/overflow/.dirs/runtime 542s ok 21 /gresolver/txt/invalid/overflow 542s # End of invalid tests 542s # End of txt tests 542s # End of gresolver tests 542s TAP version 14 542s # random seed: R02S8badf0a4ef751e57e7de75e434e6fb7c 542s 1..11 542s # Start of GObject tests 542s # Start of BindingGroup tests 542s ok 1 /GObject/BindingGroup/invalid 542s ok 2 /GObject/BindingGroup/default 542s ok 3 /GObject/BindingGroup/bidirectional 542s ok 4 /GObject/BindingGroup/transform 542s ok 5 /GObject/BindingGroup/transform-closures 542s ok 6 /GObject/BindingGroup/same-object 542s ok 7 /GObject/BindingGroup/weak-ref-source 542s ok 8 /GObject/BindingGroup/weak-ref-target 542s ok 9 /GObject/BindingGroup/properties 542s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 542s ok 11 /GObject/BindingGroup/empty-closures 542s # End of BindingGroup tests 542s # End of GObject tests 542s TAP version 14 542s # random seed: R02S384c98040a5fa75d4de0a8afed968cd1 542s 1..1 542s ok 1 /print-console # SKIP Testing console output only supported on Windows 542s TAP version 14 542s # random seed: R02Sf7def34c5f05b97b09bdb47bc2f027d3 542s 1..7 542s # Start of gdbus tests 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration/.dirs/runtime 542s ok 1 /gdbus/object-registration 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures/.dirs/runtime 542s ok 2 /gdbus/object-registration-with-closures 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures2/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures2/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures2/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures2/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures2/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures2/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures2/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IOAJJ3/gdbus/object-registration-with-closures2/.dirs/runtime 542s ok 3 /gdbus/object-registration-with-closures2 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/registered-interfaces/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/registered-interfaces/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IOAJJ3/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_IOAJJ3/gdbus/registered-interfaces/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/registered-interfaces/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IOAJJ3/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_IOAJJ3/gdbus/registered-interfaces/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/registered-interfaces/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/registered-interfaces/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IOAJJ3/gdbus/registered-interfaces/.dirs/runtime 542s ok 4 /gdbus/registered-interfaces 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/async-properties/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/async-properties/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IOAJJ3/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_IOAJJ3/gdbus/async-properties/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/async-properties/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IOAJJ3/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_IOAJJ3/gdbus/async-properties/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/async-properties/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/async-properties/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IOAJJ3/gdbus/async-properties/.dirs/runtime 542s ok 5 /gdbus/async-properties 542s # Start of threaded-unregistration tests 542s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/object/.dirs/home 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/object/.dirs/cache 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/object/.dirs/system-config2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/object/.dirs/config 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/object/.dirs/system-data2 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/object/.dirs/data 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/object/.dirs/state 542s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/object/.dirs/runtime 542s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 542s # /gdbus/threaded-unregistration/object summary: Test that object/subtree unregistration from one thread doesn’t cause problems when racing with method callbacks in another thread for that object or subtree 543s ok 6 /gdbus/threaded-unregistration/object 543s # slow test /gdbus/threaded-unregistration/object executed in 1.38 secs 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/subtree/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/subtree/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/subtree/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/subtree/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/subtree/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/subtree/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/subtree/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IOAJJ3/gdbus/threaded-unregistration/subtree/.dirs/runtime 543s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 543s # /gdbus/threaded-unregistration/subtree summary: Test that object/subtree unregistration from one thread doesn’t cause problems when racing with method callbacks in another thread for that object or subtree 545s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (7 iterations with unregistration first, 993 with call first); skipping test 545s # slow test /gdbus/threaded-unregistration/subtree executed in 1.10 secs 545s # End of threaded-unregistration tests 545s # End of gdbus tests 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s ok - glib/gdbus-export.test 545s # Running test: glib/cxx.test 545s TAP version 14 545s # random seed: R02Se030b8980d2be94e6f83a14cc301823d 545s 1..2 545s # Start of gtask tests 545s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 545s ok 1 /gtask/name 545s # Start of name tests 545s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 545s ok 2 /gtask/name/macro-wrapper 545s # End of name tests 545s # End of gtask tests 545s ok - glib/cxx.test 545s # Running test: glib/gdbus-connection-slow.test 545s TAP version 14 545s # random seed: R02Scb2671dafcfbd37899cbe29f11982311 545s 1..2 545s # Start of gdbus tests 545s # Start of connection tests 545s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/flush/.dirs/home 545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/flush/.dirs/cache 545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/flush/.dirs/system-config2 545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/flush/.dirs/config 545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/flush/.dirs/system-data2 545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/flush/.dirs/data 545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/flush/.dirs/state 545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/flush/.dirs/runtime 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s ok 1 /gdbus/connection/flush 545s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/large_message/.dirs/home 545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/large_message/.dirs/cache 545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/large_message/.dirs/system-config2 545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/large_message/.dirs/config 545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/large_message/.dirs/system-data2 545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/large_message/.dirs/data 545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/large_message/.dirs/state 545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_OCA1J3/gdbus/connection/large_message/.dirs/runtime 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s ok 2 /gdbus/connection/large_message 545s # End of connection tests 545s # End of gdbus tests 545s ok - glib/gdbus-connection-slow.test 545s # Running test: glib/mappedfile.test 545s TAP version 14 545s # random seed: R02S99112ebc1ae679f17d92c0992b3344d1 545s 1..7 545s # Start of mappedfile tests 545s ok 1 /mappedfile/basic 545s ok 2 /mappedfile/empty 545s ok 3 /mappedfile/device 545s ok 4 /mappedfile/nonexisting 545s ok 5 /mappedfile/writable 545s ok - glib/mappedfile.test 545s ok 6 /mappedfile/writable_fd 545s ok 7 /mappedfile/gbytes 545s # End of mappedfile tests 545s # Running test: glib/gio-tool.py.test 545s TAP version 13 545s ok 1 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_folder 545s # gio: /usr/bin/gio 545s # tmpdir: /tmp/tmprcxek6jg 545s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmprcxek6jg/folder/desktop.entry'] 545s # Working Directory: /tmp/tmprcxek6jg/folder 545s # Return code: 0 545s # Output: 545s # /tmp/tmprcxek6jg/folder/desktop.entry 545s # Error: 545s ok 2 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_parent 545s # gio: /usr/bin/gio 545s # tmpdir: /tmp/tmp1opt4hea 545s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmp1opt4hea/folder/desktop.entry'] 545s # Working Directory: /tmp/tmp1opt4hea 545s # Return code: 0 545s # Output: 545s # /tmp/tmp1opt4hea/folder/desktop.entry 545s # Error: 545s ok 3 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_sibling 545s # gio: /usr/bin/gio 545s # tmpdir: /tmp/tmpp6p235aa 545s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpp6p235aa/folder/desktop.entry'] 545s # Working Directory: /tmp/tmpp6p235aa/sibling 545s # Return code: 0 545s # Output: 545s # /tmp/tmpp6p235aa/folder/desktop.entry 545s # Error: 545s ok 4 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_folder 545s # gio: /usr/bin/gio 545s # tmpdir: /tmp/tmp9ok7_8zo 545s # Running: ['/usr/bin/gio', 'launch', 'desktop.entry'] 545s # Working Directory: /tmp/tmp9ok7_8zo/folder 545s # Return code: 0 545s # Output: 545s # /tmp/tmp9ok7_8zo/folder/desktop.entry 545s # Error: 545s ok 5 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_parent 545s # gio: /usr/bin/gio 545s # tmpdir: /tmp/tmpdqzmvwrh 545s # Running: ['/usr/bin/gio', 'launch', 'folder/desktop.entry'] 545s # Working Directory: /tmp/tmpdqzmvwrh 545s # Return code: 0 545s # Output: 545s # /tmp/tmpdqzmvwrh/folder/desktop.entry 545s # Error: 545s ok 6 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_sibling 545s # gio: /usr/bin/gio 545s # tmpdir: /tmp/tmp90sp2upc 545s # Running: ['/usr/bin/gio', 'launch', '../folder/desktop.entry'] 545s # Working Directory: /tmp/tmp90sp2upc/sibling 545s # Return code: 0 545s # Output: 545s # /tmp/tmp90sp2upc/folder/desktop.entry 545s # Error: 545s ok 7 __main__.TestGioTool.test_help 545s # gio: /usr/bin/gio 545s # tmpdir: /tmp/tmpx1x4ael_ 545s # Running: ['/usr/bin/gio', '--help'] 545s # Return code: 0 545s # Output: 545s # Usage: 545s # gio COMMAND [ARGS…] 545s # 545s # Commands: 545s # help Print help 545s # version Print version 545s # cat Concatenate files to standard output 545s # copy Copy one or more files 545s # info Show information about locations 545s # launch Launch an application from a desktop file 545s # list List the contents of locations 545s # mime Get or set the handler for a mimetype 545s # mkdir Create directories 545s # monitor Monitor files and directories for changes 545s # mount Mount or unmount the locations 545s # move Move one or more files 545s # open Open files with the default application 545s # rename Rename a file 545s # remove Delete one or more files 545s # save Read from standard input and save 545s # set Set a file attribute 545s # trash Move files or directories to the trash 545s # tree Lists the contents of locations in a tree 545s # 545s # Use “gio help COMMAND” to get detailed help. 545s # Error: 545s # 545s # Running: ['/usr/bin/gio', 'help'] 545s # Return code: 0 545s # Output: 545s # Usage: 545s # gio COMMAND [ARGS…] 545s # 545s # Commands: 545s # help Print help 545s # version Print version 545s # cat Concatenate files to standard output 545s # copy Copy one or more files 545s # info Show information about locations 545s # launch Launch an application from a desktop file 545s # list List the contents of locations 545s # mime Get or set the handler for a mimetype 545s # mkdir Create directories 545s # monitor Monitor files and directories for changes 545s # mount Mount or unmount the locations 545s # move Move one or more files 545s # open Open files with the default application 545s # rename Rename a file 545s # remove Delete one or more files 545s # save Read from standard input and save 545s # set Set a file attribute 545s # trash Move files or directories to the trash 545s # tree Lists the contents of locations in a tree 545s # 545s # Use “gio help COMMAND” to get detailed help. 545s # Error: 545s ok 8 __main__.TestGioTool.test_info_non_default_attributes 545s # gio: /usr/bin/gio 545s # tmpdir: /tmp/tmpci3266lf 545s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpci3266lf/tmp2m9yh9x3'] 545s # Return code: 0 545s # Output: 545s # uri: file:///tmp/tmpci3266lf/tmp2m9yh9x3 545s # local path: /tmp/tmpci3266lf/tmp2m9yh9x3 545s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 545s # attributes: 545s # standard::content-type: application/x-zerosize 545s # Error: 545s ok 9 __main__.TestGioTool.test_no_args 545s # gio: /usr/bin/gio 545s # tmpdir: /tmp/tmpzibv7f0u 545s # Running: ['/usr/bin/gio'] 545s # Return code: 1 545s # Output: 545s # 545s # Error: 545s # Usage: 545s # gio COMMAND [ARGS…] 545s # 545s # Commands: 545s # help Print help 545s # version Print version 545s # cat Concatenate files to standard output 545s # copy Copy one or more files 545s # info Show information about locations 545s # launch Launch an application from a desktop file 545s # list List the contents of locations 545s # mime Get or set the handler for a mimetype 545s # mkdir Create directories 545s # monitor Monitor files and directories for changes 545s # mount Mount or unmount the locations 545s # move Move one or more files 545s # open Open files with the default application 545s # rename Rename a file 545s # remove Delete one or more files 545s # save Read from standard input and save 545s # set Set a file attribute 545s # trash Move files or directories to the trash 545s # tree Lists the contents of locations in a tree 545s # 545s # Use “gio help COMMAND” to get detailed help. 545s 1..9 545s ok - glib/gio-tool.py.test 545s # Running test: glib/memchunk.test 545s ok - glib/memchunk.test 545s TAP version 14 545s # random seed: R02S3374c8cce976544a1de3064fcfb44dcb 545s 1..1 545s # Start of memchunk tests 545s ok 1 /memchunk/basic 545s # End of memchunk tests 545s # Running test: glib/closure-refcount.test 545s TAP version 14 545s # random seed: R02Sfe8e76b6e180236b2b22932cd6dfdb58 545s 1..1 545s # Start of closure tests 545s # Init 0x1b1113436db0 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from thread1 546s # Executing: glib/closure-refcount.test 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from thread2 547s # Yielding from thread1 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from thread1 547s # Yielding from thread2 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from thread2 547s # Yielding from main thread 548s # Yielding from main thread 548s # Yielding from thread1 548s # Yielding from main thread 548s # Yielding from main thread 548s # Yielding from main thread 548s # Yielding from main thread 548s # Yielding from main thread 548s # Yielding from main thread 548s # Yielding from main thread 548s # Yielding from thread1 548s # Yielding from main thread 548s # Yielding from main thread 548s # Yielding from thread2 548s # Yielding from main thread 548s # Yielding from main thread 548s # Yielding from main thread 548s # Yielding from main thread 548s # Yielding from main thread 548s # Yielding from main thread 548s # Yielding from main thread 548s # Yielding from thread1 548s # Yielding from thread2 548s # Yielding from main thread 548s # Yielding from main thread 549s # Yielding from main thread 549s # Yielding from main thread 549s # Yielding from main thread 549s # Yielding from main thread 549s # Yielding from main thread 549s # Yielding from thread1 549s # Yielding from thread2 549s # Yielding from main thread 549s # Yielding from main thread 549s # Yielding from main thread 549s # Yielding from main thread 549s # Yielding from main thread 549s # Yielding from main thread 549s # Yielding from main thread 549s # Yielding from thread2 549s # Yielding from main thread 549s # Yielding from thread1 549s # Yielding from main thread 549s # Yielding from main thread 549s # Yielding from main thread 550s # Yielding from main thread 550s # Yielding from main thread 550s # Yielding from main thread 550s # Yielding from main thread 550s # Yielding from thread1 550s # Yielding from main thread 550s # Yielding from main thread 550s # Yielding from thread2 550s # Yielding from main thread 550s # Yielding from main thread 550s # Yielding from main thread 550s # Yielding from main thread 550s # Yielding from main thread 550s # Yielding from main thread 550s # Yielding from thread1 550s # Yielding from main thread 550s # Yielding from main thread 550s # Yielding from main thread 550s # Yielding from thread2 550s # Yielding from main thread 550s # Yielding from main thread 550s # Yielding from main thread 551s # Yielding from main thread 551s # Yielding from main thread 551s # Yielding from thread1 551s # Yielding from main thread 551s ok - glib/closure-refcount.test 551s # Stopping 551s # Stopped 551s ok 1 /closure/refcount 551s # slow test /closure/refcount executed in 5.41 secs 551s # End of closure tests 551s # Running test: glib/portal-support-snap-classic.test 551s TAP version 14 551s # random seed: R02Sca0d9ae53d68bb97b11f002988b4a3d6 551s 1..3 551s # Start of portal-support tests 551s # Start of snap-classic tests 551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/no-snapctl/.dirs/home 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/no-snapctl/.dirs/cache 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/no-snapctl/.dirs/system-config2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/no-snapctl/.dirs/config 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/no-snapctl/.dirs/system-data2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/no-snapctl/.dirs/data 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/no-snapctl/.dirs/state 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/no-snapctl/.dirs/runtime 551s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/no-snapctl: No such file or directory 551s ok 1 /portal-support/snap-classic/no-snapctl 551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/none/.dirs/home 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/none/.dirs/cache 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/none/.dirs/system-config2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/none/.dirs/config 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/none/.dirs/system-data2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/none/.dirs/data 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/none/.dirs/state 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/none/.dirs/runtime 551s # Created snap.yaml in /tmp/test_portal-support-snap-classic_D331J3/meta/snap.yaml 551s # Created snapctl in /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/none/.dirs/runtime/snapctl 551s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/none: No such file or directory 551s ok 2 /portal-support/snap-classic/none 551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/all/.dirs/home 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/all/.dirs/cache 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/all/.dirs/system-config2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/all/.dirs/config 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/all/.dirs/system-data2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/all/.dirs/data 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/all/.dirs/state 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/all/.dirs/runtime 551s ok - glib/portal-support-snap-classic.test 551s # Created snap.yaml in /tmp/test_portal-support-snap-classic_D331J3/meta/snap.yaml 551s # Created snapctl in /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/all/.dirs/runtime/snapctl 551s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_D331J3/portal-support/snap-classic/all: No such file or directory 551s ok 3 /portal-support/snap-classic/all 551s # End of snap-classic tests 551s # End of portal-support tests 551s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_D331J3: No such file or directory 551s # Running test: glib/tree.test 551s ok - glib/tree.test 551s TAP version 14 551s # random seed: R02Sca0a34be82d5eb1be68315f4d895eb83 551s 1..7 551s # Start of tree tests 551s ok 1 /tree/search 551s ok 2 /tree/remove 551s ok 3 /tree/destroy 551s ok 4 /tree/traverse 551s ok 5 /tree/insert 551s ok 6 /tree/bounds 551s ok 7 /tree/remove-all 551s # End of tree tests 551s # Running test: glib/codegen.py.test 551s TAP version 13 551s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 551s # gdbus-codegen: /usr/bin/gdbus-codegen 551s # tmpdir: /tmp/tmp4xkeuypn 551s # /tmp/tmp4xkeuypn/tmpw_dlznil.xml: 551s # 551s # 551s # 551s # 551s # 551s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4xkeuypn/tmpw_dlznil.xml', '--output', '-', '--header'] 551s # Return code: 0 551s # Output: 551s # /* 551s # * This file is generated by gdbus-codegen, do not modify it. 551s # * 551s # * The license of this code is the same as for the D-Bus interface description 551s # * it was derived from. Note that it links to GLib, so must comply with the 551s # * LGPL linking clauses. 551s # */ 551s # 551s # #ifndef __STDOUT__ 551s # #define __STDOUT__ 551s # 551s # #include 551s # 551s # G_BEGIN_DECLS 551s # 551s # 551s # /* ------------------------------------------------------------------------ */ 551s # /* Declarations for org.project.UsefulInterface */ 551s # 551s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 551s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 551s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 551s # 551s # struct _OrgProjectUsefulInterface; 551s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 551s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 551s # 551s # struct _OrgProjectUsefulInterfaceIface 551s # { 551s # GTypeInterface parent_iface; 551s # 551s # gboolean (*handle_useful_method) ( 551s # OrgProjectUsefulInterface *object, 551s # GDBusMethodInvocation *invocation); 551s # 551s # }; 551s # 551s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 551s # 551s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 551s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 551s # 551s # 551s # /* D-Bus method call completion functions: */ 551s # void org_project_useful_interface_complete_useful_method ( 551s # OrgProjectUsefulInterface *object, 551s # GDBusMethodInvocation *invocation); 551s # 551s # 551s # 551s # /* D-Bus method calls: */ 551s # void org_project_useful_interface_call_useful_method ( 551s # OrgProjectUsefulInterface *proxy, 551s # GCancellable *cancellable, 551s # GAsyncReadyCallback callback, 551s # gpointer user_data); 551s # 551s # gboolean org_project_useful_interface_call_useful_method_finish ( 551s # OrgProjectUsefulInterface *proxy, 551s # GAsyncResult *res, 551s # GError **error); 551s # 551s # gboolean org_project_useful_interface_call_useful_method_sync ( 551s # OrgProjectUsefulInterface *proxy, 551s # GCancellable *cancellable, 551s # GError **error); 551s # 551s # 551s # 551s # /* ---- */ 551s # 551s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 551s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 551s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 551s # 551s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 551s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 551s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 551s # 551s # struct _OrgProjectUsefulInterfaceProxy 551s # { 551s # /*< private >*/ 551s # GDBusProxy parent_instance; 551s # OrgProjectUsefulInterfaceProxyPrivate *priv; 551s # }; 551s # 551s # struct _OrgProjectUsefulInterfaceProxyClass 551s # { 551s # GDBusProxyClass parent_class; 551s # }; 551s # 551s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 551s # 551s # #if GLIB_CHECK_VERSION(2, 44, 0) 551s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 551s # #endif 551s # 551s # void org_project_useful_interface_proxy_new ( 551s # GDBusConnection *connection, 551s # GDBusProxyFlags flags, 551s # const gchar *name, 551s # const gchar *object_path, 551s # GCancellable *cancellable, 551s # GAsyncReadyCallback callback, 551s # gpointer user_data); 551s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 551s # GAsyncResult *res, 551s # GError **error); 551s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 551s # GDBusConnection *connection, 551s # GDBusProxyFlags flags, 551s # const gchar *name, 551s # const gchar *object_path, 551s # GCancellable *cancellable, 551s # GError **error); 551s # 551s # void org_project_useful_interface_proxy_new_for_bus ( 551s # GBusType bus_type, 551s # GDBusProxyFlags flags, 551s # const gchar *name, 551s # const gchar *object_path, 551s # GCancellable *cancellable, 551s # GAsyncReadyCallback callback, 551s # gpointer user_data); 551s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 551s # GAsyncResult *res, 551s # GError **error); 551s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 551s # GBusType bus_type, 551s # GDBusProxyFlags flags, 551s # const gchar *name, 551s # const gchar *object_path, 551s # GCancellable *cancellable, 551s # GError **error); 551s # 551s # 551s # /* ---- */ 551s # 551s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 551s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 551s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 551s # 551s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 551s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 551s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 551s # 551s # struct _OrgProjectUsefulInterfaceSkeleton 551s # { 551s # /*< private >*/ 551s # GDBusInterfaceSkeleton parent_instance; 551s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 551s # }; 551s # 551s # struct _OrgProjectUsefulInterfaceSkeletonClass 551s # { 551s # GDBusInterfaceSkeletonClass parent_class; 551s # }; 551s # 551s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 551s # 551s # #if GLIB_CHECK_VERSION(2, 44, 0) 551s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 551s # #endif 551s # 551s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 551s # 551s # 551s # G_END_DECLS 551s # 551s # #endif /* __STDOUT__ */ 551s # Error: 551s # 551s # /tmp/tmp4xkeuypn/tmpbplmoirw.xml: 551s # 551s # 551s # 551s # 551s # 551s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4xkeuypn/tmpbplmoirw.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 551s # Return code: 0 551s # Output: 551s # /* 551s # * This file is generated by gdbus-codegen, do not modify it. 551s # * 551s # * The license of this code is the same as for the D-Bus interface description 551s # * it was derived from. Note that it links to GLib, so must comply with the 551s # * LGPL linking clauses. 551s # */ 551s # 551s # #ifndef __STDOUT__ 551s # #define __STDOUT__ 551s # 551s # #include 551s # 551s # G_BEGIN_DECLS 551s # 551s # 551s # /* ------------------------------------------------------------------------ */ 551s # /* Declarations for org.project.UsefulInterface */ 551s # 551s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 551s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 551s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 551s # 551s # struct _OrgProjectUsefulInterface; 551s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 551s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 551s # 551s # struct _OrgProjectUsefulInterfaceIface 551s # { 551s # GTypeInterface parent_iface; 551s # 551s # gboolean (*handle_useful_method) ( 551s # OrgProjectUsefulInterface *object, 551s # GDBusMethodInvocation *invocation); 551s # 551s # }; 551s # 551s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 551s # 551s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 551s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 551s # 551s # 551s # /* D-Bus method call completion functions: */ 551s # void org_project_useful_interface_complete_useful_method ( 551s # OrgProjectUsefulInterface *object, 551s # GDBusMethodInvocation *invocation); 551s # 551s # 551s # 551s # /* D-Bus method calls: */ 551s # void org_project_useful_interface_call_useful_method ( 551s # OrgProjectUsefulInterface *proxy, 551s # GCancellable *cancellable, 551s # GAsyncReadyCallback callback, 551s # gpointer user_data); 551s # 551s # gboolean org_project_useful_interface_call_useful_method_finish ( 551s # OrgProjectUsefulInterface *proxy, 551s # GAsyncResult *res, 551s # GError **error); 551s # 551s # gboolean org_project_useful_interface_call_useful_method_sync ( 551s # OrgProjectUsefulInterface *proxy, 551s # GCancellable *cancellable, 551s # GError **error); 551s # 551s # 551s # 551s # /* ---- */ 551s # 551s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 551s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 551s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 551s # 551s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 551s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 551s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 551s # 551s # struct _OrgProjectUsefulInterfaceProxy 551s # { 551s # /*< private >*/ 551s # GDBusProxy parent_instance; 551s # OrgProjectUsefulInterfaceProxyPrivate *priv; 551s # }; 551s # 551s # struct _OrgProjectUsefulInterfaceProxyClass 551s # { 551s # GDBusProxyClass parent_class; 551s # }; 551s # 551s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 551s # 551s # #if GLIB_CHECK_VERSION(2, 44, 0) 551s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 551s # #endif 551s # 551s # void org_project_useful_interface_proxy_new ( 551s # GDBusConnection *connection, 551s # GDBusProxyFlags flags, 551s # const gchar *name, 551s # const gchar *object_path, 551s # GCancellable *cancellable, 551s # GAsyncReadyCallback callback, 551s # gpointer user_data); 551s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 551s # GAsyncResult *res, 551s # GError **error); 551s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 551s # GDBusConnection *connection, 551s # GDBusProxyFlags flags, 551s # const gchar *name, 551s # const gchar *object_path, 551s # GCancellable *cancellable, 551s # GError **error); 551s # 551s # void org_project_useful_interface_proxy_new_for_bus ( 551s # GBusType bus_type, 551s # GDBusProxyFlags flags, 551s # const gchar *name, 551s # const gchar *object_path, 551s # GCancellable *cancellable, 551s # GAsyncReadyCallback callback, 551s # gpointer user_data); 551s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 551s # GAsyncResult *res, 551s # GError **error); 551s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 551s # GBusType bus_type, 551s # GDBusProxyFlags flags, 551s # const gchar *name, 551s # const gchar *object_path, 551s # GCancellable *cancellable, 551s # GError **error); 551s # 551s # 551s # /* ---- */ 551s # 551s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 551s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 551s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 551s # 551s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 551s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 551s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 551s # 551s # struct _OrgProjectUsefulInterfaceSkeleton 551s # { 551s # /*< private >*/ 551s # GDBusInterfaceSkeleton parent_instance; 551s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 551s # }; 551s # 551s # struct _OrgProjectUsefulInterfaceSkeletonClass 551s # { 551s # GDBusInterfaceSkeletonClass parent_class; 551s # }; 551s # 551s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 551s # 551s # #if GLIB_CHECK_VERSION(2, 44, 0) 551s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 551s # #endif 551s # 551s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 551s # 551s # 551s # G_END_DECLS 551s # 551s # #endif /* __STDOUT__ */ 551s # Error: 551s # 551s # /tmp/tmp4xkeuypn/tmpt10s6b0d.xml: 551s # 551s # 551s # 551s # 551s # 551s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4xkeuypn/tmpt10s6b0d.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 551s # Return code: 0 551s # Output: 551s # /* 551s # * This file is generated by gdbus-codegen, do not modify it. 551s # * 551s # * The license of this code is the same as for the D-Bus interface description 551s # * it was derived from. Note that it links to GLib, so must comply with the 551s # * LGPL linking clauses. 551s # */ 551s # 551s # #ifndef __STDOUT__ 551s # #define __STDOUT__ 551s # 551s # #include 551s # 551s # G_BEGIN_DECLS 551s # 551s # 551s # /* ------------------------------------------------------------------------ */ 551s # /* Declarations for org.project.UsefulInterface */ 551s # 551s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 551s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 551s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 551s # 551s # struct _OrgProjectUsefulInterface; 551s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 551s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 551s # 551s # struct _OrgProjectUsefulInterfaceIface 551s # { 551s # GTypeInterface parent_iface; 551s # 551s # gboolean (*handle_useful_method) ( 551s # OrgProjectUsefulInterface *object, 551s # GDBusMethodInvocation *invocation); 551s # 551s # }; 551s # 551s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 551s # 551s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 551s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 551s # 551s # 551s # /* D-Bus method call completion functions: */ 551s # void org_project_useful_interface_complete_useful_method ( 551s # OrgProjectUsefulInterface *object, 551s # GDBusMethodInvocation *invocation); 551s # 551s # 551s # 551s # /* D-Bus method calls: */ 551s # void org_project_useful_interface_call_useful_method ( 551s # OrgProjectUsefulInterface *proxy, 551s # GDBusCallFlags call_flags, 551s # gint timeout_msec, 551s # GCancellable *cancellable, 551s # GAsyncReadyCallback callback, 551s # gpointer user_data); 551s # 551s # gboolean org_project_useful_interface_call_useful_method_finish ( 551s # OrgProjectUsefulInterface *proxy, 551s # GAsyncResult *res, 551s # GError **error); 551s # 551s # gboolean org_project_useful_interface_call_useful_method_sync ( 551s # OrgProjectUsefulInterface *proxy, 551s # GDBusCallFlags call_flags, 551s # gint timeout_msec, 551s # GCancellable *cancellable, 551s # GError **error); 551s # 551s # 551s # 551s # /* ---- */ 551s # 551s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 551s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 551s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 551s # 551s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 551s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 551s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 551s # 551s # struct _OrgProjectUsefulInterfaceProxy 551s # { 551s # /*< private >*/ 551s # GDBusProxy parent_instance; 551s # OrgProjectUsefulInterfaceProxyPrivate *priv; 551s # }; 551s # 551s # struct _OrgProjectUsefulInterfaceProxyClass 551s # { 551s # GDBusProxyClass parent_class; 551s # }; 551s # 551s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 551s # 551s # #if GLIB_CHECK_VERSION(2, 44, 0) 551s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 551s # #endif 551s # 551s # void org_project_useful_interface_proxy_new ( 551s # GDBusConnection *connection, 551s # GDBusProxyFlags flags, 551s # const gchar *name, 551s # const gchar *object_path, 551s # GCancellable *cancellable, 551s # GAsyncReadyCallback callback, 551s # gpointer user_data); 551s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 551s # GAsyncResult *res, 551s # GError **error); 551s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 551s # GDBusConnection *connection, 551s # GDBusProxyFlags flags, 551s # const gchar *name, 551s # const gchar *object_path, 551s # GCancellable *cancellable, 551s # GError **error); 551s # 551s # void org_project_useful_interface_proxy_new_for_bus ( 551s # GBusType bus_type, 551s # GDBusProxyFlags flags, 551s # const gchar *name, 551s # const gchar *object_path, 551s # GCancellable *cancellable, 551s # GAsyncReadyCallback callback, 551s # gpointer user_data); 551s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 551s # GAsyncResult *res, 551s # GError **error); 551s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 551s # GBusType bus_type, 551s # GDBusProxyFlags flags, 551s # const gchar *name, 551s # const gchar *object_path, 551s # GCancellable *cancellable, 551s # GError **error); 551s # 551s # 551s # /* ---- */ 551s # 551s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 551s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 551s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 551s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 551s # 551s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 551s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 551s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 551s # 551s # struct _OrgProjectUsefulInterfaceSkeleton 551s # { 551s # /*< private >*/ 551s # GDBusInterfaceSkeleton parent_instance; 551s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 551s # }; 551s # 551s # struct _OrgProjectUsefulInterfaceSkeletonClass 551s # { 551s # GDBusInterfaceSkeletonClass parent_class; 551s # }; 551s # 551s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 551s # 551s # #if GLIB_CHECK_VERSION(2, 44, 0) 551s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 551s # #endif 551s # 551s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 551s # 551s # 551s # G_END_DECLS 551s # 551s # #endif /* __STDOUT__ */ 551s # Error: 551s # Executing: glib/codegen.py.test 552s ok 2 __main__.TestCodegen.test_dbus_types 552s # gdbus-codegen: /usr/bin/gdbus-codegen 552s # tmpdir: /tmp/tmpyme2kjwt 552s # /tmp/tmpyme2kjwt/tmp6095groi.xml: 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyme2kjwt/tmp6095groi.xml', '--output', '-', '--body'] 552s # Return code: 1 552s # Output: 552s # 552s # Error: 552s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 552s # /tmp/tmpyme2kjwt/tmppk970ty3.xml: 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyme2kjwt/tmppk970ty3.xml', '--output', '-', '--body'] 552s # Return code: 1 552s # Output: 552s # 552s # Error: 552s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 552s # /tmp/tmpyme2kjwt/tmpx0p7v5mh.xml: 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyme2kjwt/tmpx0p7v5mh.xml', '--output', '-', '--body'] 552s # Return code: 1 552s # Output: 552s # 552s # Error: 552s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 552s # /tmp/tmpyme2kjwt/tmp84543n3m.xml: 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyme2kjwt/tmp84543n3m.xml', '--output', '-', '--body'] 552s # Return code: 1 552s # Output: 552s # 552s # Error: 552s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 552s # /tmp/tmpyme2kjwt/tmp1hadx80x.xml: 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyme2kjwt/tmp1hadx80x.xml', '--output', '-', '--body'] 552s # Return code: 1 552s # Output: 552s # 552s # Error: 552s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 552s # /tmp/tmpyme2kjwt/tmp5i4oltuk.xml: 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyme2kjwt/tmp5i4oltuk.xml', '--output', '-', '--body'] 552s # Return code: 1 552s # Output: 552s # 552s # Error: 552s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 552s # /tmp/tmpyme2kjwt/tmpwml3dmx1.xml: 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyme2kjwt/tmpwml3dmx1.xml', '--output', '-', '--body'] 552s # Return code: 1 552s # Output: 552s # 552s # Error: 552s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 552s # /tmp/tmpyme2kjwt/tmpiq088po6.xml: 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyme2kjwt/tmpiq088po6.xml', '--output', '-', '--body'] 552s # Return code: 1 552s # Output: 552s # 552s # Error: 552s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 552s # /tmp/tmpyme2kjwt/tmpxck7mlsl.xml: 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyme2kjwt/tmpxck7mlsl.xml', '--output', '-', '--body'] 552s # Return code: 1 552s # Output: 552s # 552s # Error: 552s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 552s # /tmp/tmpyme2kjwt/tmpuuayi80e.xml: 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyme2kjwt/tmpuuayi80e.xml', '--output', '-', '--body'] 552s # Return code: 1 552s # Output: 552s # 552s # Error: 552s # ERROR: D-Bus maximum signature length of 255 exceeded. 552s # /tmp/tmpyme2kjwt/tmppcmiidby.xml: 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyme2kjwt/tmppcmiidby.xml', '--output', '-', '--body'] 552s # Return code: 1 552s # Output: 552s # 552s # Error: 552s # ERROR: D-Bus maximum signature length of 255 exceeded. 552s # /tmp/tmpyme2kjwt/tmp4xju9fk2.xml: 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyme2kjwt/tmp4xju9fk2.xml', '--output', '-', '--body'] 552s # Return code: 1 552s # Output: 552s # 552s # Error: 552s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 552s # /tmp/tmpyme2kjwt/tmpfrf6m7bm.xml: 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyme2kjwt/tmpfrf6m7bm.xml', '--output', '-', '--body'] 552s # Return code: 1 552s # Output: 552s # 552s # Error: 552s # ERROR: D-Bus maximum signature length of 255 exceeded. 552s # /tmp/tmpyme2kjwt/tmp6z4b0p91.xml: 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyme2kjwt/tmp6z4b0p91.xml', '--output', '-', '--body'] 552s # Return code: 0 552s # Output: 552s # /* 552s # * This file is generated by gdbus-codegen, do not modify it. 552s # * 552s # * The license of this code is the same as for the D-Bus interface description 552s # * it was derived from. Note that it links to GLib, so must comply with the 552s # * LGPL linking clauses. 552s # */ 552s # 552s # #ifdef HAVE_CONFIG_H 552s # # include "config.h" 552s # #endif 552s # 552s # #include 552s # #ifdef G_OS_UNIX 552s # # include 552s # #endif 552s # 552s # #ifdef G_ENABLE_DEBUG 552s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 552s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 552s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 552s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 552s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 552s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 552s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 552s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 552s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 552s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 552s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 552s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 552s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 552s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 552s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 552s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 552s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 552s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 552s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 552s # #else /* !G_ENABLE_DEBUG */ 552s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 552s # * Do not access GValues directly in your code. Instead, use the 552s # * g_value_get_*() functions 552s # */ 552s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 552s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 552s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 552s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 552s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 552s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 552s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 552s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 552s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 552s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 552s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 552s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 552s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 552s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 552s # #endif /* !G_ENABLE_DEBUG */ 552s # 552s # typedef struct 552s # { 552s # GDBusArgInfo parent_struct; 552s # gboolean use_gvariant; 552s # } _ExtendedGDBusArgInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusMethodInfo parent_struct; 552s # const gchar *signal_name; 552s # gboolean pass_fdlist; 552s # } _ExtendedGDBusMethodInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusSignalInfo parent_struct; 552s # const gchar *signal_name; 552s # } _ExtendedGDBusSignalInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusPropertyInfo parent_struct; 552s # const gchar *hyphen_name; 552s # guint use_gvariant : 1; 552s # guint emits_changed_signal : 1; 552s # } _ExtendedGDBusPropertyInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusInterfaceInfo parent_struct; 552s # const gchar *hyphen_name; 552s # } _ExtendedGDBusInterfaceInfo; 552s # 552s # typedef struct 552s # { 552s # const _ExtendedGDBusPropertyInfo *info; 552s # guint prop_id; 552s # GValue orig_value; /* the value before the change */ 552s # } ChangedProperty; 552s # 552s # static void 552s # _changed_property_free (ChangedProperty *data) 552s # { 552s # g_value_unset (&data->orig_value); 552s # g_free (data); 552s # } 552s # 552s # static gboolean 552s # _g_strv_equal0 (gchar **a, gchar **b) 552s # { 552s # gboolean ret = FALSE; 552s # guint n; 552s # if (a == NULL && b == NULL) 552s # { 552s # ret = TRUE; 552s # goto out; 552s # } 552s # if (a == NULL || b == NULL) 552s # goto out; 552s # if (g_strv_length (a) != g_strv_length (b)) 552s # goto out; 552s # for (n = 0; a[n] != NULL; n++) 552s # if (g_strcmp0 (a[n], b[n]) != 0) 552s # goto out; 552s # ret = TRUE; 552s # out: 552s # return ret; 552s # } 552s # 552s # static gboolean 552s # _g_variant_equal0 (GVariant *a, GVariant *b) 552s # { 552s # gboolean ret = FALSE; 552s # if (a == NULL && b == NULL) 552s # { 552s # ret = TRUE; 552s # goto out; 552s # } 552s # if (a == NULL || b == NULL) 552s # goto out; 552s # ret = g_variant_equal (a, b); 552s # out: 552s # return ret; 552s # } 552s # 552s # G_GNUC_UNUSED static gboolean 552s # _g_value_equal (const GValue *a, const GValue *b) 552s # { 552s # gboolean ret = FALSE; 552s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 552s # switch (G_VALUE_TYPE (a)) 552s # { 552s # case G_TYPE_BOOLEAN: 552s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 552s # break; 552s # case G_TYPE_UCHAR: 552s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 552s # break; 552s # case G_TYPE_INT: 552s # ret = (g_value_get_int (a) == g_value_get_int (b)); 552s # break; 552s # case G_TYPE_UINT: 552s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 552s # break; 552s # case G_TYPE_INT64: 552s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 552s # break; 552s # case G_TYPE_UINT64: 552s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 552s # break; 552s # case G_TYPE_DOUBLE: 552s # { 552s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 552s # gdouble da = g_value_get_double (a); 552s # gdouble db = g_value_get_double (b); 552s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 552s # } 552s # break; 552s # case G_TYPE_STRING: 552s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 552s # break; 552s # case G_TYPE_VARIANT: 552s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 552s # break; 552s # default: 552s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 552s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 552s # else 552s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 552s # break; 552s # } 552s # return ret; 552s # } 552s # 552s # /* ------------------------------------------------------------------------ 552s # * Code for interface GoodTypes 552s # * ------------------------------------------------------------------------ 552s # */ 552s # 552s # /** 552s # * SECTION:GoodTypes 552s # * @title: GoodTypes 552s # * @short_description: Generated C code for the GoodTypes D-Bus interface 552s # * 552s # * This section contains code for working with the GoodTypes D-Bus interface in C. 552s # */ 552s # 552s # /* ---- Introspection data for GoodTypes ---- */ 552s # 552s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 552s # { 552s # { 552s # -1, 552s # (gchar *) "GoodPropertyType", 552s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 552s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 552s # NULL 552s # }, 552s # "good-property-type", 552s # FALSE, 552s # TRUE 552s # }; 552s # 552s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 552s # { 552s # &_good_types_property_info_good_property_type.parent_struct, 552s # NULL 552s # }; 552s # 552s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 552s # { 552s # { 552s # -1, 552s # (gchar *) "GoodTypes", 552s # NULL, 552s # NULL, 552s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 552s # NULL 552s # }, 552s # "good-types", 552s # }; 552s # 552s # 552s # /** 552s # * good_types_interface_info: 552s # * 552s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 552s # * 552s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 552s # */ 552s # GDBusInterfaceInfo * 552s # good_types_interface_info (void) 552s # { 552s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 552s # } 552s # 552s # /** 552s # * good_types_override_properties: 552s # * @klass: The class structure for a #GObject derived class. 552s # * @property_id_begin: The property id to assign to the first overridden property. 552s # * 552s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 552s # * The properties are overridden in the order they are defined. 552s # * 552s # * Returns: The last property id. 552s # */ 552s # guint 552s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 552s # { 552s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 552s # return property_id_begin - 1; 552s # } 552s # 552s # 552s # 552s # /** 552s # * GoodTypes: 552s # * 552s # * Abstract interface type for the D-Bus interface GoodTypes. 552s # */ 552s # 552s # /** 552s # * GoodTypesIface: 552s # * @parent_iface: The parent interface. 552s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 552s # * 552s # * Virtual table for the D-Bus interface GoodTypes. 552s # */ 552s # 552s # typedef GoodTypesIface GoodTypesInterface; 552s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 552s # 552s # static void 552s # good_types_default_init (GoodTypesIface *iface) 552s # { 552s # /* GObject properties for D-Bus properties: */ 552s # /** 552s # * GoodTypes:good-property-type: 552s # * 552s # * Represents the D-Bus property "GoodPropertyType". 552s # * 552s # * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side. 552s # */ 552s # g_object_interface_install_property (iface, 552s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 552s # } 552s # 552s # /** 552s # * good_types_get_good_property_type: (skip) 552s # * @object: A GoodTypes. 552s # * 552s # * Gets the value of the "GoodPropertyType" D-Bus property. 552s # * 552s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 552s # * 552s # * The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use good_types_dup_good_property_type() if on another thread. 552s # * 552s # * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. 552s # */ 552s # GVariant * 552s # good_types_get_good_property_type (GoodTypes *object) 552s # { 552s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 552s # 552s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 552s # } 552s # 552s # /** 552s # * good_types_dup_good_property_type: (skip) 552s # * @object: A GoodTypes. 552s # * 552s # * Gets a copy of the "GoodPropertyType" D-Bus property. 552s # * 552s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 552s # * 552s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). 552s # */ 552s # GVariant * 552s # good_types_dup_good_property_type (GoodTypes *object) 552s # { 552s # GVariant *value; 552s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 552s # return value; 552s # } 552s # 552s # /** 552s # * good_types_set_good_property_type: (skip) 552s # * @object: A GoodTypes. 552s # * @value: The value to set. 552s # * 552s # * Sets the "GoodPropertyType" D-Bus property to @value. 552s # * 552s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 552s # */ 552s # void 552s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 552s # { 552s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 552s # } 552s # 552s # /* ------------------------------------------------------------------------ */ 552s # 552s # /** 552s # * GoodTypesProxy: 552s # * 552s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 552s # */ 552s # 552s # /** 552s # * GoodTypesProxyClass: 552s # * @parent_class: The parent class. 552s # * 552s # * Class structure for GoodTypesProxy. 552s # */ 552s # 552s # struct _GoodTypesProxyPrivate 552s # { 552s # GData *qdata; 552s # }; 552s # 552s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 552s # 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 552s # G_ADD_PRIVATE (GoodTypesProxy) 552s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 552s # 552s # #else 552s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 552s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 552s # 552s # #endif 552s # static void 552s # good_types_proxy_finalize (GObject *object) 552s # { 552s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 552s # g_datalist_clear (&proxy->priv->qdata); 552s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 552s # } 552s # 552s # static void 552s # good_types_proxy_get_property (GObject *object, 552s # guint prop_id, 552s # GValue *value, 552s # GParamSpec *pspec G_GNUC_UNUSED) 552s # { 552s # const _ExtendedGDBusPropertyInfo *info; 552s # GVariant *variant; 552s # g_assert (prop_id != 0 && prop_id - 1 < 1); 552s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 552s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 552s # if (info->use_gvariant) 552s # { 552s # g_value_set_variant (value, variant); 552s # } 552s # else 552s # { 552s # if (variant != NULL) 552s # g_dbus_gvariant_to_gvalue (variant, value); 552s # } 552s # if (variant != NULL) 552s # g_variant_unref (variant); 552s # } 552s # 552s # static void 552s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 552s # GAsyncResult *res, 552s # gpointer user_data) 552s # { 552s # const _ExtendedGDBusPropertyInfo *info = user_data; 552s # GError *error; 552s # GVariant *_ret; 552s # error = NULL; 552s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 552s # if (!_ret) 552s # { 552s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 552s # info->parent_struct.name, 552s # error->message, g_quark_to_string (error->domain), error->code); 552s # g_error_free (error); 552s # } 552s # else 552s # { 552s # g_variant_unref (_ret); 552s # } 552s # } 552s # 552s # static void 552s # good_types_proxy_set_property (GObject *object, 552s # guint prop_id, 552s # const GValue *value, 552s # GParamSpec *pspec G_GNUC_UNUSED) 552s # { 552s # const _ExtendedGDBusPropertyInfo *info; 552s # GVariant *variant; 552s # g_assert (prop_id != 0 && prop_id - 1 < 1); 552s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 552s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 552s # g_dbus_proxy_call (G_DBUS_PROXY (object), 552s # "org.freedesktop.DBus.Properties.Set", 552s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 552s # G_DBUS_CALL_FLAGS_NONE, 552s # -1, 552s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 552s # g_variant_unref (variant); 552s # } 552s # 552s # static void 552s # good_types_proxy_g_signal (GDBusProxy *proxy, 552s # const gchar *sender_name G_GNUC_UNUSED, 552s # const gchar *signal_name, 552s # GVariant *parameters) 552s # { 552s # _ExtendedGDBusSignalInfo *info; 552s # GVariantIter iter; 552s # GVariant *child; 552s # GValue *paramv; 552s # gsize num_params; 552s # gsize n; 552s # guint signal_id; 552s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 552s # if (info == NULL) 552s # return; 552s # num_params = g_variant_n_children (parameters); 552s # paramv = g_new0 (GValue, num_params + 1); 552s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 552s # g_value_set_object (¶mv[0], proxy); 552s # g_variant_iter_init (&iter, parameters); 552s # n = 1; 552s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 552s # { 552s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 552s # if (arg_info->use_gvariant) 552s # { 552s # g_value_init (¶mv[n], G_TYPE_VARIANT); 552s # g_value_set_variant (¶mv[n], child); 552s # n++; 552s # } 552s # else 552s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 552s # g_variant_unref (child); 552s # } 552s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 552s # g_signal_emitv (paramv, signal_id, 0, NULL); 552s # for (n = 0; n < num_params + 1; n++) 552s # g_value_unset (¶mv[n]); 552s # g_free (paramv); 552s # } 552s # 552s # static void 552s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 552s # GVariant *changed_properties, 552s # const gchar *const *invalidated_properties) 552s # { 552s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 552s # guint n; 552s # const gchar *key; 552s # GVariantIter *iter; 552s # _ExtendedGDBusPropertyInfo *info; 552s # g_variant_get (changed_properties, "a{sv}", &iter); 552s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 552s # { 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 552s # g_datalist_remove_data (&proxy->priv->qdata, key); 552s # if (info != NULL) 552s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 552s # } 552s # g_variant_iter_free (iter); 552s # for (n = 0; invalidated_properties[n] != NULL; n++) 552s # { 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 552s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 552s # if (info != NULL) 552s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 552s # } 552s # } 552s # 552s # static GVariant * 552s # good_types_proxy_get_good_property_type (GoodTypes *object) 552s # { 552s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 552s # GVariant *variant; 552s # GVariant *value = NULL; 552s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 552s # value = variant; 552s # if (variant != NULL) 552s # g_variant_unref (variant); 552s # return value; 552s # } 552s # 552s # static void 552s # good_types_proxy_init (GoodTypesProxy *proxy) 552s # { 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # proxy->priv = good_types_proxy_get_instance_private (proxy); 552s # #else 552s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 552s # #endif 552s # 552s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 552s # } 552s # 552s # static void 552s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 552s # { 552s # GObjectClass *gobject_class; 552s # GDBusProxyClass *proxy_class; 552s # 552s # gobject_class = G_OBJECT_CLASS (klass); 552s # gobject_class->finalize = good_types_proxy_finalize; 552s # gobject_class->get_property = good_types_proxy_get_property; 552s # gobject_class->set_property = good_types_proxy_set_property; 552s # 552s # proxy_class = G_DBUS_PROXY_CLASS (klass); 552s # proxy_class->g_signal = good_types_proxy_g_signal; 552s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 552s # 552s # good_types_override_properties (gobject_class, 1); 552s # 552s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 552s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 552s # #endif 552s # } 552s # 552s # static void 552s # good_types_proxy_iface_init (GoodTypesIface *iface) 552s # { 552s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 552s # } 552s # 552s # /** 552s # * good_types_proxy_new: 552s # * @connection: A #GDBusConnection. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 552s # * @user_data: User data to pass to @callback. 552s # * 552s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 552s # * 552s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 552s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 552s # * 552s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 552s # */ 552s # void 552s # good_types_proxy_new ( 552s # GDBusConnection *connection, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GAsyncReadyCallback callback, 552s # gpointer user_data) 552s # { 552s # g_async_initable_new_async (TYPE_GOOD_TYPES_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 552s # } 552s # 552s # /** 552s # * good_types_proxy_new_finish: 552s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 552s # * @error: Return location for error or %NULL 552s # * 552s # * Finishes an operation started with good_types_proxy_new(). 552s # * 552s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # GoodTypes * 552s # good_types_proxy_new_finish ( 552s # GAsyncResult *res, 552s # GError **error) 552s # { 552s # GObject *ret; 552s # GObject *source_object; 552s # source_object = g_async_result_get_source_object (res); 552s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 552s # g_object_unref (source_object); 552s # if (ret != NULL) 552s # return GOOD_TYPES (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # /** 552s # * good_types_proxy_new_sync: 552s # * @connection: A #GDBusConnection. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @error: Return location for error or %NULL 552s # * 552s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 552s # * 552s # * The calling thread is blocked until a reply is received. 552s # * 552s # * See good_types_proxy_new() for the asynchronous version of this constructor. 552s # * 552s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # GoodTypes * 552s # good_types_proxy_new_sync ( 552s # GDBusConnection *connection, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GError **error) 552s # { 552s # GInitable *ret; 552s # ret = g_initable_new (TYPE_GOOD_TYPES_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 552s # if (ret != NULL) 552s # return GOOD_TYPES (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # 552s # /** 552s # * good_types_proxy_new_for_bus: 552s # * @bus_type: A #GBusType. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: A bus name (well-known or unique). 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 552s # * @user_data: User data to pass to @callback. 552s # * 552s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 552s # * 552s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 552s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 552s # * 552s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 552s # */ 552s # void 552s # good_types_proxy_new_for_bus ( 552s # GBusType bus_type, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GAsyncReadyCallback callback, 552s # gpointer user_data) 552s # { 552s # g_async_initable_new_async (TYPE_GOOD_TYPES_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 552s # } 552s # 552s # /** 552s # * good_types_proxy_new_for_bus_finish: 552s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 552s # * @error: Return location for error or %NULL 552s # * 552s # * Finishes an operation started with good_types_proxy_new_for_bus(). 552s # * 552s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # GoodTypes * 552s # good_types_proxy_new_for_bus_finish ( 552s # GAsyncResult *res, 552s # GError **error) 552s # { 552s # GObject *ret; 552s # GObject *source_object; 552s # source_object = g_async_result_get_source_object (res); 552s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 552s # g_object_unref (source_object); 552s # if (ret != NULL) 552s # return GOOD_TYPES (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # /** 552s # * good_types_proxy_new_for_bus_sync: 552s # * @bus_type: A #GBusType. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: A bus name (well-known or unique). 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @error: Return location for error or %NULL 552s # * 552s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 552s # * 552s # * The calling thread is blocked until a reply is received. 552s # * 552s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 552s # * 552s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # GoodTypes * 552s # good_types_proxy_new_for_bus_sync ( 552s # GBusType bus_type, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GError **error) 552s # { 552s # GInitable *ret; 552s # ret = g_initable_new (TYPE_GOOD_TYPES_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 552s # if (ret != NULL) 552s # return GOOD_TYPES (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # 552s # /* ------------------------------------------------------------------------ */ 552s # 552s # /** 552s # * GoodTypesSkeleton: 552s # * 552s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 552s # */ 552s # 552s # /** 552s # * GoodTypesSkeletonClass: 552s # * @parent_class: The parent class. 552s # * 552s # * Class structure for GoodTypesSkeleton. 552s # */ 552s # 552s # struct _GoodTypesSkeletonPrivate 552s # { 552s # GValue *properties; 552s # GList *changed_properties; 552s # GSource *changed_properties_idle_source; 552s # GMainContext *context; 552s # GMutex lock; 552s # }; 552s # 552s # static void 552s # _good_types_skeleton_handle_method_call ( 552s # GDBusConnection *connection G_GNUC_UNUSED, 552s # const gchar *sender G_GNUC_UNUSED, 552s # const gchar *object_path G_GNUC_UNUSED, 552s # const gchar *interface_name, 552s # const gchar *method_name, 552s # GVariant *parameters, 552s # GDBusMethodInvocation *invocation, 552s # gpointer user_data) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 552s # _ExtendedGDBusMethodInfo *info; 552s # GVariantIter iter; 552s # GVariant *child; 552s # GValue *paramv; 552s # gsize num_params; 552s # guint num_extra; 552s # gsize n; 552s # guint signal_id; 552s # GValue return_value = G_VALUE_INIT; 552s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 552s # g_assert (info != NULL); 552s # num_params = g_variant_n_children (parameters); 552s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 552s # n = 0; 552s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 552s # g_value_set_object (¶mv[n++], skeleton); 552s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 552s # g_value_set_object (¶mv[n++], invocation); 552s # if (info->pass_fdlist) 552s # { 552s # #ifdef G_OS_UNIX 552s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 552s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 552s # #else 552s # g_assert_not_reached (); 552s # #endif 552s # } 552s # g_variant_iter_init (&iter, parameters); 552s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 552s # { 552s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 552s # if (arg_info->use_gvariant) 552s # { 552s # g_value_init (¶mv[n], G_TYPE_VARIANT); 552s # g_value_set_variant (¶mv[n], child); 552s # n++; 552s # } 552s # else 552s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 552s # g_variant_unref (child); 552s # } 552s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 552s # g_value_init (&return_value, G_TYPE_BOOLEAN); 552s # g_signal_emitv (paramv, signal_id, 0, &return_value); 552s # if (!g_value_get_boolean (&return_value)) 552s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 552s # g_value_unset (&return_value); 552s # for (n = 0; n < num_params + num_extra; n++) 552s # g_value_unset (¶mv[n]); 552s # g_free (paramv); 552s # } 552s # 552s # static GVariant * 552s # _good_types_skeleton_handle_get_property ( 552s # GDBusConnection *connection G_GNUC_UNUSED, 552s # const gchar *sender G_GNUC_UNUSED, 552s # const gchar *object_path G_GNUC_UNUSED, 552s # const gchar *interface_name G_GNUC_UNUSED, 552s # const gchar *property_name, 552s # GError **error, 552s # gpointer user_data) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 552s # GValue value = G_VALUE_INIT; 552s # GParamSpec *pspec; 552s # _ExtendedGDBusPropertyInfo *info; 552s # GVariant *ret; 552s # ret = NULL; 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 552s # g_assert (info != NULL); 552s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 552s # if (pspec == NULL) 552s # { 552s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 552s # } 552s # else 552s # { 552s # g_value_init (&value, pspec->value_type); 552s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 552s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 552s # g_value_unset (&value); 552s # } 552s # return ret; 552s # } 552s # 552s # static gboolean 552s # _good_types_skeleton_handle_set_property ( 552s # GDBusConnection *connection G_GNUC_UNUSED, 552s # const gchar *sender G_GNUC_UNUSED, 552s # const gchar *object_path G_GNUC_UNUSED, 552s # const gchar *interface_name G_GNUC_UNUSED, 552s # const gchar *property_name, 552s # GVariant *variant, 552s # GError **error, 552s # gpointer user_data) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 552s # GValue value = G_VALUE_INIT; 552s # GParamSpec *pspec; 552s # _ExtendedGDBusPropertyInfo *info; 552s # gboolean ret; 552s # ret = FALSE; 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 552s # g_assert (info != NULL); 552s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 552s # if (pspec == NULL) 552s # { 552s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 552s # } 552s # else 552s # { 552s # if (info->use_gvariant) 552s # g_value_set_variant (&value, variant); 552s # else 552s # g_dbus_gvariant_to_gvalue (variant, &value); 552s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 552s # g_value_unset (&value); 552s # ret = TRUE; 552s # } 552s # return ret; 552s # } 552s # 552s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 552s # { 552s # _good_types_skeleton_handle_method_call, 552s # _good_types_skeleton_handle_get_property, 552s # _good_types_skeleton_handle_set_property, 552s # {NULL} 552s # }; 552s # 552s # static GDBusInterfaceInfo * 552s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 552s # { 552s # return good_types_interface_info (); 552s # } 552s # 552s # static GDBusInterfaceVTable * 552s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 552s # { 552s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 552s # } 552s # 552s # static GVariant * 552s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 552s # 552s # GVariantBuilder builder; 552s # guint n; 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 552s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 552s # #else 552s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 552s # #endif 552s # if (_good_types_interface_info.parent_struct.properties == NULL) 552s # goto out; 552s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 552s # { 552s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 552s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 552s # { 552s # GVariant *value; 552s # value = _good_types_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "GoodTypes", info->name, NULL, skeleton); 552s # if (value != NULL) 552s # { 552s # g_variant_take_ref (value); 552s # g_variant_builder_add (&builder, "{sv}", info->name, value); 552s # g_variant_unref (value); 552s # } 552s # } 552s # } 552s # out: 552s # return g_variant_builder_end (&builder); 552s # } 552s # 552s # static gboolean _good_types_emit_changed (gpointer user_data); 552s # 552s # static void 552s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 552s # gboolean emit_changed = FALSE; 552s # 552s # g_mutex_lock (&skeleton->priv->lock); 552s # if (skeleton->priv->changed_properties_idle_source != NULL) 552s # { 552s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 552s # skeleton->priv->changed_properties_idle_source = NULL; 552s # emit_changed = TRUE; 552s # } 552s # g_mutex_unlock (&skeleton->priv->lock); 552s # 552s # if (emit_changed) 552s # _good_types_emit_changed (skeleton); 552s # } 552s # 552s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 552s # G_ADD_PRIVATE (GoodTypesSkeleton) 552s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 552s # 552s # #else 552s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 552s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 552s # 552s # #endif 552s # static void 552s # good_types_skeleton_finalize (GObject *object) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 552s # guint n; 552s # for (n = 0; n < 1; n++) 552s # g_value_unset (&skeleton->priv->properties[n]); 552s # g_free (skeleton->priv->properties); 552s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 552s # if (skeleton->priv->changed_properties_idle_source != NULL) 552s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 552s # g_main_context_unref (skeleton->priv->context); 552s # g_mutex_clear (&skeleton->priv->lock); 552s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 552s # } 552s # 552s # static void 552s # good_types_skeleton_get_property (GObject *object, 552s # guint prop_id, 552s # GValue *value, 552s # GParamSpec *pspec G_GNUC_UNUSED) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 552s # g_assert (prop_id != 0 && prop_id - 1 < 1); 552s # g_mutex_lock (&skeleton->priv->lock); 552s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 552s # g_mutex_unlock (&skeleton->priv->lock); 552s # } 552s # 552s # static gboolean 552s # _good_types_emit_changed (gpointer user_data) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 552s # GList *l; 552s # GVariantBuilder builder; 552s # GVariantBuilder invalidated_builder; 552s # guint num_changes; 552s # 552s # g_mutex_lock (&skeleton->priv->lock); 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 552s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 552s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 552s # #else 552s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 552s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 552s # #endif 552s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 552s # { 552s # ChangedProperty *cp = l->data; 552s # GVariant *variant; 552s # const GValue *cur_value; 552s # 552s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 552s # if (!_g_value_equal (cur_value, &cp->orig_value)) 552s # { 552s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 552s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 552s # g_variant_unref (variant); 552s # num_changes++; 552s # } 552s # } 552s # if (num_changes > 0) 552s # { 552s # GList *connections, *ll; 552s # GVariant *signal_variant; 552s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 552s # &builder, &invalidated_builder)); 552s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 552s # for (ll = connections; ll != NULL; ll = ll->next) 552s # { 552s # GDBusConnection *connection = ll->data; 552s # 552s # g_dbus_connection_emit_signal (connection, 552s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 552s # "org.freedesktop.DBus.Properties", 552s # "PropertiesChanged", 552s # signal_variant, 552s # NULL); 552s # } 552s # g_variant_unref (signal_variant); 552s # g_list_free_full (connections, g_object_unref); 552s # } 552s # else 552s # { 552s # g_variant_builder_clear (&builder); 552s # g_variant_builder_clear (&invalidated_builder); 552s # } 552s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 552s # skeleton->priv->changed_properties = NULL; 552s # skeleton->priv->changed_properties_idle_source = NULL; 552s # g_mutex_unlock (&skeleton->priv->lock); 552s # return FALSE; 552s # } 552s # 552s # static void 552s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 552s # { 552s # ChangedProperty *cp; 552s # GList *l; 552s # cp = NULL; 552s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 552s # { 552s # ChangedProperty *i_cp = l->data; 552s # if (i_cp->info == info) 552s # { 552s # cp = i_cp; 552s # break; 552s # } 552s # } 552s # if (cp == NULL) 552s # { 552s # cp = g_new0 (ChangedProperty, 1); 552s # cp->prop_id = prop_id; 552s # cp->info = info; 552s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 552s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 552s # g_value_copy (orig_value, &cp->orig_value); 552s # } 552s # } 552s # 552s # static void 552s # good_types_skeleton_notify (GObject *object, 552s # GParamSpec *pspec G_GNUC_UNUSED) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 552s # g_mutex_lock (&skeleton->priv->lock); 552s # if (skeleton->priv->changed_properties != NULL && 552s # skeleton->priv->changed_properties_idle_source == NULL) 552s # { 552s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 552s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 552s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 552s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 552s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 552s # g_source_unref (skeleton->priv->changed_properties_idle_source); 552s # } 552s # g_mutex_unlock (&skeleton->priv->lock); 552s # } 552s # 552s # static void 552s # good_types_skeleton_set_property (GObject *object, 552s # guint prop_id, 552s # const GValue *value, 552s # GParamSpec *pspec) 552s # { 552s # const _ExtendedGDBusPropertyInfo *info; 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 552s # g_assert (prop_id != 0 && prop_id - 1 < 1); 552s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 552s # g_mutex_lock (&skeleton->priv->lock); 552s # g_object_freeze_notify (object); 552s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 552s # { 552s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 552s # info->emits_changed_signal) 552s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 552s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 552s # g_object_notify_by_pspec (object, pspec); 552s # } 552s # g_mutex_unlock (&skeleton->priv->lock); 552s # g_object_thaw_notify (object); 552s # } 552s # 552s # static void 552s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 552s # { 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 552s # #else 552s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 552s # #endif 552s # 552s # g_mutex_init (&skeleton->priv->lock); 552s # skeleton->priv->context = g_main_context_ref_thread_default (); 552s # skeleton->priv->properties = g_new0 (GValue, 1); 552s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 552s # } 552s # 552s # static GVariant * 552s # good_types_skeleton_get_good_property_type (GoodTypes *object) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 552s # GVariant *value; 552s # g_mutex_lock (&skeleton->priv->lock); 552s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 552s # g_mutex_unlock (&skeleton->priv->lock); 552s # return value; 552s # } 552s # 552s # static void 552s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 552s # { 552s # GObjectClass *gobject_class; 552s # GDBusInterfaceSkeletonClass *skeleton_class; 552s # 552s # gobject_class = G_OBJECT_CLASS (klass); 552s # gobject_class->finalize = good_types_skeleton_finalize; 552s # gobject_class->get_property = good_types_skeleton_get_property; 552s # gobject_class->set_property = good_types_skeleton_set_property; 552s # gobject_class->notify = good_types_skeleton_notify; 552s # 552s # 552s # good_types_override_properties (gobject_class, 1); 552s # 552s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 552s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 552s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 552s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 552s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 552s # 552s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 552s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 552s # #endif 552s # } 552s # 552s # static void 552s # good_types_skeleton_iface_init (GoodTypesIface *iface) 552s # { 552s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 552s # } 552s # 552s # /** 552s # * good_types_skeleton_new: 552s # * 552s # * Creates a skeleton object for the D-Bus interface GoodTypes. 552s # * 552s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 552s # */ 552s # GoodTypes * 552s # good_types_skeleton_new (void) 552s # { 552s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 552s # } 552s # Error: 552s # 552s # /tmp/tmpyme2kjwt/tmpku08xwgd.xml: 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyme2kjwt/tmpku08xwgd.xml', '--output', '-', '--body'] 552s # Return code: 0 552s # Output: 552s # /* 552s # * This file is generated by gdbus-codegen, do not modify it. 552s # * 552s # * The license of this code is the same as for the D-Bus interface description 552s # * it was derived from. Note that it links to GLib, so must comply with the 552s # * LGPL linking clauses. 552s # */ 552s # 552s # #ifdef HAVE_CONFIG_H 552s # # include "config.h" 552s # #endif 552s # 552s # #include 552s # #ifdef G_OS_UNIX 552s # # include 552s # #endif 552s # 552s # #ifdef G_ENABLE_DEBUG 552s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 552s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 552s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 552s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 552s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 552s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 552s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 552s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 552s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 552s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 552s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 552s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 552s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 552s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 552s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 552s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 552s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 552s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 552s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 552s # #else /* !G_ENABLE_DEBUG */ 552s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 552s # * Do not access GValues directly in your code. Instead, use the 552s # * g_value_get_*() functions 552s # */ 552s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 552s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 552s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 552s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 552s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 552s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 552s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 552s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 552s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 552s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 552s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 552s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 552s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 552s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 552s # #endif /* !G_ENABLE_DEBUG */ 552s # 552s # typedef struct 552s # { 552s # GDBusArgInfo parent_struct; 552s # gboolean use_gvariant; 552s # } _ExtendedGDBusArgInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusMethodInfo parent_struct; 552s # const gchar *signal_name; 552s # gboolean pass_fdlist; 552s # } _ExtendedGDBusMethodInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusSignalInfo parent_struct; 552s # const gchar *signal_name; 552s # } _ExtendedGDBusSignalInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusPropertyInfo parent_struct; 552s # const gchar *hyphen_name; 552s # guint use_gvariant : 1; 552s # guint emits_changed_signal : 1; 552s # } _ExtendedGDBusPropertyInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusInterfaceInfo parent_struct; 552s # const gchar *hyphen_name; 552s # } _ExtendedGDBusInterfaceInfo; 552s # 552s # typedef struct 552s # { 552s # const _ExtendedGDBusPropertyInfo *info; 552s # guint prop_id; 552s # GValue orig_value; /* the value before the change */ 552s # } ChangedProperty; 552s # 552s # static void 552s # _changed_property_free (ChangedProperty *data) 552s # { 552s # g_value_unset (&data->orig_value); 552s # g_free (data); 552s # } 552s # 552s # static gboolean 552s # _g_strv_equal0 (gchar **a, gchar **b) 552s # { 552s # gboolean ret = FALSE; 552s # guint n; 552s # if (a == NULL && b == NULL) 552s # { 552s # ret = TRUE; 552s # goto out; 552s # } 552s # if (a == NULL || b == NULL) 552s # goto out; 552s # if (g_strv_length (a) != g_strv_length (b)) 552s # goto out; 552s # for (n = 0; a[n] != NULL; n++) 552s # if (g_strcmp0 (a[n], b[n]) != 0) 552s # goto out; 552s # ret = TRUE; 552s # out: 552s # return ret; 552s # } 552s # 552s # static gboolean 552s # _g_variant_equal0 (GVariant *a, GVariant *b) 552s # { 552s # gboolean ret = FALSE; 552s # if (a == NULL && b == NULL) 552s # { 552s # ret = TRUE; 552s # goto out; 552s # } 552s # if (a == NULL || b == NULL) 552s # goto out; 552s # ret = g_variant_equal (a, b); 552s # out: 552s # return ret; 552s # } 552s # 552s # G_GNUC_UNUSED static gboolean 552s # _g_value_equal (const GValue *a, const GValue *b) 552s # { 552s # gboolean ret = FALSE; 552s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 552s # switch (G_VALUE_TYPE (a)) 552s # { 552s # case G_TYPE_BOOLEAN: 552s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 552s # break; 552s # case G_TYPE_UCHAR: 552s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 552s # break; 552s # case G_TYPE_INT: 552s # ret = (g_value_get_int (a) == g_value_get_int (b)); 552s # break; 552s # case G_TYPE_UINT: 552s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 552s # break; 552s # case G_TYPE_INT64: 552s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 552s # break; 552s # case G_TYPE_UINT64: 552s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 552s # break; 552s # case G_TYPE_DOUBLE: 552s # { 552s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 552s # gdouble da = g_value_get_double (a); 552s # gdouble db = g_value_get_double (b); 552s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 552s # } 552s # break; 552s # case G_TYPE_STRING: 552s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 552s # break; 552s # case G_TYPE_VARIANT: 552s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 552s # break; 552s # default: 552s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 552s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 552s # else 552s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 552s # break; 552s # } 552s # return ret; 552s # } 552s # 552s # /* ------------------------------------------------------------------------ 552s # * Code for interface GoodTypes 552s # * ------------------------------------------------------------------------ 552s # */ 552s # 552s # /** 552s # * SECTION:GoodTypes 552s # * @title: GoodTypes 552s # * @short_description: Generated C code for the GoodTypes D-Bus interface 552s # * 552s # * This section contains code for working with the GoodTypes D-Bus interface in C. 552s # */ 552s # 552s # /* ---- Introspection data for GoodTypes ---- */ 552s # 552s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 552s # { 552s # { 552s # -1, 552s # (gchar *) "GoodPropertyType", 552s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 552s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 552s # NULL 552s # }, 552s # "good-property-type", 552s # FALSE, 552s # TRUE 552s # }; 552s # 552s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 552s # { 552s # &_good_types_property_info_good_property_type.parent_struct, 552s # NULL 552s # }; 552s # 552s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 552s # { 552s # { 552s # -1, 552s # (gchar *) "GoodTypes", 552s # NULL, 552s # NULL, 552s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 552s # NULL 552s # }, 552s # "good-types", 552s # }; 552s # 552s # 552s # /** 552s # * good_types_interface_info: 552s # * 552s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 552s # * 552s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 552s # */ 552s # GDBusInterfaceInfo * 552s # good_types_interface_info (void) 552s # { 552s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 552s # } 552s # 552s # /** 552s # * good_types_override_properties: 552s # * @klass: The class structure for a #GObject derived class. 552s # * @property_id_begin: The property id to assign to the first overridden property. 552s # * 552s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 552s # * The properties are overridden in the order they are defined. 552s # * 552s # * Returns: The last property id. 552s # */ 552s # guint 552s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 552s # { 552s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 552s # return property_id_begin - 1; 552s # } 552s # 552s # 552s # 552s # /** 552s # * GoodTypes: 552s # * 552s # * Abstract interface type for the D-Bus interface GoodTypes. 552s # */ 552s # 552s # /** 552s # * GoodTypesIface: 552s # * @parent_iface: The parent interface. 552s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 552s # * 552s # * Virtual table for the D-Bus interface GoodTypes. 552s # */ 552s # 552s # typedef GoodTypesIface GoodTypesInterface; 552s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 552s # 552s # static void 552s # good_types_default_init (GoodTypesIface *iface) 552s # { 552s # /* GObject properties for D-Bus properties: */ 552s # /** 552s # * GoodTypes:good-property-type: 552s # * 552s # * Represents the D-Bus property "GoodPropertyType". 552s # * 552s # * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side. 552s # */ 552s # g_object_interface_install_property (iface, 552s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 552s # } 552s # 552s # /** 552s # * good_types_get_good_property_type: (skip) 552s # * @object: A GoodTypes. 552s # * 552s # * Gets the value of the "GoodPropertyType" D-Bus property. 552s # * 552s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 552s # * 552s # * The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use good_types_dup_good_property_type() if on another thread. 552s # * 552s # * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. 552s # */ 552s # GVariant * 552s # good_types_get_good_property_type (GoodTypes *object) 552s # { 552s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 552s # 552s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 552s # } 552s # 552s # /** 552s # * good_types_dup_good_property_type: (skip) 552s # * @object: A GoodTypes. 552s # * 552s # * Gets a copy of the "GoodPropertyType" D-Bus property. 552s # * 552s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 552s # * 552s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). 552s # */ 552s # GVariant * 552s # good_types_dup_good_property_type (GoodTypes *object) 552s # { 552s # GVariant *value; 552s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 552s # return value; 552s # } 552s # 552s # /** 552s # * good_types_set_good_property_type: (skip) 552s # * @object: A GoodTypes. 552s # * @value: The value to set. 552s # * 552s # * Sets the "GoodPropertyType" D-Bus property to @value. 552s # * 552s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 552s # */ 552s # void 552s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 552s # { 552s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 552s # } 552s # 552s # /* ------------------------------------------------------------------------ */ 552s # 552s # /** 552s # * GoodTypesProxy: 552s # * 552s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 552s # */ 552s # 552s # /** 552s # * GoodTypesProxyClass: 552s # * @parent_class: The parent class. 552s # * 552s # * Class structure for GoodTypesProxy. 552s # */ 552s # 552s # struct _GoodTypesProxyPrivate 552s # { 552s # GData *qdata; 552s # }; 552s # 552s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 552s # 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 552s # G_ADD_PRIVATE (GoodTypesProxy) 552s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 552s # 552s # #else 552s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 552s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 552s # 552s # #endif 552s # static void 552s # good_types_proxy_finalize (GObject *object) 552s # { 552s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 552s # g_datalist_clear (&proxy->priv->qdata); 552s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 552s # } 552s # 552s # static void 552s # good_types_proxy_get_property (GObject *object, 552s # guint prop_id, 552s # GValue *value, 552s # GParamSpec *pspec G_GNUC_UNUSED) 552s # { 552s # const _ExtendedGDBusPropertyInfo *info; 552s # GVariant *variant; 552s # g_assert (prop_id != 0 && prop_id - 1 < 1); 552s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 552s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 552s # if (info->use_gvariant) 552s # { 552s # g_value_set_variant (value, variant); 552s # } 552s # else 552s # { 552s # if (variant != NULL) 552s # g_dbus_gvariant_to_gvalue (variant, value); 552s # } 552s # if (variant != NULL) 552s # g_variant_unref (variant); 552s # } 552s # 552s # static void 552s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 552s # GAsyncResult *res, 552s # gpointer user_data) 552s # { 552s # const _ExtendedGDBusPropertyInfo *info = user_data; 552s # GError *error; 552s # GVariant *_ret; 552s # error = NULL; 552s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 552s # if (!_ret) 552s # { 552s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 552s # info->parent_struct.name, 552s # error->message, g_quark_to_string (error->domain), error->code); 552s # g_error_free (error); 552s # } 552s # else 552s # { 552s # g_variant_unref (_ret); 552s # } 552s # } 552s # 552s # static void 552s # good_types_proxy_set_property (GObject *object, 552s # guint prop_id, 552s # const GValue *value, 552s # GParamSpec *pspec G_GNUC_UNUSED) 552s # { 552s # const _ExtendedGDBusPropertyInfo *info; 552s # GVariant *variant; 552s # g_assert (prop_id != 0 && prop_id - 1 < 1); 552s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 552s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 552s # g_dbus_proxy_call (G_DBUS_PROXY (object), 552s # "org.freedesktop.DBus.Properties.Set", 552s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 552s # G_DBUS_CALL_FLAGS_NONE, 552s # -1, 552s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 552s # g_variant_unref (variant); 552s # } 552s # 552s # static void 552s # good_types_proxy_g_signal (GDBusProxy *proxy, 552s # const gchar *sender_name G_GNUC_UNUSED, 552s # const gchar *signal_name, 552s # GVariant *parameters) 552s # { 552s # _ExtendedGDBusSignalInfo *info; 552s # GVariantIter iter; 552s # GVariant *child; 552s # GValue *paramv; 552s # gsize num_params; 552s # gsize n; 552s # guint signal_id; 552s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 552s # if (info == NULL) 552s # return; 552s # num_params = g_variant_n_children (parameters); 552s # paramv = g_new0 (GValue, num_params + 1); 552s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 552s # g_value_set_object (¶mv[0], proxy); 552s # g_variant_iter_init (&iter, parameters); 552s # n = 1; 552s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 552s # { 552s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 552s # if (arg_info->use_gvariant) 552s # { 552s # g_value_init (¶mv[n], G_TYPE_VARIANT); 552s # g_value_set_variant (¶mv[n], child); 552s # n++; 552s # } 552s # else 552s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 552s # g_variant_unref (child); 552s # } 552s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 552s # g_signal_emitv (paramv, signal_id, 0, NULL); 552s # for (n = 0; n < num_params + 1; n++) 552s # g_value_unset (¶mv[n]); 552s # g_free (paramv); 552s # } 552s # 552s # static void 552s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 552s # GVariant *changed_properties, 552s # const gchar *const *invalidated_properties) 552s # { 552s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 552s # guint n; 552s # const gchar *key; 552s # GVariantIter *iter; 552s # _ExtendedGDBusPropertyInfo *info; 552s # g_variant_get (changed_properties, "a{sv}", &iter); 552s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 552s # { 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 552s # g_datalist_remove_data (&proxy->priv->qdata, key); 552s # if (info != NULL) 552s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 552s # } 552s # g_variant_iter_free (iter); 552s # for (n = 0; invalidated_properties[n] != NULL; n++) 552s # { 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 552s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 552s # if (info != NULL) 552s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 552s # } 552s # } 552s # 552s # static GVariant * 552s # good_types_proxy_get_good_property_type (GoodTypes *object) 552s # { 552s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 552s # GVariant *variant; 552s # GVariant *value = NULL; 552s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 552s # value = variant; 552s # if (variant != NULL) 552s # g_variant_unref (variant); 552s # return value; 552s # } 552s # 552s # static void 552s # good_types_proxy_init (GoodTypesProxy *proxy) 552s # { 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # proxy->priv = good_types_proxy_get_instance_private (proxy); 552s # #else 552s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 552s # #endif 552s # 552s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 552s # } 552s # 552s # static void 552s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 552s # { 552s # GObjectClass *gobject_class; 552s # GDBusProxyClass *proxy_class; 552s # 552s # gobject_class = G_OBJECT_CLASS (klass); 552s # gobject_class->finalize = good_types_proxy_finalize; 552s # gobject_class->get_property = good_types_proxy_get_property; 552s # gobject_class->set_property = good_types_proxy_set_property; 552s # 552s # proxy_class = G_DBUS_PROXY_CLASS (klass); 552s # proxy_class->g_signal = good_types_proxy_g_signal; 552s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 552s # 552s # good_types_override_properties (gobject_class, 1); 552s # 552s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 552s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 552s # #endif 552s # } 552s # 552s # static void 552s # good_types_proxy_iface_init (GoodTypesIface *iface) 552s # { 552s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 552s # } 552s # 552s # /** 552s # * good_types_proxy_new: 552s # * @connection: A #GDBusConnection. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 552s # * @user_data: User data to pass to @callback. 552s # * 552s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 552s # * 552s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 552s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 552s # * 552s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 552s # */ 552s # void 552s # good_types_proxy_new ( 552s # GDBusConnection *connection, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GAsyncReadyCallback callback, 552s # gpointer user_data) 552s # { 552s # g_async_initable_new_async (TYPE_GOOD_TYPES_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 552s # } 552s # 552s # /** 552s # * good_types_proxy_new_finish: 552s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 552s # * @error: Return location for error or %NULL 552s # * 552s # * Finishes an operation started with good_types_proxy_new(). 552s # * 552s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # GoodTypes * 552s # good_types_proxy_new_finish ( 552s # GAsyncResult *res, 552s # GError **error) 552s # { 552s # GObject *ret; 552s # GObject *source_object; 552s # source_object = g_async_result_get_source_object (res); 552s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 552s # g_object_unref (source_object); 552s # if (ret != NULL) 552s # return GOOD_TYPES (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # /** 552s # * good_types_proxy_new_sync: 552s # * @connection: A #GDBusConnection. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @error: Return location for error or %NULL 552s # * 552s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 552s # * 552s # * The calling thread is blocked until a reply is received. 552s # * 552s # * See good_types_proxy_new() for the asynchronous version of this constructor. 552s # * 552s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # GoodTypes * 552s # good_types_proxy_new_sync ( 552s # GDBusConnection *connection, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GError **error) 552s # { 552s # GInitable *ret; 552s # ret = g_initable_new (TYPE_GOOD_TYPES_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 552s # if (ret != NULL) 552s # return GOOD_TYPES (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # 552s # /** 552s # * good_types_proxy_new_for_bus: 552s # * @bus_type: A #GBusType. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: A bus name (well-known or unique). 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 552s # * @user_data: User data to pass to @callback. 552s # * 552s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 552s # * 552s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 552s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 552s # * 552s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 552s # */ 552s # void 552s # good_types_proxy_new_for_bus ( 552s # GBusType bus_type, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GAsyncReadyCallback callback, 552s # gpointer user_data) 552s # { 552s # g_async_initable_new_async (TYPE_GOOD_TYPES_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 552s # } 552s # 552s # /** 552s # * good_types_proxy_new_for_bus_finish: 552s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 552s # * @error: Return location for error or %NULL 552s # * 552s # * Finishes an operation started with good_types_proxy_new_for_bus(). 552s # * 552s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # GoodTypes * 552s # good_types_proxy_new_for_bus_finish ( 552s # GAsyncResult *res, 552s # GError **error) 552s # { 552s # GObject *ret; 552s # GObject *source_object; 552s # source_object = g_async_result_get_source_object (res); 552s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 552s # g_object_unref (source_object); 552s # if (ret != NULL) 552s # return GOOD_TYPES (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # /** 552s # * good_types_proxy_new_for_bus_sync: 552s # * @bus_type: A #GBusType. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: A bus name (well-known or unique). 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @error: Return location for error or %NULL 552s # * 552s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 552s # * 552s # * The calling thread is blocked until a reply is received. 552s # * 552s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 552s # * 552s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # GoodTypes * 552s # good_types_proxy_new_for_bus_sync ( 552s # GBusType bus_type, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GError **error) 552s # { 552s # GInitable *ret; 552s # ret = g_initable_new (TYPE_GOOD_TYPES_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 552s # if (ret != NULL) 552s # return GOOD_TYPES (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # 552s # /* ------------------------------------------------------------------------ */ 552s # 552s # /** 552s # * GoodTypesSkeleton: 552s # * 552s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 552s # */ 552s # 552s # /** 552s # * GoodTypesSkeletonClass: 552s # * @parent_class: The parent class. 552s # * 552s # * Class structure for GoodTypesSkeleton. 552s # */ 552s # 552s # struct _GoodTypesSkeletonPrivate 552s # { 552s # GValue *properties; 552s # GList *changed_properties; 552s # GSource *changed_properties_idle_source; 552s # GMainContext *context; 552s # GMutex lock; 552s # }; 552s # 552s # static void 552s # _good_types_skeleton_handle_method_call ( 552s # GDBusConnection *connection G_GNUC_UNUSED, 552s # const gchar *sender G_GNUC_UNUSED, 552s # const gchar *object_path G_GNUC_UNUSED, 552s # const gchar *interface_name, 552s # const gchar *method_name, 552s # GVariant *parameters, 552s # GDBusMethodInvocation *invocation, 552s # gpointer user_data) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 552s # _ExtendedGDBusMethodInfo *info; 552s # GVariantIter iter; 552s # GVariant *child; 552s # GValue *paramv; 552s # gsize num_params; 552s # guint num_extra; 552s # gsize n; 552s # guint signal_id; 552s # GValue return_value = G_VALUE_INIT; 552s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 552s # g_assert (info != NULL); 552s # num_params = g_variant_n_children (parameters); 552s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 552s # n = 0; 552s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 552s # g_value_set_object (¶mv[n++], skeleton); 552s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 552s # g_value_set_object (¶mv[n++], invocation); 552s # if (info->pass_fdlist) 552s # { 552s # #ifdef G_OS_UNIX 552s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 552s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 552s # #else 552s # g_assert_not_reached (); 552s # #endif 552s # } 552s # g_variant_iter_init (&iter, parameters); 552s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 552s # { 552s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 552s # if (arg_info->use_gvariant) 552s # { 552s # g_value_init (¶mv[n], G_TYPE_VARIANT); 552s # g_value_set_variant (¶mv[n], child); 552s # n++; 552s # } 552s # else 552s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 552s # g_variant_unref (child); 552s # } 552s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 552s # g_value_init (&return_value, G_TYPE_BOOLEAN); 552s # g_signal_emitv (paramv, signal_id, 0, &return_value); 552s # if (!g_value_get_boolean (&return_value)) 552s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 552s # g_value_unset (&return_value); 552s # for (n = 0; n < num_params + num_extra; n++) 552s # g_value_unset (¶mv[n]); 552s # g_free (paramv); 552s # } 552s # 552s # static GVariant * 552s # _good_types_skeleton_handle_get_property ( 552s # GDBusConnection *connection G_GNUC_UNUSED, 552s # const gchar *sender G_GNUC_UNUSED, 552s # const gchar *object_path G_GNUC_UNUSED, 552s # const gchar *interface_name G_GNUC_UNUSED, 552s # const gchar *property_name, 552s # GError **error, 552s # gpointer user_data) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 552s # GValue value = G_VALUE_INIT; 552s # GParamSpec *pspec; 552s # _ExtendedGDBusPropertyInfo *info; 552s # GVariant *ret; 552s # ret = NULL; 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 552s # g_assert (info != NULL); 552s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 552s # if (pspec == NULL) 552s # { 552s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 552s # } 552s # else 552s # { 552s # g_value_init (&value, pspec->value_type); 552s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 552s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 552s # g_value_unset (&value); 552s # } 552s # return ret; 552s # } 552s # 552s # static gboolean 552s # _good_types_skeleton_handle_set_property ( 552s # GDBusConnection *connection G_GNUC_UNUSED, 552s # const gchar *sender G_GNUC_UNUSED, 552s # const gchar *object_path G_GNUC_UNUSED, 552s # const gchar *interface_name G_GNUC_UNUSED, 552s # const gchar *property_name, 552s # GVariant *variant, 552s # GError **error, 552s # gpointer user_data) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 552s # GValue value = G_VALUE_INIT; 552s # GParamSpec *pspec; 552s # _ExtendedGDBusPropertyInfo *info; 552s # gboolean ret; 552s # ret = FALSE; 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 552s # g_assert (info != NULL); 552s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 552s # if (pspec == NULL) 552s # { 552s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 552s # } 552s # else 552s # { 552s # if (info->use_gvariant) 552s # g_value_set_variant (&value, variant); 552s # else 552s # g_dbus_gvariant_to_gvalue (variant, &value); 552s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 552s # g_value_unset (&value); 552s # ret = TRUE; 552s # } 552s # return ret; 552s # } 552s # 552s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 552s # { 552s # _good_types_skeleton_handle_method_call, 552s # _good_types_skeleton_handle_get_property, 552s # _good_types_skeleton_handle_set_property, 552s # {NULL} 552s # }; 552s # 552s # static GDBusInterfaceInfo * 552s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 552s # { 552s # return good_types_interface_info (); 552s # } 552s # 552s # static GDBusInterfaceVTable * 552s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 552s # { 552s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 552s # } 552s # 552s # static GVariant * 552s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 552s # 552s # GVariantBuilder builder; 552s # guint n; 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 552s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 552s # #else 552s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 552s # #endif 552s # if (_good_types_interface_info.parent_struct.properties == NULL) 552s # goto out; 552s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 552s # { 552s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 552s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 552s # { 552s # GVariant *value; 552s # value = _good_types_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "GoodTypes", info->name, NULL, skeleton); 552s # if (value != NULL) 552s # { 552s # g_variant_take_ref (value); 552s # g_variant_builder_add (&builder, "{sv}", info->name, value); 552s # g_variant_unref (value); 552s # } 552s # } 552s # } 552s # out: 552s # return g_variant_builder_end (&builder); 552s # } 552s # 552s # static gboolean _good_types_emit_changed (gpointer user_data); 552s # 552s # static void 552s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 552s # gboolean emit_changed = FALSE; 552s # 552s # g_mutex_lock (&skeleton->priv->lock); 552s # if (skeleton->priv->changed_properties_idle_source != NULL) 552s # { 552s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 552s # skeleton->priv->changed_properties_idle_source = NULL; 552s # emit_changed = TRUE; 552s # } 552s # g_mutex_unlock (&skeleton->priv->lock); 552s # 552s # if (emit_changed) 552s # _good_types_emit_changed (skeleton); 552s # } 552s # 552s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 552s # G_ADD_PRIVATE (GoodTypesSkeleton) 552s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 552s # 552s # #else 552s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 552s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 552s # 552s # #endif 552s # static void 552s # good_types_skeleton_finalize (GObject *object) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 552s # guint n; 552s # for (n = 0; n < 1; n++) 552s # g_value_unset (&skeleton->priv->properties[n]); 552s # g_free (skeleton->priv->properties); 552s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 552s # if (skeleton->priv->changed_properties_idle_source != NULL) 552s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 552s # g_main_context_unref (skeleton->priv->context); 552s # g_mutex_clear (&skeleton->priv->lock); 552s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 552s # } 552s # 552s # static void 552s # good_types_skeleton_get_property (GObject *object, 552s # guint prop_id, 552s # GValue *value, 552s # GParamSpec *pspec G_GNUC_UNUSED) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 552s # g_assert (prop_id != 0 && prop_id - 1 < 1); 552s # g_mutex_lock (&skeleton->priv->lock); 552s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 552s # g_mutex_unlock (&skeleton->priv->lock); 552s # } 552s # 552s # static gboolean 552s # _good_types_emit_changed (gpointer user_data) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 552s # GList *l; 552s # GVariantBuilder builder; 552s # GVariantBuilder invalidated_builder; 552s # guint num_changes; 552s # 552s # g_mutex_lock (&skeleton->priv->lock); 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 552s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 552s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 552s # #else 552s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 552s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 552s # #endif 552s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 552s # { 552s # ChangedProperty *cp = l->data; 552s # GVariant *variant; 552s # const GValue *cur_value; 552s # 552s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 552s # if (!_g_value_equal (cur_value, &cp->orig_value)) 552s # { 552s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 552s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 552s # g_variant_unref (variant); 552s # num_changes++; 552s # } 552s # } 552s # if (num_changes > 0) 552s # { 552s # GList *connections, *ll; 552s # GVariant *signal_variant; 552s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 552s # &builder, &invalidated_builder)); 552s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 552s # for (ll = connections; ll != NULL; ll = ll->next) 552s # { 552s # GDBusConnection *connection = ll->data; 552s # 552s # g_dbus_connection_emit_signal (connection, 552s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 552s # "org.freedesktop.DBus.Properties", 552s # "PropertiesChanged", 552s # signal_variant, 552s # NULL); 552s # } 552s # g_variant_unref (signal_variant); 552s # g_list_free_full (connections, g_object_unref); 552s # } 552s # else 552s # { 552s # g_variant_builder_clear (&builder); 552s # g_variant_builder_clear (&invalidated_builder); 552s # } 552s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 552s # skeleton->priv->changed_properties = NULL; 552s # skeleton->priv->changed_properties_idle_source = NULL; 552s # g_mutex_unlock (&skeleton->priv->lock); 552s # return FALSE; 552s # } 552s # 552s # static void 552s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 552s # { 552s # ChangedProperty *cp; 552s # GList *l; 552s # cp = NULL; 552s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 552s # { 552s # ChangedProperty *i_cp = l->data; 552s # if (i_cp->info == info) 552s # { 552s # cp = i_cp; 552s # break; 552s # } 552s # } 552s # if (cp == NULL) 552s # { 552s # cp = g_new0 (ChangedProperty, 1); 552s # cp->prop_id = prop_id; 552s # cp->info = info; 552s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 552s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 552s # g_value_copy (orig_value, &cp->orig_value); 552s # } 552s # } 552s # 552s # static void 552s # good_types_skeleton_notify (GObject *object, 552s # GParamSpec *pspec G_GNUC_UNUSED) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 552s # g_mutex_lock (&skeleton->priv->lock); 552s # if (skeleton->priv->changed_properties != NULL && 552s # skeleton->priv->changed_properties_idle_source == NULL) 552s # { 552s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 552s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 552s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 552s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 552s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 552s # g_source_unref (skeleton->priv->changed_properties_idle_source); 552s # } 552s # g_mutex_unlock (&skeleton->priv->lock); 552s # } 552s # 552s # static void 552s # good_types_skeleton_set_property (GObject *object, 552s # guint prop_id, 552s # const GValue *value, 552s # GParamSpec *pspec) 552s # { 552s # const _ExtendedGDBusPropertyInfo *info; 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 552s # g_assert (prop_id != 0 && prop_id - 1 < 1); 552s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 552s # g_mutex_lock (&skeleton->priv->lock); 552s # g_object_freeze_notify (object); 552s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 552s # { 552s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 552s # info->emits_changed_signal) 552s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 552s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 552s # g_object_notify_by_pspec (object, pspec); 552s # } 552s # g_mutex_unlock (&skeleton->priv->lock); 552s # g_object_thaw_notify (object); 552s # } 552s # 552s # static void 552s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 552s # { 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 552s # #else 552s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 552s # #endif 552s # 552s # g_mutex_init (&skeleton->priv->lock); 552s # skeleton->priv->context = g_main_context_ref_thread_default (); 552s # skeleton->priv->properties = g_new0 (GValue, 1); 552s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 552s # } 552s # 552s # static GVariant * 552s # good_types_skeleton_get_good_property_type (GoodTypes *object) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 552s # GVariant *value; 552s # g_mutex_lock (&skeleton->priv->lock); 552s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 552s # g_mutex_unlock (&skeleton->priv->lock); 552s # return value; 552s # } 552s # 552s # static void 552s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 552s # { 552s # GObjectClass *gobject_class; 552s # GDBusInterfaceSkeletonClass *skeleton_class; 552s # 552s # gobject_class = G_OBJECT_CLASS (klass); 552s # gobject_class->finalize = good_types_skeleton_finalize; 552s # gobject_class->get_property = good_types_skeleton_get_property; 552s # gobject_class->set_property = good_types_skeleton_set_property; 552s # gobject_class->notify = good_types_skeleton_notify; 552s # 552s # 552s # good_types_override_properties (gobject_class, 1); 552s # 552s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 552s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 552s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 552s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 552s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 552s # 552s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 552s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 552s # #endif 552s # } 552s # 552s # static void 552s # good_types_skeleton_iface_init (GoodTypesIface *iface) 552s # { 552s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 552s # } 552s # 552s # /** 552s # * good_types_skeleton_new: 552s # * 552s # * Creates a skeleton object for the D-Bus interface GoodTypes. 552s # * 552s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 552s # */ 552s # GoodTypes * 552s # good_types_skeleton_new (void) 552s # { 552s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 552s # } 552s # Error: 552s # 552s # /tmp/tmpyme2kjwt/tmpfr_13drn.xml: 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyme2kjwt/tmpfr_13drn.xml', '--output', '-', '--body'] 552s # Return code: 0 552s # Output: 552s # /* 552s # * This file is generated by gdbus-codegen, do not modify it. 552s # * 552s # * The license of this code is the same as for the D-Bus interface description 552s # * it was derived from. Note that it links to GLib, so must comply with the 552s # * LGPL linking clauses. 552s # */ 552s # 552s # #ifdef HAVE_CONFIG_H 552s # # include "config.h" 552s # #endif 552s # 552s # #include 552s # #ifdef G_OS_UNIX 552s # # include 552s # #endif 552s # 552s # #ifdef G_ENABLE_DEBUG 552s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 552s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 552s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 552s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 552s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 552s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 552s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 552s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 552s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 552s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 552s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 552s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 552s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 552s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 552s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 552s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 552s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 552s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 552s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 552s # #else /* !G_ENABLE_DEBUG */ 552s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 552s # * Do not access GValues directly in your code. Instead, use the 552s # * g_value_get_*() functions 552s # */ 552s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 552s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 552s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 552s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 552s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 552s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 552s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 552s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 552s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 552s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 552s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 552s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 552s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 552s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 552s # #endif /* !G_ENABLE_DEBUG */ 552s # 552s # typedef struct 552s # { 552s # GDBusArgInfo parent_struct; 552s # gboolean use_gvariant; 552s # } _ExtendedGDBusArgInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusMethodInfo parent_struct; 552s # const gchar *signal_name; 552s # gboolean pass_fdlist; 552s # } _ExtendedGDBusMethodInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusSignalInfo parent_struct; 552s # const gchar *signal_name; 552s # } _ExtendedGDBusSignalInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusPropertyInfo parent_struct; 552s # const gchar *hyphen_name; 552s # guint use_gvariant : 1; 552s # guint emits_changed_signal : 1; 552s # } _ExtendedGDBusPropertyInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusInterfaceInfo parent_struct; 552s # const gchar *hyphen_name; 552s # } _ExtendedGDBusInterfaceInfo; 552s # 552s # typedef struct 552s # { 552s # const _ExtendedGDBusPropertyInfo *info; 552s # guint prop_id; 552s # GValue orig_value; /* the value before the change */ 552s # } ChangedProperty; 552s # 552s # static void 552s # _changed_property_free (ChangedProperty *data) 552s # { 552s # g_value_unset (&data->orig_value); 552s # g_free (data); 552s # } 552s # 552s # static gboolean 552s # _g_strv_equal0 (gchar **a, gchar **b) 552s # { 552s # gboolean ret = FALSE; 552s # guint n; 552s # if (a == NULL && b == NULL) 552s # { 552s # ret = TRUE; 552s # goto out; 552s # } 552s # if (a == NULL || b == NULL) 552s # goto out; 552s # if (g_strv_length (a) != g_strv_length (b)) 552s # goto out; 552s # for (n = 0; a[n] != NULL; n++) 552s # if (g_strcmp0 (a[n], b[n]) != 0) 552s # goto out; 552s # ret = TRUE; 552s # out: 552s # return ret; 552s # } 552s # 552s # static gboolean 552s # _g_variant_equal0 (GVariant *a, GVariant *b) 552s # { 552s # gboolean ret = FALSE; 552s # if (a == NULL && b == NULL) 552s # { 552s # ret = TRUE; 552s # goto out; 552s # } 552s # if (a == NULL || b == NULL) 552s # goto out; 552s # ret = g_variant_equal (a, b); 552s # out: 552s # return ret; 552s # } 552s # 552s # G_GNUC_UNUSED static gboolean 552s # _g_value_equal (const GValue *a, const GValue *b) 552s # { 552s # gboolean ret = FALSE; 552s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 552s # switch (G_VALUE_TYPE (a)) 552s # { 552s # case G_TYPE_BOOLEAN: 552s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 552s # break; 552s # case G_TYPE_UCHAR: 552s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 552s # break; 552s # case G_TYPE_INT: 552s # ret = (g_value_get_int (a) == g_value_get_int (b)); 552s # break; 552s # case G_TYPE_UINT: 552s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 552s # break; 552s # case G_TYPE_INT64: 552s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 552s # break; 552s # case G_TYPE_UINT64: 552s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 552s # break; 552s # case G_TYPE_DOUBLE: 552s # { 552s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 552s # gdouble da = g_value_get_double (a); 552s # gdouble db = g_value_get_double (b); 552s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 552s # } 552s # break; 552s # case G_TYPE_STRING: 552s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 552s # break; 552s # case G_TYPE_VARIANT: 552s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 552s # break; 552s # default: 552s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 552s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 552s # else 552s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 552s # break; 552s # } 552s # return ret; 552s # } 552s # 552s # /* ------------------------------------------------------------------------ 552s # * Code for interface GoodTypes 552s # * ------------------------------------------------------------------------ 552s # */ 552s # 552s # /** 552s # * SECTION:GoodTypes 552s # * @title: GoodTypes 552s # * @short_description: Generated C code for the GoodTypes D-Bus interface 552s # * 552s # * This section contains code for working with the GoodTypes D-Bus interface in C. 552s # */ 552s # 552s # /* ---- Introspection data for GoodTypes ---- */ 552s # 552s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 552s # { 552s # { 552s # -1, 552s # (gchar *) "GoodPropertyType", 552s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 552s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 552s # NULL 552s # }, 552s # "good-property-type", 552s # FALSE, 552s # TRUE 552s # }; 552s # 552s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 552s # { 552s # &_good_types_property_info_good_property_type.parent_struct, 552s # NULL 552s # }; 552s # 552s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 552s # { 552s # { 552s # -1, 552s # (gchar *) "GoodTypes", 552s # NULL, 552s # NULL, 552s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 552s # NULL 552s # }, 552s # "good-types", 552s # }; 552s # 552s # 552s # /** 552s # * good_types_interface_info: 552s # * 552s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 552s # * 552s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 552s # */ 552s # GDBusInterfaceInfo * 552s # good_types_interface_info (void) 552s # { 552s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 552s # } 552s # 552s # /** 552s # * good_types_override_properties: 552s # * @klass: The class structure for a #GObject derived class. 552s # * @property_id_begin: The property id to assign to the first overridden property. 552s # * 552s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 552s # * The properties are overridden in the order they are defined. 552s # * 552s # * Returns: The last property id. 552s # */ 552s # guint 552s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 552s # { 552s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 552s # return property_id_begin - 1; 552s # } 552s # 552s # 552s # 552s # /** 552s # * GoodTypes: 552s # * 552s # * Abstract interface type for the D-Bus interface GoodTypes. 552s # */ 552s # 552s # /** 552s # * GoodTypesIface: 552s # * @parent_iface: The parent interface. 552s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 552s # * 552s # * Virtual table for the D-Bus interface GoodTypes. 552s # */ 552s # 552s # typedef GoodTypesIface GoodTypesInterface; 552s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 552s # 552s # static void 552s # good_types_default_init (GoodTypesIface *iface) 552s # { 552s # /* GObject properties for D-Bus properties: */ 552s # /** 552s # * GoodTypes:good-property-type: 552s # * 552s # * Represents the D-Bus property "GoodPropertyType". 552s # * 552s # * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side. 552s # */ 552s # g_object_interface_install_property (iface, 552s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 552s # } 552s # 552s # /** 552s # * good_types_get_good_property_type: (skip) 552s # * @object: A GoodTypes. 552s # * 552s # * Gets the value of the "GoodPropertyType" D-Bus property. 552s # * 552s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 552s # * 552s # * The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use good_types_dup_good_property_type() if on another thread. 552s # * 552s # * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. 552s # */ 552s # GVariant * 552s # good_types_get_good_property_type (GoodTypes *object) 552s # { 552s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 552s # 552s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 552s # } 552s # 552s # /** 552s # * good_types_dup_good_property_type: (skip) 552s # * @object: A GoodTypes. 552s # * 552s # * Gets a copy of the "GoodPropertyType" D-Bus property. 552s # * 552s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 552s # * 552s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). 552s # */ 552s # GVariant * 552s # good_types_dup_good_property_type (GoodTypes *object) 552s # { 552s # GVariant *value; 552s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 552s # return value; 552s # } 552s # 552s # /** 552s # * good_types_set_good_property_type: (skip) 552s # * @object: A GoodTypes. 552s # * @value: The value to set. 552s # * 552s # * Sets the "GoodPropertyType" D-Bus property to @value. 552s # * 552s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 552s # */ 552s # void 552s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 552s # { 552s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 552s # } 552s # 552s # /* ------------------------------------------------------------------------ */ 552s # 552s # /** 552s # * GoodTypesProxy: 552s # * 552s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 552s # */ 552s # 552s # /** 552s # * GoodTypesProxyClass: 552s # * @parent_class: The parent class. 552s # * 552s # * Class structure for GoodTypesProxy. 552s # */ 552s # 552s # struct _GoodTypesProxyPrivate 552s # { 552s # GData *qdata; 552s # }; 552s # 552s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 552s # 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 552s # G_ADD_PRIVATE (GoodTypesProxy) 552s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 552s # 552s # #else 552s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 552s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 552s # 552s # #endif 552s # static void 552s # good_types_proxy_finalize (GObject *object) 552s # { 552s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 552s # g_datalist_clear (&proxy->priv->qdata); 552s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 552s # } 552s # 552s # static void 552s # good_types_proxy_get_property (GObject *object, 552s # guint prop_id, 552s # GValue *value, 552s # GParamSpec *pspec G_GNUC_UNUSED) 552s # { 552s # const _ExtendedGDBusPropertyInfo *info; 552s # GVariant *variant; 552s # g_assert (prop_id != 0 && prop_id - 1 < 1); 552s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 552s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 552s # if (info->use_gvariant) 552s # { 552s # g_value_set_variant (value, variant); 552s # } 552s # else 552s # { 552s # if (variant != NULL) 552s # g_dbus_gvariant_to_gvalue (variant, value); 552s # } 552s # if (variant != NULL) 552s # g_variant_unref (variant); 552s # } 552s # 552s # static void 552s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 552s # GAsyncResult *res, 552s # gpointer user_data) 552s # { 552s # const _ExtendedGDBusPropertyInfo *info = user_data; 552s # GError *error; 552s # GVariant *_ret; 552s # error = NULL; 552s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 552s # if (!_ret) 552s # { 552s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 552s # info->parent_struct.name, 552s # error->message, g_quark_to_string (error->domain), error->code); 552s # g_error_free (error); 552s # } 552s # else 552s # { 552s # g_variant_unref (_ret); 552s # } 552s # } 552s # 552s # static void 552s # good_types_proxy_set_property (GObject *object, 552s # guint prop_id, 552s # const GValue *value, 552s # GParamSpec *pspec G_GNUC_UNUSED) 552s # { 552s # const _ExtendedGDBusPropertyInfo *info; 552s # GVariant *variant; 552s # g_assert (prop_id != 0 && prop_id - 1 < 1); 552s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 552s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 552s # g_dbus_proxy_call (G_DBUS_PROXY (object), 552s # "org.freedesktop.DBus.Properties.Set", 552s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 552s # G_DBUS_CALL_FLAGS_NONE, 552s # -1, 552s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 552s # g_variant_unref (variant); 552s # } 552s # 552s # static void 552s # good_types_proxy_g_signal (GDBusProxy *proxy, 552s # const gchar *sender_name G_GNUC_UNUSED, 552s # const gchar *signal_name, 552s # GVariant *parameters) 552s # { 552s # _ExtendedGDBusSignalInfo *info; 552s # GVariantIter iter; 552s # GVariant *child; 552s # GValue *paramv; 552s # gsize num_params; 552s # gsize n; 552s # guint signal_id; 552s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 552s # if (info == NULL) 552s # return; 552s # num_params = g_variant_n_children (parameters); 552s # paramv = g_new0 (GValue, num_params + 1); 552s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 552s # g_value_set_object (¶mv[0], proxy); 552s # g_variant_iter_init (&iter, parameters); 552s # n = 1; 552s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 552s # { 552s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 552s # if (arg_info->use_gvariant) 552s # { 552s # g_value_init (¶mv[n], G_TYPE_VARIANT); 552s # g_value_set_variant (¶mv[n], child); 552s # n++; 552s # } 552s # else 552s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 552s # g_variant_unref (child); 552s # } 552s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 552s # g_signal_emitv (paramv, signal_id, 0, NULL); 552s # for (n = 0; n < num_params + 1; n++) 552s # g_value_unset (¶mv[n]); 552s # g_free (paramv); 552s # } 552s # 552s # static void 552s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 552s # GVariant *changed_properties, 552s # const gchar *const *invalidated_properties) 552s # { 552s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 552s # guint n; 552s # const gchar *key; 552s # GVariantIter *iter; 552s # _ExtendedGDBusPropertyInfo *info; 552s # g_variant_get (changed_properties, "a{sv}", &iter); 552s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 552s # { 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 552s # g_datalist_remove_data (&proxy->priv->qdata, key); 552s # if (info != NULL) 552s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 552s # } 552s # g_variant_iter_free (iter); 552s # for (n = 0; invalidated_properties[n] != NULL; n++) 552s # { 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 552s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 552s # if (info != NULL) 552s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 552s # } 552s # } 552s # 552s # static GVariant * 552s # good_types_proxy_get_good_property_type (GoodTypes *object) 552s # { 552s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 552s # GVariant *variant; 552s # GVariant *value = NULL; 552s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 552s # value = variant; 552s # if (variant != NULL) 552s # g_variant_unref (variant); 552s # return value; 552s # } 552s # 552s # static void 552s # good_types_proxy_init (GoodTypesProxy *proxy) 552s # { 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # proxy->priv = good_types_proxy_get_instance_private (proxy); 552s # #else 552s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 552s # #endif 552s # 552s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 552s # } 552s # 552s # static void 552s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 552s # { 552s # GObjectClass *gobject_class; 552s # GDBusProxyClass *proxy_class; 552s # 552s # gobject_class = G_OBJECT_CLASS (klass); 552s # gobject_class->finalize = good_types_proxy_finalize; 552s # gobject_class->get_property = good_types_proxy_get_property; 552s # gobject_class->set_property = good_types_proxy_set_property; 552s # 552s # proxy_class = G_DBUS_PROXY_CLASS (klass); 552s # proxy_class->g_signal = good_types_proxy_g_signal; 552s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 552s # 552s # good_types_override_properties (gobject_class, 1); 552s # 552s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 552s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 552s # #endif 552s # } 552s # 552s # static void 552s # good_types_proxy_iface_init (GoodTypesIface *iface) 552s # { 552s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 552s # } 552s # 552s # /** 552s # * good_types_proxy_new: 552s # * @connection: A #GDBusConnection. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 552s # * @user_data: User data to pass to @callback. 552s # * 552s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 552s # * 552s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 552s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 552s # * 552s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 552s # */ 552s # void 552s # good_types_proxy_new ( 552s # GDBusConnection *connection, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GAsyncReadyCallback callback, 552s # gpointer user_data) 552s # { 552s # g_async_initable_new_async (TYPE_GOOD_TYPES_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 552s # } 552s # 552s # /** 552s # * good_types_proxy_new_finish: 552s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 552s # * @error: Return location for error or %NULL 552s # * 552s # * Finishes an operation started with good_types_proxy_new(). 552s # * 552s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # GoodTypes * 552s # good_types_proxy_new_finish ( 552s # GAsyncResult *res, 552s # GError **error) 552s # { 552s # GObject *ret; 552s # GObject *source_object; 552s # source_object = g_async_result_get_source_object (res); 552s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 552s # g_object_unref (source_object); 552s # if (ret != NULL) 552s # return GOOD_TYPES (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # /** 552s # * good_types_proxy_new_sync: 552s # * @connection: A #GDBusConnection. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @error: Return location for error or %NULL 552s # * 552s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 552s # * 552s # * The calling thread is blocked until a reply is received. 552s # * 552s # * See good_types_proxy_new() for the asynchronous version of this constructor. 552s # * 552s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # GoodTypes * 552s # good_types_proxy_new_sync ( 552s # GDBusConnection *connection, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GError **error) 552s # { 552s # GInitable *ret; 552s # ret = g_initable_new (TYPE_GOOD_TYPES_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 552s # if (ret != NULL) 552s # return GOOD_TYPES (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # 552s # /** 552s # * good_types_proxy_new_for_bus: 552s # * @bus_type: A #GBusType. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: A bus name (well-known or unique). 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 552s # * @user_data: User data to pass to @callback. 552s # * 552s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 552s # * 552s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 552s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 552s # * 552s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 552s # */ 552s # void 552s # good_types_proxy_new_for_bus ( 552s # GBusType bus_type, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GAsyncReadyCallback callback, 552s # gpointer user_data) 552s # { 552s # g_async_initable_new_async (TYPE_GOOD_TYPES_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 552s # } 552s # 552s # /** 552s # * good_types_proxy_new_for_bus_finish: 552s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 552s # * @error: Return location for error or %NULL 552s # * 552s # * Finishes an operation started with good_types_proxy_new_for_bus(). 552s # * 552s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # GoodTypes * 552s # good_types_proxy_new_for_bus_finish ( 552s # GAsyncResult *res, 552s # GError **error) 552s # { 552s # GObject *ret; 552s # GObject *source_object; 552s # source_object = g_async_result_get_source_object (res); 552s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 552s # g_object_unref (source_object); 552s # if (ret != NULL) 552s # return GOOD_TYPES (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # /** 552s # * good_types_proxy_new_for_bus_sync: 552s # * @bus_type: A #GBusType. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: A bus name (well-known or unique). 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @error: Return location for error or %NULL 552s # * 552s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 552s # * 552s # * The calling thread is blocked until a reply is received. 552s # * 552s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 552s # * 552s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # GoodTypes * 552s # good_types_proxy_new_for_bus_sync ( 552s # GBusType bus_type, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GError **error) 552s # { 552s # GInitable *ret; 552s # ret = g_initable_new (TYPE_GOOD_TYPES_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 552s # if (ret != NULL) 552s # return GOOD_TYPES (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # 552s # /* ------------------------------------------------------------------------ */ 552s # 552s # /** 552s # * GoodTypesSkeleton: 552s # * 552s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 552s # */ 552s # 552s # /** 552s # * GoodTypesSkeletonClass: 552s # * @parent_class: The parent class. 552s # * 552s # * Class structure for GoodTypesSkeleton. 552s # */ 552s # 552s # struct _GoodTypesSkeletonPrivate 552s # { 552s # GValue *properties; 552s # GList *changed_properties; 552s # GSource *changed_properties_idle_source; 552s # GMainContext *context; 552s # GMutex lock; 552s # }; 552s # 552s # static void 552s # _good_types_skeleton_handle_method_call ( 552s # GDBusConnection *connection G_GNUC_UNUSED, 552s # const gchar *sender G_GNUC_UNUSED, 552s # const gchar *object_path G_GNUC_UNUSED, 552s # const gchar *interface_name, 552s # const gchar *method_name, 552s # GVariant *parameters, 552s # GDBusMethodInvocation *invocation, 552s # gpointer user_data) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 552s # _ExtendedGDBusMethodInfo *info; 552s # GVariantIter iter; 552s # GVariant *child; 552s # GValue *paramv; 552s # gsize num_params; 552s # guint num_extra; 552s # gsize n; 552s # guint signal_id; 552s # GValue return_value = G_VALUE_INIT; 552s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 552s # g_assert (info != NULL); 552s # num_params = g_variant_n_children (parameters); 552s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 552s # n = 0; 552s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 552s # g_value_set_object (¶mv[n++], skeleton); 552s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 552s # g_value_set_object (¶mv[n++], invocation); 552s # if (info->pass_fdlist) 552s # { 552s # #ifdef G_OS_UNIX 552s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 552s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 552s # #else 552s # g_assert_not_reached (); 552s # #endif 552s # } 552s # g_variant_iter_init (&iter, parameters); 552s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 552s # { 552s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 552s # if (arg_info->use_gvariant) 552s # { 552s # g_value_init (¶mv[n], G_TYPE_VARIANT); 552s # g_value_set_variant (¶mv[n], child); 552s # n++; 552s # } 552s # else 552s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 552s # g_variant_unref (child); 552s # } 552s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 552s # g_value_init (&return_value, G_TYPE_BOOLEAN); 552s # g_signal_emitv (paramv, signal_id, 0, &return_value); 552s # if (!g_value_get_boolean (&return_value)) 552s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 552s # g_value_unset (&return_value); 552s # for (n = 0; n < num_params + num_extra; n++) 552s # g_value_unset (¶mv[n]); 552s # g_free (paramv); 552s # } 552s # 552s # static GVariant * 552s # _good_types_skeleton_handle_get_property ( 552s # GDBusConnection *connection G_GNUC_UNUSED, 552s # const gchar *sender G_GNUC_UNUSED, 552s # const gchar *object_path G_GNUC_UNUSED, 552s # const gchar *interface_name G_GNUC_UNUSED, 552s # const gchar *property_name, 552s # GError **error, 552s # gpointer user_data) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 552s # GValue value = G_VALUE_INIT; 552s # GParamSpec *pspec; 552s # _ExtendedGDBusPropertyInfo *info; 552s # GVariant *ret; 552s # ret = NULL; 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 552s # g_assert (info != NULL); 552s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 552s # if (pspec == NULL) 552s # { 552s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 552s # } 552s # else 552s # { 552s # g_value_init (&value, pspec->value_type); 552s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 552s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 552s # g_value_unset (&value); 552s # } 552s # return ret; 552s # } 552s # 552s # static gboolean 552s # _good_types_skeleton_handle_set_property ( 552s # GDBusConnection *connection G_GNUC_UNUSED, 552s # const gchar *sender G_GNUC_UNUSED, 552s # const gchar *object_path G_GNUC_UNUSED, 552s # const gchar *interface_name G_GNUC_UNUSED, 552s # const gchar *property_name, 552s # GVariant *variant, 552s # GError **error, 552s # gpointer user_data) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 552s # GValue value = G_VALUE_INIT; 552s # GParamSpec *pspec; 552s # _ExtendedGDBusPropertyInfo *info; 552s # gboolean ret; 552s # ret = FALSE; 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 552s # g_assert (info != NULL); 552s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 552s # if (pspec == NULL) 552s # { 552s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 552s # } 552s # else 552s # { 552s # if (info->use_gvariant) 552s # g_value_set_variant (&value, variant); 552s # else 552s # g_dbus_gvariant_to_gvalue (variant, &value); 552s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 552s # g_value_unset (&value); 552s # ret = TRUE; 552s # } 552s # return ret; 552s # } 552s # 552s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 552s # { 552s # _good_types_skeleton_handle_method_call, 552s # _good_types_skeleton_handle_get_property, 552s # _good_types_skeleton_handle_set_property, 552s # {NULL} 552s # }; 552s # 552s # static GDBusInterfaceInfo * 552s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 552s # { 552s # return good_types_interface_info (); 552s # } 552s # 552s # static GDBusInterfaceVTable * 552s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 552s # { 552s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 552s # } 552s # 552s # static GVariant * 552s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 552s # 552s # GVariantBuilder builder; 552s # guint n; 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 552s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 552s # #else 552s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 552s # #endif 552s # if (_good_types_interface_info.parent_struct.properties == NULL) 552s # goto out; 552s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 552s # { 552s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 552s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 552s # { 552s # GVariant *value; 552s # value = _good_types_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "GoodTypes", info->name, NULL, skeleton); 552s # if (value != NULL) 552s # { 552s # g_variant_take_ref (value); 552s # g_variant_builder_add (&builder, "{sv}", info->name, value); 552s # g_variant_unref (value); 552s # } 552s # } 552s # } 552s # out: 552s # return g_variant_builder_end (&builder); 552s # } 552s # 552s # static gboolean _good_types_emit_changed (gpointer user_data); 552s # 552s # static void 552s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 552s # gboolean emit_changed = FALSE; 552s # 552s # g_mutex_lock (&skeleton->priv->lock); 552s # if (skeleton->priv->changed_properties_idle_source != NULL) 552s # { 552s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 552s # skeleton->priv->changed_properties_idle_source = NULL; 552s # emit_changed = TRUE; 552s # } 552s # g_mutex_unlock (&skeleton->priv->lock); 552s # 552s # if (emit_changed) 552s # _good_types_emit_changed (skeleton); 552s # } 552s # 552s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 552s # G_ADD_PRIVATE (GoodTypesSkeleton) 552s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 552s # 552s # #else 552s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 552s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 552s # 552s # #endif 552s # static void 552s # good_types_skeleton_finalize (GObject *object) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 552s # guint n; 552s # for (n = 0; n < 1; n++) 552s # g_value_unset (&skeleton->priv->properties[n]); 552s # g_free (skeleton->priv->properties); 552s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 552s # if (skeleton->priv->changed_properties_idle_source != NULL) 552s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 552s # g_main_context_unref (skeleton->priv->context); 552s # g_mutex_clear (&skeleton->priv->lock); 552s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 552s # } 552s # 552s # static void 552s # good_types_skeleton_get_property (GObject *object, 552s # guint prop_id, 552s # GValue *value, 552s # GParamSpec *pspec G_GNUC_UNUSED) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 552s # g_assert (prop_id != 0 && prop_id - 1 < 1); 552s # g_mutex_lock (&skeleton->priv->lock); 552s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 552s # g_mutex_unlock (&skeleton->priv->lock); 552s # } 552s # 552s # static gboolean 552s # _good_types_emit_changed (gpointer user_data) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 552s # GList *l; 552s # GVariantBuilder builder; 552s # GVariantBuilder invalidated_builder; 552s # guint num_changes; 552s # 552s # g_mutex_lock (&skeleton->priv->lock); 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 552s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 552s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 552s # #else 552s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 552s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 552s # #endif 552s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 552s # { 552s # ChangedProperty *cp = l->data; 552s # GVariant *variant; 552s # const GValue *cur_value; 552s # 552s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 552s # if (!_g_value_equal (cur_value, &cp->orig_value)) 552s # { 552s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 552s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 552s # g_variant_unref (variant); 552s # num_changes++; 552s # } 552s # } 552s # if (num_changes > 0) 552s # { 552s # GList *connections, *ll; 552s # GVariant *signal_variant; 552s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 552s # &builder, &invalidated_builder)); 552s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 552s # for (ll = connections; ll != NULL; ll = ll->next) 552s # { 552s # GDBusConnection *connection = ll->data; 552s # 552s # g_dbus_connection_emit_signal (connection, 552s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 552s # "org.freedesktop.DBus.Properties", 552s # "PropertiesChanged", 552s # signal_variant, 552s # NULL); 552s # } 552s # g_variant_unref (signal_variant); 552s # g_list_free_full (connections, g_object_unref); 552s # } 552s # else 552s # { 552s # g_variant_builder_clear (&builder); 552s # g_variant_builder_clear (&invalidated_builder); 552s # } 552s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 552s # skeleton->priv->changed_properties = NULL; 552s # skeleton->priv->changed_properties_idle_source = NULL; 552s # g_mutex_unlock (&skeleton->priv->lock); 552s # return FALSE; 552s # } 552s # 552s # static void 552s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 552s # { 552s # ChangedProperty *cp; 552s # GList *l; 552s # cp = NULL; 552s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 552s # { 552s # ChangedProperty *i_cp = l->data; 552s # if (i_cp->info == info) 552s # { 552s # cp = i_cp; 552s # break; 552s # } 552s # } 552s # if (cp == NULL) 552s # { 552s # cp = g_new0 (ChangedProperty, 1); 552s # cp->prop_id = prop_id; 552s # cp->info = info; 552s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 552s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 552s # g_value_copy (orig_value, &cp->orig_value); 552s # } 552s # } 552s # 552s # static void 552s # good_types_skeleton_notify (GObject *object, 552s # GParamSpec *pspec G_GNUC_UNUSED) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 552s # g_mutex_lock (&skeleton->priv->lock); 552s # if (skeleton->priv->changed_properties != NULL && 552s # skeleton->priv->changed_properties_idle_source == NULL) 552s # { 552s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 552s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 552s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 552s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 552s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 552s # g_source_unref (skeleton->priv->changed_properties_idle_source); 552s # } 552s # g_mutex_unlock (&skeleton->priv->lock); 552s # } 552s # 552s # static void 552s # good_types_skeleton_set_property (GObject *object, 552s # guint prop_id, 552s # const GValue *value, 552s # GParamSpec *pspec) 552s # { 552s # const _ExtendedGDBusPropertyInfo *info; 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 552s # g_assert (prop_id != 0 && prop_id - 1 < 1); 552s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 552s # g_mutex_lock (&skeleton->priv->lock); 552s # g_object_freeze_notify (object); 552s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 552s # { 552s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 552s # info->emits_changed_signal) 552s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 552s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 552s # g_object_notify_by_pspec (object, pspec); 552s # } 552s # g_mutex_unlock (&skeleton->priv->lock); 552s # g_object_thaw_notify (object); 552s # } 552s # 552s # static void 552s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 552s # { 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 552s # #else 552s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 552s # #endif 552s # 552s # g_mutex_init (&skeleton->priv->lock); 552s # skeleton->priv->context = g_main_context_ref_thread_default (); 552s # skeleton->priv->properties = g_new0 (GValue, 1); 552s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 552s # } 552s # 552s # static GVariant * 552s # good_types_skeleton_get_good_property_type (GoodTypes *object) 552s # { 552s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 552s # GVariant *value; 552s # g_mutex_lock (&skeleton->priv->lock); 552s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 552s # g_mutex_unlock (&skeleton->priv->lock); 552s # return value; 552s # } 552s # 552s # static void 552s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 552s # { 552s # GObjectClass *gobject_class; 552s # GDBusInterfaceSkeletonClass *skeleton_class; 552s # 552s # gobject_class = G_OBJECT_CLASS (klass); 552s # gobject_class->finalize = good_types_skeleton_finalize; 552s # gobject_class->get_property = good_types_skeleton_get_property; 552s # gobject_class->set_property = good_types_skeleton_set_property; 552s # gobject_class->notify = good_types_skeleton_notify; 552s # 552s # 552s # good_types_override_properties (gobject_class, 1); 552s # 552s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 552s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 552s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 552s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 552s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 552s # 552s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 552s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 552s # #endif 552s # } 552s # 552s # static void 552s # good_types_skeleton_iface_init (GoodTypesIface *iface) 552s # { 552s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 552s # } 552s # 552s # /** 552s # * good_types_skeleton_new: 552s # * 552s # * Creates a skeleton object for the D-Bus interface GoodTypes. 552s # * 552s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 552s # */ 552s # GoodTypes * 552s # good_types_skeleton_new (void) 552s # { 552s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 552s # } 552s # Error: 552s ok 3 __main__.TestCodegen.test_empty_interface_body 552s # gdbus-codegen: /usr/bin/gdbus-codegen 552s # tmpdir: /tmp/tmpgfqfwgiw 552s # /tmp/tmpgfqfwgiw/tmpo0ys7lj9.xml: 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfqfwgiw/tmpo0ys7lj9.xml', '--output', '-', '--body'] 552s # Return code: 0 552s # Output: 552s # /* 552s # * This file is generated by gdbus-codegen, do not modify it. 552s # * 552s # * The license of this code is the same as for the D-Bus interface description 552s # * it was derived from. Note that it links to GLib, so must comply with the 552s # * LGPL linking clauses. 552s # */ 552s # 552s # #ifdef HAVE_CONFIG_H 552s # # include "config.h" 552s # #endif 552s # 552s # #include 552s # #ifdef G_OS_UNIX 552s # # include 552s # #endif 552s # 552s # #ifdef G_ENABLE_DEBUG 552s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 552s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 552s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 552s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 552s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 552s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 552s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 552s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 552s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 552s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 552s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 552s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 552s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 552s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 552s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 552s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 552s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 552s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 552s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 552s # #else /* !G_ENABLE_DEBUG */ 552s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 552s # * Do not access GValues directly in your code. Instead, use the 552s # * g_value_get_*() functions 552s # */ 552s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 552s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 552s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 552s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 552s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 552s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 552s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 552s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 552s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 552s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 552s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 552s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 552s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 552s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 552s # #endif /* !G_ENABLE_DEBUG */ 552s # 552s # typedef struct 552s # { 552s # GDBusArgInfo parent_struct; 552s # gboolean use_gvariant; 552s # } _ExtendedGDBusArgInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusMethodInfo parent_struct; 552s # const gchar *signal_name; 552s # gboolean pass_fdlist; 552s # } _ExtendedGDBusMethodInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusSignalInfo parent_struct; 552s # const gchar *signal_name; 552s # } _ExtendedGDBusSignalInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusPropertyInfo parent_struct; 552s # const gchar *hyphen_name; 552s # guint use_gvariant : 1; 552s # guint emits_changed_signal : 1; 552s # } _ExtendedGDBusPropertyInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusInterfaceInfo parent_struct; 552s # const gchar *hyphen_name; 552s # } _ExtendedGDBusInterfaceInfo; 552s # 552s # typedef struct 552s # { 552s # const _ExtendedGDBusPropertyInfo *info; 552s # guint prop_id; 552s # GValue orig_value; /* the value before the change */ 552s # } ChangedProperty; 552s # 552s # static void 552s # _changed_property_free (ChangedProperty *data) 552s # { 552s # g_value_unset (&data->orig_value); 552s # g_free (data); 552s # } 552s # 552s # static gboolean 552s # _g_strv_equal0 (gchar **a, gchar **b) 552s # { 552s # gboolean ret = FALSE; 552s # guint n; 552s # if (a == NULL && b == NULL) 552s # { 552s # ret = TRUE; 552s # goto out; 552s # } 552s # if (a == NULL || b == NULL) 552s # goto out; 552s # if (g_strv_length (a) != g_strv_length (b)) 552s # goto out; 552s # for (n = 0; a[n] != NULL; n++) 552s # if (g_strcmp0 (a[n], b[n]) != 0) 552s # goto out; 552s # ret = TRUE; 552s # out: 552s # return ret; 552s # } 552s # 552s # static gboolean 552s # _g_variant_equal0 (GVariant *a, GVariant *b) 552s # { 552s # gboolean ret = FALSE; 552s # if (a == NULL && b == NULL) 552s # { 552s # ret = TRUE; 552s # goto out; 552s # } 552s # if (a == NULL || b == NULL) 552s # goto out; 552s # ret = g_variant_equal (a, b); 552s # out: 552s # return ret; 552s # } 552s # 552s # G_GNUC_UNUSED static gboolean 552s # _g_value_equal (const GValue *a, const GValue *b) 552s # { 552s # gboolean ret = FALSE; 552s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 552s # switch (G_VALUE_TYPE (a)) 552s # { 552s # case G_TYPE_BOOLEAN: 552s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 552s # break; 552s # case G_TYPE_UCHAR: 552s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 552s # break; 552s # case G_TYPE_INT: 552s # ret = (g_value_get_int (a) == g_value_get_int (b)); 552s # break; 552s # case G_TYPE_UINT: 552s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 552s # break; 552s # case G_TYPE_INT64: 552s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 552s # break; 552s # case G_TYPE_UINT64: 552s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 552s # break; 552s # case G_TYPE_DOUBLE: 552s # { 552s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 552s # gdouble da = g_value_get_double (a); 552s # gdouble db = g_value_get_double (b); 552s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 552s # } 552s # break; 552s # case G_TYPE_STRING: 552s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 552s # break; 552s # case G_TYPE_VARIANT: 552s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 552s # break; 552s # default: 552s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 552s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 552s # else 552s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 552s # break; 552s # } 552s # return ret; 552s # } 552s # Error: 552s ok 4 __main__.TestCodegen.test_empty_interface_header 552s # gdbus-codegen: /usr/bin/gdbus-codegen 552s # tmpdir: /tmp/tmp3dfzf9mh 552s # /tmp/tmp3dfzf9mh/tmpnp3l436k.xml: 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3dfzf9mh/tmpnp3l436k.xml', '--output', '-', '--header'] 552s # Return code: 0 552s # Output: 552s # /* 552s # * This file is generated by gdbus-codegen, do not modify it. 552s # * 552s # * The license of this code is the same as for the D-Bus interface description 552s # * it was derived from. Note that it links to GLib, so must comply with the 552s # * LGPL linking clauses. 552s # */ 552s # 552s # #ifndef __STDOUT__ 552s # #define __STDOUT__ 552s # 552s # #include 552s # 552s # G_BEGIN_DECLS 552s # 552s # 552s # G_END_DECLS 552s # 552s # #endif /* __STDOUT__ */ 552s # Error: 552s ok 5 __main__.TestCodegen.test_empty_interface_info_body 552s # gdbus-codegen: /usr/bin/gdbus-codegen 552s # tmpdir: /tmp/tmp9fdinvtl 552s # /tmp/tmp9fdinvtl/tmpg1tbmvo7.xml: 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9fdinvtl/tmpg1tbmvo7.xml', '--output', '-', '--interface-info-body'] 552s # Return code: 0 552s # Output: 552s # /* 552s # * This file is generated by gdbus-codegen, do not modify it. 552s # * 552s # * The license of this code is the same as for the D-Bus interface description 552s # * it was derived from. Note that it links to GLib, so must comply with the 552s # * LGPL linking clauses. 552s # */ 552s # 552s # #ifdef HAVE_CONFIG_H 552s # # include "config.h" 552s # #endif 552s # 552s # #include 552s # Error: 552s ok 6 __main__.TestCodegen.test_empty_interface_info_header 552s # gdbus-codegen: /usr/bin/gdbus-codegen 552s # tmpdir: /tmp/tmpz1losta2 552s # /tmp/tmpz1losta2/tmp_1vs74ei.xml: 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz1losta2/tmp_1vs74ei.xml', '--output', '-', '--interface-info-header'] 552s # Return code: 0 552s # Output: 552s # /* 552s # * This file is generated by gdbus-codegen, do not modify it. 552s # * 552s # * The license of this code is the same as for the D-Bus interface description 552s # * it was derived from. Note that it links to GLib, so must comply with the 552s # * LGPL linking clauses. 552s # */ 552s # 552s # #ifndef __STDOUT__ 552s # #define __STDOUT__ 552s # 552s # #include 552s # 552s # G_BEGIN_DECLS 552s # 552s # 552s # G_END_DECLS 552s # 552s # #endif /* __STDOUT__ */ 552s # Error: 552s ok 7 __main__.TestCodegen.test_generate_docbook 552s # gdbus-codegen: /usr/bin/gdbus-codegen 552s # tmpdir: /tmp/tmpnxwj2y01 552s # /tmp/tmpnxwj2y01/tmpsa45ugmk.xml: 552s # 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnxwj2y01/tmpsa45ugmk.xml', '--generate-docbook', 'test'] 552s # Return code: 0 552s # Output: 552s # 552s # Error: 552s ok 8 __main__.TestCodegen.test_generate_md 552s # gdbus-codegen: /usr/bin/gdbus-codegen 552s # tmpdir: /tmp/tmpztwg3ed8 552s # /tmp/tmpztwg3ed8/tmpafv946ns.xml: 552s # 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpztwg3ed8/tmpafv946ns.xml', '--generate-md', 'test'] 552s # Return code: 0 552s # Output: 552s # 552s # Error: 552s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 552s # gdbus-codegen: /usr/bin/gdbus-codegen 552s # tmpdir: /tmp/tmp5kyk9qmp 552s # /tmp/tmp5kyk9qmp/tmp05s2g57h.xml: 552s # 552s # 552s # 552s # 552s # 552s # 552s # 552s # 552s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5kyk9qmp/tmp05s2g57h.xml', '--output', '-', '--body'] 552s # Return code: 0 552s # Output: 552s # /* 552s # * This file is generated by gdbus-codegen, do not modify it. 552s # * 552s # * The license of this code is the same as for the D-Bus interface description 552s # * it was derived from. Note that it links to GLib, so must comply with the 552s # * LGPL linking clauses. 552s # */ 552s # 552s # #ifdef HAVE_CONFIG_H 552s # # include "config.h" 552s # #endif 552s # 552s # #include 552s # #ifdef G_OS_UNIX 552s # # include 552s # #endif 552s # 552s # #ifdef G_ENABLE_DEBUG 552s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 552s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 552s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 552s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 552s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 552s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 552s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 552s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 552s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 552s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 552s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 552s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 552s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 552s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 552s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 552s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 552s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 552s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 552s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 552s # #else /* !G_ENABLE_DEBUG */ 552s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 552s # * Do not access GValues directly in your code. Instead, use the 552s # * g_value_get_*() functions 552s # */ 552s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 552s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 552s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 552s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 552s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 552s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 552s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 552s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 552s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 552s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 552s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 552s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 552s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 552s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 552s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 552s # #endif /* !G_ENABLE_DEBUG */ 552s # 552s # typedef struct 552s # { 552s # GDBusArgInfo parent_struct; 552s # gboolean use_gvariant; 552s # } _ExtendedGDBusArgInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusMethodInfo parent_struct; 552s # const gchar *signal_name; 552s # gboolean pass_fdlist; 552s # } _ExtendedGDBusMethodInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusSignalInfo parent_struct; 552s # const gchar *signal_name; 552s # } _ExtendedGDBusSignalInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusPropertyInfo parent_struct; 552s # const gchar *hyphen_name; 552s # guint use_gvariant : 1; 552s # guint emits_changed_signal : 1; 552s # } _ExtendedGDBusPropertyInfo; 552s # 552s # typedef struct 552s # { 552s # GDBusInterfaceInfo parent_struct; 552s # const gchar *hyphen_name; 552s # } _ExtendedGDBusInterfaceInfo; 552s # 552s # typedef struct 552s # { 552s # const _ExtendedGDBusPropertyInfo *info; 552s # guint prop_id; 552s # GValue orig_value; /* the value before the change */ 552s # } ChangedProperty; 552s # 552s # static void 552s # _changed_property_free (ChangedProperty *data) 552s # { 552s # g_value_unset (&data->orig_value); 552s # g_free (data); 552s # } 552s # 552s # static gboolean 552s # _g_strv_equal0 (gchar **a, gchar **b) 552s # { 552s # gboolean ret = FALSE; 552s # guint n; 552s # if (a == NULL && b == NULL) 552s # { 552s # ret = TRUE; 552s # goto out; 552s # } 552s # if (a == NULL || b == NULL) 552s # goto out; 552s # if (g_strv_length (a) != g_strv_length (b)) 552s # goto out; 552s # for (n = 0; a[n] != NULL; n++) 552s # if (g_strcmp0 (a[n], b[n]) != 0) 552s # goto out; 552s # ret = TRUE; 552s # out: 552s # return ret; 552s # } 552s # 552s # static gboolean 552s # _g_variant_equal0 (GVariant *a, GVariant *b) 552s # { 552s # gboolean ret = FALSE; 552s # if (a == NULL && b == NULL) 552s # { 552s # ret = TRUE; 552s # goto out; 552s # } 552s # if (a == NULL || b == NULL) 552s # goto out; 552s # ret = g_variant_equal (a, b); 552s # out: 552s # return ret; 552s # } 552s # 552s # G_GNUC_UNUSED static gboolean 552s # _g_value_equal (const GValue *a, const GValue *b) 552s # { 552s # gboolean ret = FALSE; 552s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 552s # switch (G_VALUE_TYPE (a)) 552s # { 552s # case G_TYPE_BOOLEAN: 552s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 552s # break; 552s # case G_TYPE_UCHAR: 552s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 552s # break; 552s # case G_TYPE_INT: 552s # ret = (g_value_get_int (a) == g_value_get_int (b)); 552s # break; 552s # case G_TYPE_UINT: 552s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 552s # break; 552s # case G_TYPE_INT64: 552s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 552s # break; 552s # case G_TYPE_UINT64: 552s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 552s # break; 552s # case G_TYPE_DOUBLE: 552s # { 552s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 552s # gdouble da = g_value_get_double (a); 552s # gdouble db = g_value_get_double (b); 552s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 552s # } 552s # break; 552s # case G_TYPE_STRING: 552s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 552s # break; 552s # case G_TYPE_VARIANT: 552s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 552s # break; 552s # default: 552s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 552s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 552s # else 552s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 552s # break; 552s # } 552s # return ret; 552s # } 552s # 552s # static void 552s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 552s # GClosure *closure, 552s # GValue *return_value, 552s # unsigned int n_param_values, 552s # const GValue *param_values, 552s # void *invocation_hint G_GNUC_UNUSED, 552s # void *marshal_data) 552s # { 552s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 552s # (void *data1, 552s # GDBusMethodInvocation *arg_method_invocation, 552s # void *data2); 552s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 552s # GCClosure *cc = (GCClosure*) closure; 552s # void *data1, *data2; 552s # gboolean v_return; 552s # 552s # g_return_if_fail (return_value != NULL); 552s # g_return_if_fail (n_param_values == 2); 552s # 552s # if (G_CCLOSURE_SWAP_DATA (closure)) 552s # { 552s # data1 = closure->data; 552s # data2 = g_value_peek_pointer (param_values + 0); 552s # } 552s # else 552s # { 552s # data1 = g_value_peek_pointer (param_values + 0); 552s # data2 = closure->data; 552s # } 552s # 552s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 552s # (marshal_data ? marshal_data : cc->callback); 552s # 552s # v_return = 552s # callback (data1, 552s # g_marshal_value_peek_object (param_values + 1), 552s # data2); 552s # 552s # g_value_set_boolean (return_value, v_return); 552s # } 552s # 552s # /* ------------------------------------------------------------------------ 552s # * Code for interface org.project.CallableIface 552s # * ------------------------------------------------------------------------ 552s # */ 552s # 552s # /** 552s # * SECTION:OrgProjectCallableIface 552s # * @title: OrgProjectCallableIface 552s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 552s # * 552s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 552s # */ 552s # 552s # /* ---- Introspection data for org.project.CallableIface ---- */ 552s # 552s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 552s # { 552s # { 552s # -1, 552s # (gchar *) "SimpleMethod", 552s # NULL, 552s # NULL, 552s # NULL 552s # }, 552s # "handle-simple-method", 552s # FALSE 552s # }; 552s # 552s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 552s # { 552s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 552s # NULL 552s # }; 552s # 552s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 552s # { 552s # { 552s # -1, 552s # (gchar *) "org.project.CallableIface", 552s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 552s # NULL, 552s # NULL, 552s # NULL 552s # }, 552s # "org-project-callable-iface", 552s # }; 552s # 552s # 552s # /** 552s # * org_project_callable_iface_interface_info: 552s # * 552s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 552s # * 552s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 552s # */ 552s # GDBusInterfaceInfo * 552s # org_project_callable_iface_interface_info (void) 552s # { 552s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 552s # } 552s # 552s # /** 552s # * org_project_callable_iface_override_properties: 552s # * @klass: The class structure for a #GObject derived class. 552s # * @property_id_begin: The property id to assign to the first overridden property. 552s # * 552s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 552s # * The properties are overridden in the order they are defined. 552s # * 552s # * Returns: The last property id. 552s # */ 552s # guint 552s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 552s # { 552s # return property_id_begin - 1; 552s # } 552s # 552s # 552s # inline static void 552s # org_project_callable_iface_method_marshal_simple_method ( 552s # GClosure *closure, 552s # GValue *return_value, 552s # unsigned int n_param_values, 552s # const GValue *param_values, 552s # void *invocation_hint, 552s # void *marshal_data) 552s # { 552s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 552s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 552s # } 552s # 552s # 552s # /** 552s # * OrgProjectCallableIface: 552s # * 552s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 552s # */ 552s # 552s # /** 552s # * OrgProjectCallableIfaceIface: 552s # * @parent_iface: The parent interface. 552s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 552s # * 552s # * Virtual table for the D-Bus interface org.project.CallableIface. 552s # */ 552s # 552s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 552s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 552s # 552s # static void 552s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 552s # { 552s # /* GObject signals for incoming D-Bus method calls: */ 552s # /** 552s # * OrgProjectCallableIface::handle-simple-method: 552s # * @object: A #OrgProjectCallableIface. 552s # * @invocation: A #GDBusMethodInvocation. 552s # * 552s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 552s # * 552s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_callable_iface_complete_simple_method() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 552s # * 552s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 552s # */ 552s # g_signal_new ("handle-simple-method", 552s # G_TYPE_FROM_INTERFACE (iface), 552s # G_SIGNAL_RUN_LAST, 552s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 552s # g_signal_accumulator_true_handled, 552s # NULL, 552s # org_project_callable_iface_method_marshal_simple_method, 552s # G_TYPE_BOOLEAN, 552s # 1, 552s # G_TYPE_DBUS_METHOD_INVOCATION); 552s # 552s # } 552s # 552s # /** 552s # * org_project_callable_iface_call_simple_method: 552s # * @proxy: A #OrgProjectCallableIfaceProxy. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 552s # * @user_data: User data to pass to @callback. 552s # * 552s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 552s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 552s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 552s # * 552s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 552s # */ 552s # void 552s # org_project_callable_iface_call_simple_method ( 552s # OrgProjectCallableIface *proxy, 552s # GCancellable *cancellable, 552s # GAsyncReadyCallback callback, 552s # gpointer user_data) 552s # { 552s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 552s # "SimpleMethod", 552s # g_variant_new ("()"), 552s # G_DBUS_CALL_FLAGS_NONE, 552s # -1, 552s # cancellable, 552s # callback, 552s # user_data); 552s # } 552s # 552s # /** 552s # * org_project_callable_iface_call_simple_method_finish: 552s # * @proxy: A #OrgProjectCallableIfaceProxy. 552s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 552s # * @error: Return location for error or %NULL. 552s # * 552s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 552s # * 552s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 552s # */ 552s # gboolean 552s # org_project_callable_iface_call_simple_method_finish ( 552s # OrgProjectCallableIface *proxy, 552s # GAsyncResult *res, 552s # GError **error) 552s # { 552s # GVariant *_ret; 552s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 552s # if (_ret == NULL) 552s # goto _out; 552s # g_variant_get (_ret, 552s # "()"); 552s # g_variant_unref (_ret); 552s # _out: 552s # return _ret != NULL; 552s # } 552s # 552s # /** 552s # * org_project_callable_iface_call_simple_method_sync: 552s # * @proxy: A #OrgProjectCallableIfaceProxy. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @error: Return location for error or %NULL. 552s # * 552s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 552s # * 552s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 552s # * 552s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 552s # */ 552s # gboolean 552s # org_project_callable_iface_call_simple_method_sync ( 552s # OrgProjectCallableIface *proxy, 552s # GCancellable *cancellable, 552s # GError **error) 552s # { 552s # GVariant *_ret; 552s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 552s # "SimpleMethod", 552s # g_variant_new ("()"), 552s # G_DBUS_CALL_FLAGS_NONE, 552s # -1, 552s # cancellable, 552s # error); 552s # if (_ret == NULL) 552s # goto _out; 552s # g_variant_get (_ret, 552s # "()"); 552s # g_variant_unref (_ret); 552s # _out: 552s # return _ret != NULL; 552s # } 552s # 552s # /** 552s # * org_project_callable_iface_complete_simple_method: 552s # * @object: A #OrgProjectCallableIface. 552s # * @invocation: (transfer full): A #GDBusMethodInvocation. 552s # * 552s # * Helper function used in service implementations to finish handling invocations of the SimpleMethod() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 552s # * 552s # * This method will free @invocation, you cannot use it afterwards. 552s # */ 552s # void 552s # org_project_callable_iface_complete_simple_method ( 552s # OrgProjectCallableIface *object G_GNUC_UNUSED, 552s # GDBusMethodInvocation *invocation) 552s # { 552s # g_dbus_method_invocation_return_value (invocation, 552s # g_variant_new ("()")); 552s # } 552s # 552s # /* ------------------------------------------------------------------------ */ 552s # 552s # /** 552s # * OrgProjectCallableIfaceProxy: 552s # * 552s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 552s # */ 552s # 552s # /** 552s # * OrgProjectCallableIfaceProxyClass: 552s # * @parent_class: The parent class. 552s # * 552s # * Class structure for #OrgProjectCallableIfaceProxy. 552s # */ 552s # 552s # struct _OrgProjectCallableIfaceProxyPrivate 552s # { 552s # GData *qdata; 552s # }; 552s # 552s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 552s # 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 552s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 552s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 552s # 552s # #else 552s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 552s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 552s # 552s # #endif 552s # static void 552s # org_project_callable_iface_proxy_finalize (GObject *object) 552s # { 552s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 552s # g_datalist_clear (&proxy->priv->qdata); 552s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 552s # } 552s # 552s # static void 552s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 552s # guint prop_id G_GNUC_UNUSED, 552s # GValue *value G_GNUC_UNUSED, 552s # GParamSpec *pspec G_GNUC_UNUSED) 552s # { 552s # } 552s # 552s # static void 552s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 552s # guint prop_id G_GNUC_UNUSED, 552s # const GValue *value G_GNUC_UNUSED, 552s # GParamSpec *pspec G_GNUC_UNUSED) 552s # { 552s # } 552s # 552s # static void 552s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 552s # const gchar *sender_name G_GNUC_UNUSED, 552s # const gchar *signal_name, 552s # GVariant *parameters) 552s # { 552s # _ExtendedGDBusSignalInfo *info; 552s # GVariantIter iter; 552s # GVariant *child; 552s # GValue *paramv; 552s # gsize num_params; 552s # gsize n; 552s # guint signal_id; 552s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 552s # if (info == NULL) 552s # return; 552s # num_params = g_variant_n_children (parameters); 552s # paramv = g_new0 (GValue, num_params + 1); 552s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 552s # g_value_set_object (¶mv[0], proxy); 552s # g_variant_iter_init (&iter, parameters); 552s # n = 1; 552s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 552s # { 552s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 552s # if (arg_info->use_gvariant) 552s # { 552s # g_value_init (¶mv[n], G_TYPE_VARIANT); 552s # g_value_set_variant (¶mv[n], child); 552s # n++; 552s # } 552s # else 552s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 552s # g_variant_unref (child); 552s # } 552s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 552s # g_signal_emitv (paramv, signal_id, 0, NULL); 552s # for (n = 0; n < num_params + 1; n++) 552s # g_value_unset (¶mv[n]); 552s # g_free (paramv); 552s # } 552s # 552s # static void 552s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 552s # GVariant *changed_properties, 552s # const gchar *const *invalidated_properties) 552s # { 552s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 552s # guint n; 552s # const gchar *key; 552s # GVariantIter *iter; 552s # _ExtendedGDBusPropertyInfo *info; 552s # g_variant_get (changed_properties, "a{sv}", &iter); 552s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 552s # { 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 552s # g_datalist_remove_data (&proxy->priv->qdata, key); 552s # if (info != NULL) 552s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 552s # } 552s # g_variant_iter_free (iter); 552s # for (n = 0; invalidated_properties[n] != NULL; n++) 552s # { 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 552s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 552s # if (info != NULL) 552s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 552s # } 552s # } 552s # 552s # static void 552s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 552s # { 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 552s # #else 552s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 552s # #endif 552s # 552s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 552s # } 552s # 552s # static void 552s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 552s # { 552s # GObjectClass *gobject_class; 552s # GDBusProxyClass *proxy_class; 552s # 552s # gobject_class = G_OBJECT_CLASS (klass); 552s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 552s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 552s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 552s # 552s # proxy_class = G_DBUS_PROXY_CLASS (klass); 552s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 552s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 552s # 552s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 552s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 552s # #endif 552s # } 552s # 552s # static void 552s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 552s # { 552s # } 552s # 552s # /** 552s # * org_project_callable_iface_proxy_new: 552s # * @connection: A #GDBusConnection. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 552s # * @user_data: User data to pass to @callback. 552s # * 552s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 552s # * 552s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 552s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 552s # * 552s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 552s # */ 552s # void 552s # org_project_callable_iface_proxy_new ( 552s # GDBusConnection *connection, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GAsyncReadyCallback callback, 552s # gpointer user_data) 552s # { 552s # g_async_initable_new_async (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 552s # } 552s # 552s # /** 552s # * org_project_callable_iface_proxy_new_finish: 552s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 552s # * @error: Return location for error or %NULL 552s # * 552s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 552s # * 552s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # OrgProjectCallableIface * 552s # org_project_callable_iface_proxy_new_finish ( 552s # GAsyncResult *res, 552s # GError **error) 552s # { 552s # GObject *ret; 552s # GObject *source_object; 552s # source_object = g_async_result_get_source_object (res); 552s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 552s # g_object_unref (source_object); 552s # if (ret != NULL) 552s # return ORG_PROJECT_CALLABLE_IFACE (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # /** 552s # * org_project_callable_iface_proxy_new_sync: 552s # * @connection: A #GDBusConnection. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @error: Return location for error or %NULL 552s # * 552s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 552s # * 552s # * The calling thread is blocked until a reply is received. 552s # * 552s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 552s # * 552s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # OrgProjectCallableIface * 552s # org_project_callable_iface_proxy_new_sync ( 552s # GDBusConnection *connection, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GError **error) 552s # { 552s # GInitable *ret; 552s # ret = g_initable_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 552s # if (ret != NULL) 552s # return ORG_PROJECT_CALLABLE_IFACE (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # 552s # /** 552s # * org_project_callable_iface_proxy_new_for_bus: 552s # * @bus_type: A #GBusType. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: A bus name (well-known or unique). 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 552s # * @user_data: User data to pass to @callback. 552s # * 552s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 552s # * 552s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 552s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 552s # * 552s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 552s # */ 552s # void 552s # org_project_callable_iface_proxy_new_for_bus ( 552s # GBusType bus_type, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GAsyncReadyCallback callback, 552s # gpointer user_data) 552s # { 552s # g_async_initable_new_async (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 552s # } 552s # 552s # /** 552s # * org_project_callable_iface_proxy_new_for_bus_finish: 552s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 552s # * @error: Return location for error or %NULL 552s # * 552s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 552s # * 552s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # OrgProjectCallableIface * 552s # org_project_callable_iface_proxy_new_for_bus_finish ( 552s # GAsyncResult *res, 552s # GError **error) 552s # { 552s # GObject *ret; 552s # GObject *source_object; 552s # source_object = g_async_result_get_source_object (res); 552s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 552s # g_object_unref (source_object); 552s # if (ret != NULL) 552s # return ORG_PROJECT_CALLABLE_IFACE (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # /** 552s # * org_project_callable_iface_proxy_new_for_bus_sync: 552s # * @bus_type: A #GBusType. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: A bus name (well-known or unique). 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @error: Return location for error or %NULL 552s # * 552s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 552s # * 552s # * The calling thread is blocked until a reply is received. 552s # * 552s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 552s # * 552s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # OrgProjectCallableIface * 552s # org_project_callable_iface_proxy_new_for_bus_sync ( 552s # GBusType bus_type, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GError **error) 552s # { 552s # GInitable *ret; 552s # ret = g_initable_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 552s # if (ret != NULL) 552s # return ORG_PROJECT_CALLABLE_IFACE (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # 552s # /* ------------------------------------------------------------------------ */ 552s # 552s # /** 552s # * OrgProjectCallableIfaceSkeleton: 552s # * 552s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 552s # */ 552s # 552s # /** 552s # * OrgProjectCallableIfaceSkeletonClass: 552s # * @parent_class: The parent class. 552s # * 552s # * Class structure for #OrgProjectCallableIfaceSkeleton. 552s # */ 552s # 552s # struct _OrgProjectCallableIfaceSkeletonPrivate 552s # { 552s # GValue *properties; 552s # GList *changed_properties; 552s # GSource *changed_properties_idle_source; 552s # GMainContext *context; 552s # GMutex lock; 552s # }; 552s # 552s # static void 552s # _org_project_callable_iface_skeleton_handle_method_call ( 552s # GDBusConnection *connection G_GNUC_UNUSED, 552s # const gchar *sender G_GNUC_UNUSED, 552s # const gchar *object_path G_GNUC_UNUSED, 552s # const gchar *interface_name, 552s # const gchar *method_name, 552s # GVariant *parameters, 552s # GDBusMethodInvocation *invocation, 552s # gpointer user_data) 552s # { 552s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 552s # _ExtendedGDBusMethodInfo *info; 552s # GVariantIter iter; 552s # GVariant *child; 552s # GValue *paramv; 552s # gsize num_params; 552s # guint num_extra; 552s # gsize n; 552s # guint signal_id; 552s # GValue return_value = G_VALUE_INIT; 552s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 552s # g_assert (info != NULL); 552s # num_params = g_variant_n_children (parameters); 552s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 552s # n = 0; 552s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 552s # g_value_set_object (¶mv[n++], skeleton); 552s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 552s # g_value_set_object (¶mv[n++], invocation); 552s # if (info->pass_fdlist) 552s # { 552s # #ifdef G_OS_UNIX 552s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 552s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 552s # #else 552s # g_assert_not_reached (); 552s # #endif 552s # } 552s # g_variant_iter_init (&iter, parameters); 552s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 552s # { 552s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 552s # if (arg_info->use_gvariant) 552s # { 552s # g_value_init (¶mv[n], G_TYPE_VARIANT); 552s # g_value_set_variant (¶mv[n], child); 552s # n++; 552s # } 552s # else 552s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 552s # g_variant_unref (child); 552s # } 552s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 552s # g_value_init (&return_value, G_TYPE_BOOLEAN); 552s # g_signal_emitv (paramv, signal_id, 0, &return_value); 552s # if (!g_value_get_boolean (&return_value)) 552s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 552s # g_value_unset (&return_value); 552s # for (n = 0; n < num_params + num_extra; n++) 552s # g_value_unset (¶mv[n]); 552s # g_free (paramv); 552s # } 552s # 552s # static GVariant * 552s # _org_project_callable_iface_skeleton_handle_get_property ( 552s # GDBusConnection *connection G_GNUC_UNUSED, 552s # const gchar *sender G_GNUC_UNUSED, 552s # const gchar *object_path G_GNUC_UNUSED, 552s # const gchar *interface_name G_GNUC_UNUSED, 552s # const gchar *property_name, 552s # GError **error, 552s # gpointer user_data) 552s # { 552s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 552s # GValue value = G_VALUE_INIT; 552s # GParamSpec *pspec; 552s # _ExtendedGDBusPropertyInfo *info; 552s # GVariant *ret; 552s # ret = NULL; 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 552s # g_assert (info != NULL); 552s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 552s # if (pspec == NULL) 552s # { 552s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 552s # } 552s # else 552s # { 552s # g_value_init (&value, pspec->value_type); 552s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 552s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 552s # g_value_unset (&value); 552s # } 552s # return ret; 552s # } 552s # 552s # static gboolean 552s # _org_project_callable_iface_skeleton_handle_set_property ( 552s # GDBusConnection *connection G_GNUC_UNUSED, 552s # const gchar *sender G_GNUC_UNUSED, 552s # const gchar *object_path G_GNUC_UNUSED, 552s # const gchar *interface_name G_GNUC_UNUSED, 552s # const gchar *property_name, 552s # GVariant *variant, 552s # GError **error, 552s # gpointer user_data) 552s # { 552s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 552s # GValue value = G_VALUE_INIT; 552s # GParamSpec *pspec; 552s # _ExtendedGDBusPropertyInfo *info; 552s # gboolean ret; 552s # ret = FALSE; 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 552s # g_assert (info != NULL); 552s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 552s # if (pspec == NULL) 552s # { 552s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 552s # } 552s # else 552s # { 552s # if (info->use_gvariant) 552s # g_value_set_variant (&value, variant); 552s # else 552s # g_dbus_gvariant_to_gvalue (variant, &value); 552s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 552s # g_value_unset (&value); 552s # ret = TRUE; 552s # } 552s # return ret; 552s # } 552s # 552s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 552s # { 552s # _org_project_callable_iface_skeleton_handle_method_call, 552s # _org_project_callable_iface_skeleton_handle_get_property, 552s # _org_project_callable_iface_skeleton_handle_set_property, 552s # {NULL} 552s # }; 552s # 552s # static GDBusInterfaceInfo * 552s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 552s # { 552s # return org_project_callable_iface_interface_info (); 552s # } 552s # 552s # static GDBusInterfaceVTable * 552s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 552s # { 552s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 552s # } 552s # 552s # static GVariant * 552s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 552s # { 552s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 552s # 552s # GVariantBuilder builder; 552s # guint n; 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 552s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 552s # #else 552s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 552s # #endif 552s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 552s # goto out; 552s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 552s # { 552s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 552s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 552s # { 552s # GVariant *value; 552s # value = _org_project_callable_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.CallableIface", info->name, NULL, skeleton); 552s # if (value != NULL) 552s # { 552s # g_variant_take_ref (value); 552s # g_variant_builder_add (&builder, "{sv}", info->name, value); 552s # g_variant_unref (value); 552s # } 552s # } 552s # } 552s # out: 552s # return g_variant_builder_end (&builder); 552s # } 552s # 552s # static void 552s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 552s # { 552s # } 552s # 552s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 552s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 552s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 552s # 552s # #else 552s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 552s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 552s # 552s # #endif 552s # static void 552s # org_project_callable_iface_skeleton_finalize (GObject *object) 552s # { 552s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 552s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 552s # if (skeleton->priv->changed_properties_idle_source != NULL) 552s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 552s # g_main_context_unref (skeleton->priv->context); 552s # g_mutex_clear (&skeleton->priv->lock); 552s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 552s # } 552s # 552s # static void 552s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 552s # { 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 552s # #else 552s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 552s # #endif 552s # 552s # g_mutex_init (&skeleton->priv->lock); 552s # skeleton->priv->context = g_main_context_ref_thread_default (); 552s # } 552s # 552s # static void 552s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 552s # { 552s # GObjectClass *gobject_class; 552s # GDBusInterfaceSkeletonClass *skeleton_class; 552s # 552s # gobject_class = G_OBJECT_CLASS (klass); 552s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 552s # 552s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 552s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 552s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 552s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 552s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 552s # 552s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 552s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 552s # #endif 552s # } 552s # 552s # static void 552s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 552s # { 552s # } 552s # 552s # /** 552s # * org_project_callable_iface_skeleton_new: 552s # * 552s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 552s # * 552s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 552s # */ 552s # OrgProjectCallableIface * 552s # org_project_callable_iface_skeleton_new (void) 552s # { 552s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 552s # } 552s # 552s # /* ------------------------------------------------------------------------ 552s # * Code for interface org.project.OtherCallableIface 552s # * ------------------------------------------------------------------------ 552s # */ 552s # 552s # /** 552s # * SECTION:OrgProjectOtherCallableIface 552s # * @title: OrgProjectOtherCallableIface 552s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 552s # * 552s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 552s # */ 552s # 552s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 552s # 552s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 552s # { 552s # { 552s # -1, 552s # (gchar *) "SimpleMethod", 552s # NULL, 552s # NULL, 552s # NULL 552s # }, 552s # "handle-simple-method", 552s # FALSE 552s # }; 552s # 552s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 552s # { 552s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 552s # NULL 552s # }; 552s # 552s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 552s # { 552s # { 552s # -1, 552s # (gchar *) "org.project.OtherCallableIface", 552s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 552s # NULL, 552s # NULL, 552s # NULL 552s # }, 552s # "org-project-other-callable-iface", 552s # }; 552s # 552s # 552s # /** 552s # * org_project_other_callable_iface_interface_info: 552s # * 552s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 552s # * 552s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 552s # */ 552s # GDBusInterfaceInfo * 552s # org_project_other_callable_iface_interface_info (void) 552s # { 552s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 552s # } 552s # 552s # /** 552s # * org_project_other_callable_iface_override_properties: 552s # * @klass: The class structure for a #GObject derived class. 552s # * @property_id_begin: The property id to assign to the first overridden property. 552s # * 552s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 552s # * The properties are overridden in the order they are defined. 552s # * 552s # * Returns: The last property id. 552s # */ 552s # guint 552s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 552s # { 552s # return property_id_begin - 1; 552s # } 552s # 552s # 552s # inline static void 552s # org_project_other_callable_iface_method_marshal_simple_method ( 552s # GClosure *closure, 552s # GValue *return_value, 552s # unsigned int n_param_values, 552s # const GValue *param_values, 552s # void *invocation_hint, 552s # void *marshal_data) 552s # { 552s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 552s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 552s # } 552s # 552s # 552s # /** 552s # * OrgProjectOtherCallableIface: 552s # * 552s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 552s # */ 552s # 552s # /** 552s # * OrgProjectOtherCallableIfaceIface: 552s # * @parent_iface: The parent interface. 552s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 552s # * 552s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 552s # */ 552s # 552s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 552s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 552s # 552s # static void 552s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 552s # { 552s # /* GObject signals for incoming D-Bus method calls: */ 552s # /** 552s # * OrgProjectOtherCallableIface::handle-simple-method: 552s # * @object: A #OrgProjectOtherCallableIface. 552s # * @invocation: A #GDBusMethodInvocation. 552s # * 552s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 552s # * 552s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_other_callable_iface_complete_simple_method() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 552s # * 552s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 552s # */ 552s # g_signal_new ("handle-simple-method", 552s # G_TYPE_FROM_INTERFACE (iface), 552s # G_SIGNAL_RUN_LAST, 552s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 552s # g_signal_accumulator_true_handled, 552s # NULL, 552s # org_project_other_callable_iface_method_marshal_simple_method, 552s # G_TYPE_BOOLEAN, 552s # 1, 552s # G_TYPE_DBUS_METHOD_INVOCATION); 552s # 552s # } 552s # 552s # /** 552s # * org_project_other_callable_iface_call_simple_method: 552s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 552s # * @user_data: User data to pass to @callback. 552s # * 552s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 552s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 552s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 552s # * 552s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 552s # */ 552s # void 552s # org_project_other_callable_iface_call_simple_method ( 552s # OrgProjectOtherCallableIface *proxy, 552s # GCancellable *cancellable, 552s # GAsyncReadyCallback callback, 552s # gpointer user_data) 552s # { 552s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 552s # "SimpleMethod", 552s # g_variant_new ("()"), 552s # G_DBUS_CALL_FLAGS_NONE, 552s # -1, 552s # cancellable, 552s # callback, 552s # user_data); 552s # } 552s # 552s # /** 552s # * org_project_other_callable_iface_call_simple_method_finish: 552s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 552s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 552s # * @error: Return location for error or %NULL. 552s # * 552s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 552s # * 552s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 552s # */ 552s # gboolean 552s # org_project_other_callable_iface_call_simple_method_finish ( 552s # OrgProjectOtherCallableIface *proxy, 552s # GAsyncResult *res, 552s # GError **error) 552s # { 552s # GVariant *_ret; 552s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 552s # if (_ret == NULL) 552s # goto _out; 552s # g_variant_get (_ret, 552s # "()"); 552s # g_variant_unref (_ret); 552s # _out: 552s # return _ret != NULL; 552s # } 552s # 552s # /** 552s # * org_project_other_callable_iface_call_simple_method_sync: 552s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @error: Return location for error or %NULL. 552s # * 552s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 552s # * 552s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 552s # * 552s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 552s # */ 552s # gboolean 552s # org_project_other_callable_iface_call_simple_method_sync ( 552s # OrgProjectOtherCallableIface *proxy, 552s # GCancellable *cancellable, 552s # GError **error) 552s # { 552s # GVariant *_ret; 552s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 552s # "SimpleMethod", 552s # g_variant_new ("()"), 552s # G_DBUS_CALL_FLAGS_NONE, 552s # -1, 552s # cancellable, 552s # error); 552s # if (_ret == NULL) 552s # goto _out; 552s # g_variant_get (_ret, 552s # "()"); 552s # g_variant_unref (_ret); 552s # _out: 552s # return _ret != NULL; 552s # } 552s # 552s # /** 552s # * org_project_other_callable_iface_complete_simple_method: 552s # * @object: A #OrgProjectOtherCallableIface. 552s # * @invocation: (transfer full): A #GDBusMethodInvocation. 552s # * 552s # * Helper function used in service implementations to finish handling invocations of the SimpleMethod() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 552s # * 552s # * This method will free @invocation, you cannot use it afterwards. 552s # */ 552s # void 552s # org_project_other_callable_iface_complete_simple_method ( 552s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 552s # GDBusMethodInvocation *invocation) 552s # { 552s # g_dbus_method_invocation_return_value (invocation, 552s # g_variant_new ("()")); 552s # } 552s # 552s # /* ------------------------------------------------------------------------ */ 552s # 552s # /** 552s # * OrgProjectOtherCallableIfaceProxy: 552s # * 552s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 552s # */ 552s # 552s # /** 552s # * OrgProjectOtherCallableIfaceProxyClass: 552s # * @parent_class: The parent class. 552s # * 552s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 552s # */ 552s # 552s # struct _OrgProjectOtherCallableIfaceProxyPrivate 552s # { 552s # GData *qdata; 552s # }; 552s # 552s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 552s # 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 552s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 552s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 552s # 552s # #else 552s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 552s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 552s # 552s # #endif 552s # static void 552s # org_project_other_callable_iface_proxy_finalize (GObject *object) 552s # { 552s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 552s # g_datalist_clear (&proxy->priv->qdata); 552s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 552s # } 552s # 552s # static void 552s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 552s # guint prop_id G_GNUC_UNUSED, 552s # GValue *value G_GNUC_UNUSED, 552s # GParamSpec *pspec G_GNUC_UNUSED) 552s # { 552s # } 552s # 552s # static void 552s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 552s # guint prop_id G_GNUC_UNUSED, 552s # const GValue *value G_GNUC_UNUSED, 552s # GParamSpec *pspec G_GNUC_UNUSED) 552s # { 552s # } 552s # 552s # static void 552s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 552s # const gchar *sender_name G_GNUC_UNUSED, 552s # const gchar *signal_name, 552s # GVariant *parameters) 552s # { 552s # _ExtendedGDBusSignalInfo *info; 552s # GVariantIter iter; 552s # GVariant *child; 552s # GValue *paramv; 552s # gsize num_params; 552s # gsize n; 552s # guint signal_id; 552s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 552s # if (info == NULL) 552s # return; 552s # num_params = g_variant_n_children (parameters); 552s # paramv = g_new0 (GValue, num_params + 1); 552s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 552s # g_value_set_object (¶mv[0], proxy); 552s # g_variant_iter_init (&iter, parameters); 552s # n = 1; 552s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 552s # { 552s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 552s # if (arg_info->use_gvariant) 552s # { 552s # g_value_init (¶mv[n], G_TYPE_VARIANT); 552s # g_value_set_variant (¶mv[n], child); 552s # n++; 552s # } 552s # else 552s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 552s # g_variant_unref (child); 552s # } 552s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 552s # g_signal_emitv (paramv, signal_id, 0, NULL); 552s # for (n = 0; n < num_params + 1; n++) 552s # g_value_unset (¶mv[n]); 552s # g_free (paramv); 552s # } 552s # 552s # static void 552s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 552s # GVariant *changed_properties, 552s # const gchar *const *invalidated_properties) 552s # { 552s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 552s # guint n; 552s # const gchar *key; 552s # GVariantIter *iter; 552s # _ExtendedGDBusPropertyInfo *info; 552s # g_variant_get (changed_properties, "a{sv}", &iter); 552s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 552s # { 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 552s # g_datalist_remove_data (&proxy->priv->qdata, key); 552s # if (info != NULL) 552s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 552s # } 552s # g_variant_iter_free (iter); 552s # for (n = 0; invalidated_properties[n] != NULL; n++) 552s # { 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 552s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 552s # if (info != NULL) 552s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 552s # } 552s # } 552s # 552s # static void 552s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 552s # { 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 552s # #else 552s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 552s # #endif 552s # 552s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 552s # } 552s # 552s # static void 552s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 552s # { 552s # GObjectClass *gobject_class; 552s # GDBusProxyClass *proxy_class; 552s # 552s # gobject_class = G_OBJECT_CLASS (klass); 552s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 552s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 552s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 552s # 552s # proxy_class = G_DBUS_PROXY_CLASS (klass); 552s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 552s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 552s # 552s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 552s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 552s # #endif 552s # } 552s # 552s # static void 552s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 552s # { 552s # } 552s # 552s # /** 552s # * org_project_other_callable_iface_proxy_new: 552s # * @connection: A #GDBusConnection. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 552s # * @user_data: User data to pass to @callback. 552s # * 552s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 552s # * 552s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 552s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 552s # * 552s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 552s # */ 552s # void 552s # org_project_other_callable_iface_proxy_new ( 552s # GDBusConnection *connection, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GAsyncReadyCallback callback, 552s # gpointer user_data) 552s # { 552s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 552s # } 552s # 552s # /** 552s # * org_project_other_callable_iface_proxy_new_finish: 552s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 552s # * @error: Return location for error or %NULL 552s # * 552s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 552s # * 552s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # OrgProjectOtherCallableIface * 552s # org_project_other_callable_iface_proxy_new_finish ( 552s # GAsyncResult *res, 552s # GError **error) 552s # { 552s # GObject *ret; 552s # GObject *source_object; 552s # source_object = g_async_result_get_source_object (res); 552s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 552s # g_object_unref (source_object); 552s # if (ret != NULL) 552s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # /** 552s # * org_project_other_callable_iface_proxy_new_sync: 552s # * @connection: A #GDBusConnection. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @error: Return location for error or %NULL 552s # * 552s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 552s # * 552s # * The calling thread is blocked until a reply is received. 552s # * 552s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 552s # * 552s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # OrgProjectOtherCallableIface * 552s # org_project_other_callable_iface_proxy_new_sync ( 552s # GDBusConnection *connection, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GError **error) 552s # { 552s # GInitable *ret; 552s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 552s # if (ret != NULL) 552s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # 552s # /** 552s # * org_project_other_callable_iface_proxy_new_for_bus: 552s # * @bus_type: A #GBusType. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: A bus name (well-known or unique). 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 552s # * @user_data: User data to pass to @callback. 552s # * 552s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 552s # * 552s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 552s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 552s # * 552s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 552s # */ 552s # void 552s # org_project_other_callable_iface_proxy_new_for_bus ( 552s # GBusType bus_type, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GAsyncReadyCallback callback, 552s # gpointer user_data) 552s # { 552s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 552s # } 552s # 552s # /** 552s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 552s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 552s # * @error: Return location for error or %NULL 552s # * 552s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 552s # * 552s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # OrgProjectOtherCallableIface * 552s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 552s # GAsyncResult *res, 552s # GError **error) 552s # { 552s # GObject *ret; 552s # GObject *source_object; 552s # source_object = g_async_result_get_source_object (res); 552s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 552s # g_object_unref (source_object); 552s # if (ret != NULL) 552s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # /** 552s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 552s # * @bus_type: A #GBusType. 552s # * @flags: Flags from the #GDBusProxyFlags enumeration. 552s # * @name: A bus name (well-known or unique). 552s # * @object_path: An object path. 552s # * @cancellable: (nullable): A #GCancellable or %NULL. 552s # * @error: Return location for error or %NULL 552s # * 552s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 552s # * 552s # * The calling thread is blocked until a reply is received. 552s # * 552s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 552s # * 552s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 552s # */ 552s # OrgProjectOtherCallableIface * 552s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 552s # GBusType bus_type, 552s # GDBusProxyFlags flags, 552s # const gchar *name, 552s # const gchar *object_path, 552s # GCancellable *cancellable, 552s # GError **error) 552s # { 552s # GInitable *ret; 552s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 552s # if (ret != NULL) 552s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 552s # else 552s # return NULL; 552s # } 552s # 552s # 552s # /* ------------------------------------------------------------------------ */ 552s # 552s # /** 552s # * OrgProjectOtherCallableIfaceSkeleton: 552s # * 552s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 552s # */ 552s # 552s # /** 552s # * OrgProjectOtherCallableIfaceSkeletonClass: 552s # * @parent_class: The parent class. 552s # * 552s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 552s # */ 552s # 552s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 552s # { 552s # GValue *properties; 552s # GList *changed_properties; 552s # GSource *changed_properties_idle_source; 552s # GMainContext *context; 552s # GMutex lock; 552s # }; 552s # 552s # static void 552s # _org_project_other_callable_iface_skeleton_handle_method_call ( 552s # GDBusConnection *connection G_GNUC_UNUSED, 552s # const gchar *sender G_GNUC_UNUSED, 552s # const gchar *object_path G_GNUC_UNUSED, 552s # const gchar *interface_name, 552s # const gchar *method_name, 552s # GVariant *parameters, 552s # GDBusMethodInvocation *invocation, 552s # gpointer user_data) 552s # { 552s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 552s # _ExtendedGDBusMethodInfo *info; 552s # GVariantIter iter; 552s # GVariant *child; 552s # GValue *paramv; 552s # gsize num_params; 552s # guint num_extra; 552s # gsize n; 552s # guint signal_id; 552s # GValue return_value = G_VALUE_INIT; 552s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 552s # g_assert (info != NULL); 552s # num_params = g_variant_n_children (parameters); 552s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 552s # n = 0; 552s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 552s # g_value_set_object (¶mv[n++], skeleton); 552s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 552s # g_value_set_object (¶mv[n++], invocation); 552s # if (info->pass_fdlist) 552s # { 552s # #ifdef G_OS_UNIX 552s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 552s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 552s # #else 552s # g_assert_not_reached (); 552s # #endif 552s # } 552s # g_variant_iter_init (&iter, parameters); 552s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 552s # { 552s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 552s # if (arg_info->use_gvariant) 552s # { 552s # g_value_init (¶mv[n], G_TYPE_VARIANT); 552s # g_value_set_variant (¶mv[n], child); 552s # n++; 552s # } 552s # else 552s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 552s # g_variant_unref (child); 552s # } 552s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 552s # g_value_init (&return_value, G_TYPE_BOOLEAN); 552s # g_signal_emitv (paramv, signal_id, 0, &return_value); 552s # if (!g_value_get_boolean (&return_value)) 552s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 552s # g_value_unset (&return_value); 552s # for (n = 0; n < num_params + num_extra; n++) 552s # g_value_unset (¶mv[n]); 552s # g_free (paramv); 552s # } 552s # 552s # static GVariant * 552s # _org_project_other_callable_iface_skeleton_handle_get_property ( 552s # GDBusConnection *connection G_GNUC_UNUSED, 552s # const gchar *sender G_GNUC_UNUSED, 552s # const gchar *object_path G_GNUC_UNUSED, 552s # const gchar *interface_name G_GNUC_UNUSED, 552s # const gchar *property_name, 552s # GError **error, 552s # gpointer user_data) 552s # { 552s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 552s # GValue value = G_VALUE_INIT; 552s # GParamSpec *pspec; 552s # _ExtendedGDBusPropertyInfo *info; 552s # GVariant *ret; 552s # ret = NULL; 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 552s # g_assert (info != NULL); 552s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 552s # if (pspec == NULL) 552s # { 552s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 552s # } 552s # else 552s # { 552s # g_value_init (&value, pspec->value_type); 552s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 552s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 552s # g_value_unset (&value); 552s # } 552s # return ret; 552s # } 552s # 552s # static gboolean 552s # _org_project_other_callable_iface_skeleton_handle_set_property ( 552s # GDBusConnection *connection G_GNUC_UNUSED, 552s # const gchar *sender G_GNUC_UNUSED, 552s # const gchar *object_path G_GNUC_UNUSED, 552s # const gchar *interface_name G_GNUC_UNUSED, 552s # const gchar *property_name, 552s # GVariant *variant, 552s # GError **error, 552s # gpointer user_data) 552s # { 552s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 552s # GValue value = G_VALUE_INIT; 552s # GParamSpec *pspec; 552s # _ExtendedGDBusPropertyInfo *info; 552s # gboolean ret; 552s # ret = FALSE; 552s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 552s # g_assert (info != NULL); 552s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 552s # if (pspec == NULL) 552s # { 552s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 552s # } 552s # else 552s # { 552s # if (info->use_gvariant) 552s # g_value_set_variant (&value, variant); 552s # else 552s # g_dbus_gvariant_to_gvalue (variant, &value); 552s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 552s # g_value_unset (&value); 552s # ret = TRUE; 552s # } 552s # return ret; 552s # } 552s # 552s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 552s # { 552s # _org_project_other_callable_iface_skeleton_handle_method_call, 552s # _org_project_other_callable_iface_skeleton_handle_get_property, 552s # _org_project_other_callable_iface_skeleton_handle_set_property, 552s # {NULL} 552s # }; 552s # 552s # static GDBusInterfaceInfo * 552s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 552s # { 552s # return org_project_other_callable_iface_interface_info (); 552s # } 552s # 552s # static GDBusInterfaceVTable * 552s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 552s # { 552s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 552s # } 552s # 552s # static GVariant * 552s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 552s # { 552s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 552s # 552s # GVariantBuilder builder; 552s # guint n; 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 552s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 552s # #else 552s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 552s # #endif 552s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 552s # goto out; 552s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 552s # { 552s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 552s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 552s # { 552s # GVariant *value; 552s # value = _org_project_other_callable_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherCallableIface", info->name, NULL, skeleton); 552s # if (value != NULL) 552s # { 552s # g_variant_take_ref (value); 552s # g_variant_builder_add (&builder, "{sv}", info->name, value); 552s # g_variant_unref (value); 552s # } 552s # } 552s # } 552s # out: 552s # return g_variant_builder_end (&builder); 552s # } 552s # 552s # static void 552s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 552s # { 552s # } 552s # 552s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 552s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 552s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 552s # 552s # #else 552s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 552s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 552s # 552s # #endif 552s # static void 552s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 552s # { 552s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 552s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 552s # if (skeleton->priv->changed_properties_idle_source != NULL) 552s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 552s # g_main_context_unref (skeleton->priv->context); 552s # g_mutex_clear (&skeleton->priv->lock); 552s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 552s # } 552s # 552s # static void 552s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 552s # { 552s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 552s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 552s # #else 552s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 552s # #endif 552s # 552s # g_mutex_init (&skeleton->priv->lock); 552s # skeleton->priv->context = g_main_context_ref_thread_default (); 552s # } 552s # 552s # static void 552s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 552s # { 552s # GObjectClass *gobject_class; 552s # GDBusInterfaceSkeletonClass *skeleton_class; 552s # 552s # gobject_class = G_OBJECT_CLASS (klass); 552s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 552s # 552s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 552s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 552s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 552s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 552s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 552s # 552s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 552s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 552s # #endif 552s # } 552s # 552s # static void 552s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 552s # { 552s # } 552s # 552s # /** 552s # * org_project_other_callable_iface_skeleton_new: 552s # * 552s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 552s # * 552s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 552s # */ 552s # OrgProjectOtherCallableIface * 552s # org_project_other_callable_iface_skeleton_new (void) 552s # { 552s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 552s # } 552s # Error: 555s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 555s # gdbus-codegen: /usr/bin/gdbus-codegen 555s # tmpdir: /tmp/tmpdrp9e58l 555s # /tmp/tmpdrp9e58l/tmp87e56v13.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrp9e58l/tmp87e56v13.xml', '--output', '-', '--body'] 555s # Return code: 0 555s # Output: 555s # /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # gboolean arg_arg_b, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 3); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # g_marshal_value_peek_boolean (param_values + 2), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.UsefulInterface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectUsefulInterface 555s # * @title: OrgProjectUsefulInterface 555s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 555s # 555s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 555s # { 555s # { 555s # -1, 555s # (gchar *) "arg_b", 555s # (gchar *) "b", 555s # NULL 555s # }, 555s # FALSE 555s # }; 555s # 555s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SingleArgMethodB", 555s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-single-arg-method-b", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.UsefulInterface", 555s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-useful-interface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_useful_interface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_useful_interface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_useful_interface_method_marshal_single_arg_method_b ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectUsefulInterface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * @arg_arg_b: Argument passed by remote caller. 555s # * 555s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 555s # * 555s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_b() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 555s # * 555s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 555s # */ 555s # g_signal_new ("handle-single-arg-method-b", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_useful_interface_method_marshal_single_arg_method_b, 555s # G_TYPE_BOOLEAN, 555s # 2, 555s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 555s # 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_b: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_b: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_useful_interface_call_single_arg_method_b ( 555s # OrgProjectUsefulInterface *proxy, 555s # gboolean arg_arg_b, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodB", 555s # g_variant_new ("(b)", 555s # arg_arg_b), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_b_finish: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_b_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_b_sync: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_b: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_b_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # gboolean arg_arg_b, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodB", 555s # g_variant_new ("(b)", 555s # arg_arg_b), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_complete_single_arg_method_b: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodB() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_useful_interface_complete_single_arg_method_b ( 555s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxy: 555s # * 555s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 555s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 555s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeleton: 555s # * 555s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_useful_interface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_useful_interface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_useful_interface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 555s # { 555s # _org_project_useful_interface_skeleton_handle_method_call, 555s # _org_project_useful_interface_skeleton_handle_get_property, 555s # _org_project_useful_interface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_useful_interface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 555s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #else 555s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #endif 555s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 555s # } 555s # Error: 555s # 555s # /tmp/tmpdrp9e58l/tmp2_g3oij_.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrp9e58l/tmp2_g3oij_.xml', '--output', '-', '--body'] 555s # Return code: 0 555s # Output: 555s # /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # guchar arg_arg_y, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 3); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # g_marshal_value_peek_uchar (param_values + 2), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.UsefulInterface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectUsefulInterface 555s # * @title: OrgProjectUsefulInterface 555s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 555s # 555s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 555s # { 555s # { 555s # -1, 555s # (gchar *) "arg_y", 555s # (gchar *) "y", 555s # NULL 555s # }, 555s # FALSE 555s # }; 555s # 555s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SingleArgMethodY", 555s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-single-arg-method-y", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.UsefulInterface", 555s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-useful-interface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_useful_interface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_useful_interface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_useful_interface_method_marshal_single_arg_method_y ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectUsefulInterface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * @arg_arg_y: Argument passed by remote caller. 555s # * 555s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 555s # * 555s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_y() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 555s # * 555s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 555s # */ 555s # g_signal_new ("handle-single-arg-method-y", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_useful_interface_method_marshal_single_arg_method_y, 555s # G_TYPE_BOOLEAN, 555s # 2, 555s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 555s # 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_y: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_y: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_useful_interface_call_single_arg_method_y ( 555s # OrgProjectUsefulInterface *proxy, 555s # guchar arg_arg_y, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodY", 555s # g_variant_new ("(y)", 555s # arg_arg_y), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_y_finish: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_y_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_y_sync: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_y: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_y_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # guchar arg_arg_y, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodY", 555s # g_variant_new ("(y)", 555s # arg_arg_y), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_complete_single_arg_method_y: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodY() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_useful_interface_complete_single_arg_method_y ( 555s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxy: 555s # * 555s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 555s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 555s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeleton: 555s # * 555s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_useful_interface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_useful_interface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_useful_interface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 555s # { 555s # _org_project_useful_interface_skeleton_handle_method_call, 555s # _org_project_useful_interface_skeleton_handle_get_property, 555s # _org_project_useful_interface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_useful_interface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 555s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #else 555s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #endif 555s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 555s # } 555s # Error: 555s # 555s # /tmp/tmpdrp9e58l/tmpe45bpkxc.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrp9e58l/tmpe45bpkxc.xml', '--output', '-', '--body'] 555s # Return code: 0 555s # Output: 555s # /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # gint16 arg_arg_n, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 3); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # g_marshal_value_peek_int (param_values + 2), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.UsefulInterface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectUsefulInterface 555s # * @title: OrgProjectUsefulInterface 555s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 555s # 555s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 555s # { 555s # { 555s # -1, 555s # (gchar *) "arg_n", 555s # (gchar *) "n", 555s # NULL 555s # }, 555s # FALSE 555s # }; 555s # 555s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SingleArgMethodN", 555s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-single-arg-method-n", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.UsefulInterface", 555s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-useful-interface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_useful_interface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_useful_interface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_useful_interface_method_marshal_single_arg_method_n ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectUsefulInterface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * @arg_arg_n: Argument passed by remote caller. 555s # * 555s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 555s # * 555s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_n() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 555s # * 555s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 555s # */ 555s # g_signal_new ("handle-single-arg-method-n", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_useful_interface_method_marshal_single_arg_method_n, 555s # G_TYPE_BOOLEAN, 555s # 2, 555s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 555s # 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_n: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_n: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_useful_interface_call_single_arg_method_n ( 555s # OrgProjectUsefulInterface *proxy, 555s # gint16 arg_arg_n, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodN", 555s # g_variant_new ("(n)", 555s # arg_arg_n), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_n_finish: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_n_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_n_sync: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_n: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_n_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # gint16 arg_arg_n, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodN", 555s # g_variant_new ("(n)", 555s # arg_arg_n), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_complete_single_arg_method_n: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodN() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_useful_interface_complete_single_arg_method_n ( 555s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxy: 555s # * 555s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 555s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 555s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeleton: 555s # * 555s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_useful_interface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_useful_interface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_useful_interface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 555s # { 555s # _org_project_useful_interface_skeleton_handle_method_call, 555s # _org_project_useful_interface_skeleton_handle_get_property, 555s # _org_project_useful_interface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_useful_interface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 555s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #else 555s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #endif 555s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 555s # } 555s # Error: 555s # 555s # /tmp/tmpdrp9e58l/tmpxjbeffol.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrp9e58l/tmpxjbeffol.xml', '--output', '-', '--body'] 555s # Return code: 0 555s # Output: 555s # /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # guint16 arg_arg_q, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 3); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # g_marshal_value_peek_uint (param_values + 2), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.UsefulInterface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectUsefulInterface 555s # * @title: OrgProjectUsefulInterface 555s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 555s # 555s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 555s # { 555s # { 555s # -1, 555s # (gchar *) "arg_q", 555s # (gchar *) "q", 555s # NULL 555s # }, 555s # FALSE 555s # }; 555s # 555s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SingleArgMethodQ", 555s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-single-arg-method-q", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.UsefulInterface", 555s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-useful-interface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_useful_interface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_useful_interface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_useful_interface_method_marshal_single_arg_method_q ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectUsefulInterface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * @arg_arg_q: Argument passed by remote caller. 555s # * 555s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 555s # * 555s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_q() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 555s # * 555s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 555s # */ 555s # g_signal_new ("handle-single-arg-method-q", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_useful_interface_method_marshal_single_arg_method_q, 555s # G_TYPE_BOOLEAN, 555s # 2, 555s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 555s # 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_q: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_q: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_useful_interface_call_single_arg_method_q ( 555s # OrgProjectUsefulInterface *proxy, 555s # guint16 arg_arg_q, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodQ", 555s # g_variant_new ("(q)", 555s # arg_arg_q), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_q_finish: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_q_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_q_sync: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_q: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_q_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # guint16 arg_arg_q, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodQ", 555s # g_variant_new ("(q)", 555s # arg_arg_q), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_complete_single_arg_method_q: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodQ() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_useful_interface_complete_single_arg_method_q ( 555s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxy: 555s # * 555s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 555s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 555s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeleton: 555s # * 555s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_useful_interface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_useful_interface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_useful_interface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 555s # { 555s # _org_project_useful_interface_skeleton_handle_method_call, 555s # _org_project_useful_interface_skeleton_handle_get_property, 555s # _org_project_useful_interface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_useful_interface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 555s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #else 555s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #endif 555s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 555s # } 555s # Error: 555s # 555s # /tmp/tmpdrp9e58l/tmpbag9kixe.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrp9e58l/tmpbag9kixe.xml', '--output', '-', '--body'] 555s # Return code: 0 555s # Output: 555s # /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # gint arg_arg_i, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 3); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # g_marshal_value_peek_int (param_values + 2), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.UsefulInterface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectUsefulInterface 555s # * @title: OrgProjectUsefulInterface 555s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 555s # 555s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 555s # { 555s # { 555s # -1, 555s # (gchar *) "arg_i", 555s # (gchar *) "i", 555s # NULL 555s # }, 555s # FALSE 555s # }; 555s # 555s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SingleArgMethodI", 555s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-single-arg-method-i", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.UsefulInterface", 555s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-useful-interface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_useful_interface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_useful_interface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_useful_interface_method_marshal_single_arg_method_i ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectUsefulInterface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * @arg_arg_i: Argument passed by remote caller. 555s # * 555s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 555s # * 555s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_i() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 555s # * 555s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 555s # */ 555s # g_signal_new ("handle-single-arg-method-i", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_useful_interface_method_marshal_single_arg_method_i, 555s # G_TYPE_BOOLEAN, 555s # 2, 555s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 555s # 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_i: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_i: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_useful_interface_call_single_arg_method_i ( 555s # OrgProjectUsefulInterface *proxy, 555s # gint arg_arg_i, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodI", 555s # g_variant_new ("(i)", 555s # arg_arg_i), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_i_finish: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_i_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_i_sync: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_i: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_i_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # gint arg_arg_i, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodI", 555s # g_variant_new ("(i)", 555s # arg_arg_i), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_complete_single_arg_method_i: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodI() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_useful_interface_complete_single_arg_method_i ( 555s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxy: 555s # * 555s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 555s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 555s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeleton: 555s # * 555s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_useful_interface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_useful_interface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_useful_interface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 555s # { 555s # _org_project_useful_interface_skeleton_handle_method_call, 555s # _org_project_useful_interface_skeleton_handle_get_property, 555s # _org_project_useful_interface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_useful_interface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 555s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #else 555s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #endif 555s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 555s # } 555s # Error: 555s # 555s # /tmp/tmpdrp9e58l/tmpxemkuydt.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrp9e58l/tmpxemkuydt.xml', '--output', '-', '--body'] 555s # Return code: 0 555s # Output: 555s # /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # guint arg_arg_u, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 3); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # g_marshal_value_peek_uint (param_values + 2), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.UsefulInterface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectUsefulInterface 555s # * @title: OrgProjectUsefulInterface 555s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 555s # 555s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 555s # { 555s # { 555s # -1, 555s # (gchar *) "arg_u", 555s # (gchar *) "u", 555s # NULL 555s # }, 555s # FALSE 555s # }; 555s # 555s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SingleArgMethodU", 555s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-single-arg-method-u", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.UsefulInterface", 555s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-useful-interface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_useful_interface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_useful_interface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_useful_interface_method_marshal_single_arg_method_u ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectUsefulInterface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * @arg_arg_u: Argument passed by remote caller. 555s # * 555s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 555s # * 555s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_u() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 555s # * 555s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 555s # */ 555s # g_signal_new ("handle-single-arg-method-u", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_useful_interface_method_marshal_single_arg_method_u, 555s # G_TYPE_BOOLEAN, 555s # 2, 555s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 555s # 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_u: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_u: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_useful_interface_call_single_arg_method_u ( 555s # OrgProjectUsefulInterface *proxy, 555s # guint arg_arg_u, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodU", 555s # g_variant_new ("(u)", 555s # arg_arg_u), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_u_finish: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_u_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_u_sync: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_u: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_u_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # guint arg_arg_u, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodU", 555s # g_variant_new ("(u)", 555s # arg_arg_u), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_complete_single_arg_method_u: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodU() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_useful_interface_complete_single_arg_method_u ( 555s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxy: 555s # * 555s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 555s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 555s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeleton: 555s # * 555s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_useful_interface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_useful_interface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_useful_interface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 555s # { 555s # _org_project_useful_interface_skeleton_handle_method_call, 555s # _org_project_useful_interface_skeleton_handle_get_property, 555s # _org_project_useful_interface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_useful_interface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 555s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #else 555s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #endif 555s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 555s # } 555s # Error: 555s # 555s # /tmp/tmpdrp9e58l/tmprwj4e3ef.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrp9e58l/tmprwj4e3ef.xml', '--output', '-', '--body'] 555s # Return code: 0 555s # Output: 555s # /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # gint64 arg_arg_x, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 3); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # g_marshal_value_peek_int64 (param_values + 2), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.UsefulInterface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectUsefulInterface 555s # * @title: OrgProjectUsefulInterface 555s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 555s # 555s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 555s # { 555s # { 555s # -1, 555s # (gchar *) "arg_x", 555s # (gchar *) "x", 555s # NULL 555s # }, 555s # FALSE 555s # }; 555s # 555s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SingleArgMethodX", 555s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-single-arg-method-x", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.UsefulInterface", 555s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-useful-interface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_useful_interface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_useful_interface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_useful_interface_method_marshal_single_arg_method_x ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectUsefulInterface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * @arg_arg_x: Argument passed by remote caller. 555s # * 555s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 555s # * 555s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_x() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 555s # * 555s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 555s # */ 555s # g_signal_new ("handle-single-arg-method-x", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_useful_interface_method_marshal_single_arg_method_x, 555s # G_TYPE_BOOLEAN, 555s # 2, 555s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 555s # 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_x: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_x: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_useful_interface_call_single_arg_method_x ( 555s # OrgProjectUsefulInterface *proxy, 555s # gint64 arg_arg_x, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodX", 555s # g_variant_new ("(x)", 555s # arg_arg_x), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_x_finish: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_x_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_x_sync: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_x: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_x_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # gint64 arg_arg_x, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodX", 555s # g_variant_new ("(x)", 555s # arg_arg_x), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_complete_single_arg_method_x: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodX() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_useful_interface_complete_single_arg_method_x ( 555s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxy: 555s # * 555s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 555s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 555s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeleton: 555s # * 555s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_useful_interface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_useful_interface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_useful_interface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 555s # { 555s # _org_project_useful_interface_skeleton_handle_method_call, 555s # _org_project_useful_interface_skeleton_handle_get_property, 555s # _org_project_useful_interface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_useful_interface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 555s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #else 555s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #endif 555s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 555s # } 555s # Error: 555s # 555s # /tmp/tmpdrp9e58l/tmp34o6vlzp.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrp9e58l/tmp34o6vlzp.xml', '--output', '-', '--body'] 555s # Return code: 0 555s # Output: 555s # /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # guint64 arg_arg_t, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 3); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # g_marshal_value_peek_uint64 (param_values + 2), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.UsefulInterface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectUsefulInterface 555s # * @title: OrgProjectUsefulInterface 555s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 555s # 555s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 555s # { 555s # { 555s # -1, 555s # (gchar *) "arg_t", 555s # (gchar *) "t", 555s # NULL 555s # }, 555s # FALSE 555s # }; 555s # 555s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SingleArgMethodT", 555s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-single-arg-method-t", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.UsefulInterface", 555s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-useful-interface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_useful_interface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_useful_interface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_useful_interface_method_marshal_single_arg_method_t ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectUsefulInterface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * @arg_arg_t: Argument passed by remote caller. 555s # * 555s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 555s # * 555s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_t() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 555s # * 555s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 555s # */ 555s # g_signal_new ("handle-single-arg-method-t", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_useful_interface_method_marshal_single_arg_method_t, 555s # G_TYPE_BOOLEAN, 555s # 2, 555s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 555s # 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_t: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_t: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_useful_interface_call_single_arg_method_t ( 555s # OrgProjectUsefulInterface *proxy, 555s # guint64 arg_arg_t, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodT", 555s # g_variant_new ("(t)", 555s # arg_arg_t), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_t_finish: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_t_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_t_sync: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_t: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_t_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # guint64 arg_arg_t, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodT", 555s # g_variant_new ("(t)", 555s # arg_arg_t), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_complete_single_arg_method_t: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodT() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_useful_interface_complete_single_arg_method_t ( 555s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxy: 555s # * 555s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 555s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 555s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeleton: 555s # * 555s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_useful_interface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_useful_interface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_useful_interface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 555s # { 555s # _org_project_useful_interface_skeleton_handle_method_call, 555s # _org_project_useful_interface_skeleton_handle_get_property, 555s # _org_project_useful_interface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_useful_interface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 555s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #else 555s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #endif 555s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 555s # } 555s # Error: 555s # 555s # /tmp/tmpdrp9e58l/tmpyd_puxze.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrp9e58l/tmpyd_puxze.xml', '--output', '-', '--body'] 555s # Return code: 0 555s # Output: 555s # /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # gdouble arg_arg_d, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 3); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # g_marshal_value_peek_double (param_values + 2), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.UsefulInterface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectUsefulInterface 555s # * @title: OrgProjectUsefulInterface 555s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 555s # 555s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 555s # { 555s # { 555s # -1, 555s # (gchar *) "arg_d", 555s # (gchar *) "d", 555s # NULL 555s # }, 555s # FALSE 555s # }; 555s # 555s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SingleArgMethodD", 555s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-single-arg-method-d", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.UsefulInterface", 555s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-useful-interface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_useful_interface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_useful_interface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_useful_interface_method_marshal_single_arg_method_d ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectUsefulInterface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * @arg_arg_d: Argument passed by remote caller. 555s # * 555s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 555s # * 555s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_d() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 555s # * 555s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 555s # */ 555s # g_signal_new ("handle-single-arg-method-d", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_useful_interface_method_marshal_single_arg_method_d, 555s # G_TYPE_BOOLEAN, 555s # 2, 555s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 555s # 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_d: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_d: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_useful_interface_call_single_arg_method_d ( 555s # OrgProjectUsefulInterface *proxy, 555s # gdouble arg_arg_d, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodD", 555s # g_variant_new ("(d)", 555s # arg_arg_d), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_d_finish: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_d_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_d_sync: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_d: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_d_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # gdouble arg_arg_d, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodD", 555s # g_variant_new ("(d)", 555s # arg_arg_d), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_complete_single_arg_method_d: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodD() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_useful_interface_complete_single_arg_method_d ( 555s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxy: 555s # * 555s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 555s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 555s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeleton: 555s # * 555s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_useful_interface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_useful_interface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_useful_interface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 555s # { 555s # _org_project_useful_interface_skeleton_handle_method_call, 555s # _org_project_useful_interface_skeleton_handle_get_property, 555s # _org_project_useful_interface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_useful_interface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 555s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #else 555s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #endif 555s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 555s # } 555s # Error: 555s # 555s # /tmp/tmpdrp9e58l/tmp2o5d09ht.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrp9e58l/tmp2o5d09ht.xml', '--output', '-', '--body'] 555s # Return code: 0 555s # Output: 555s # /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # const gchar *arg_arg_s, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 3); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # g_marshal_value_peek_string (param_values + 2), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.UsefulInterface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectUsefulInterface 555s # * @title: OrgProjectUsefulInterface 555s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 555s # 555s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 555s # { 555s # { 555s # -1, 555s # (gchar *) "arg_s", 555s # (gchar *) "s", 555s # NULL 555s # }, 555s # FALSE 555s # }; 555s # 555s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SingleArgMethodS", 555s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-single-arg-method-s", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.UsefulInterface", 555s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-useful-interface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_useful_interface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_useful_interface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_useful_interface_method_marshal_single_arg_method_s ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectUsefulInterface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * @arg_arg_s: Argument passed by remote caller. 555s # * 555s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 555s # * 555s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_s() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 555s # * 555s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 555s # */ 555s # g_signal_new ("handle-single-arg-method-s", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_useful_interface_method_marshal_single_arg_method_s, 555s # G_TYPE_BOOLEAN, 555s # 2, 555s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 555s # 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_s: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_s: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_useful_interface_call_single_arg_method_s ( 555s # OrgProjectUsefulInterface *proxy, 555s # const gchar *arg_arg_s, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodS", 555s # g_variant_new ("(s)", 555s # arg_arg_s), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_s_finish: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_s_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_s_sync: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_s: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_s_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # const gchar *arg_arg_s, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodS", 555s # g_variant_new ("(s)", 555s # arg_arg_s), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_complete_single_arg_method_s: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodS() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_useful_interface_complete_single_arg_method_s ( 555s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxy: 555s # * 555s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 555s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 555s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeleton: 555s # * 555s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_useful_interface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_useful_interface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_useful_interface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 555s # { 555s # _org_project_useful_interface_skeleton_handle_method_call, 555s # _org_project_useful_interface_skeleton_handle_get_property, 555s # _org_project_useful_interface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_useful_interface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 555s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #else 555s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #endif 555s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 555s # } 555s # Error: 555s # 555s # /tmp/tmpdrp9e58l/tmpoubxebos.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrp9e58l/tmpoubxebos.xml', '--output', '-', '--body'] 555s # Return code: 0 555s # Output: 555s # /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # const gchar *arg_arg_o, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 3); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # g_marshal_value_peek_string (param_values + 2), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.UsefulInterface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectUsefulInterface 555s # * @title: OrgProjectUsefulInterface 555s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 555s # 555s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 555s # { 555s # { 555s # -1, 555s # (gchar *) "arg_o", 555s # (gchar *) "o", 555s # NULL 555s # }, 555s # FALSE 555s # }; 555s # 555s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SingleArgMethodO", 555s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-single-arg-method-o", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.UsefulInterface", 555s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-useful-interface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_useful_interface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_useful_interface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_useful_interface_method_marshal_single_arg_method_o ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectUsefulInterface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * @arg_arg_o: Argument passed by remote caller. 555s # * 555s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 555s # * 555s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_o() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 555s # * 555s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 555s # */ 555s # g_signal_new ("handle-single-arg-method-o", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_useful_interface_method_marshal_single_arg_method_o, 555s # G_TYPE_BOOLEAN, 555s # 2, 555s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 555s # 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_o: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_o: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_useful_interface_call_single_arg_method_o ( 555s # OrgProjectUsefulInterface *proxy, 555s # const gchar *arg_arg_o, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodO", 555s # g_variant_new ("(o)", 555s # arg_arg_o), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_o_finish: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_o_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_o_sync: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_o: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_o_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # const gchar *arg_arg_o, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodO", 555s # g_variant_new ("(o)", 555s # arg_arg_o), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_complete_single_arg_method_o: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodO() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_useful_interface_complete_single_arg_method_o ( 555s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxy: 555s # * 555s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 555s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 555s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeleton: 555s # * 555s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_useful_interface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_useful_interface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_useful_interface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 555s # { 555s # _org_project_useful_interface_skeleton_handle_method_call, 555s # _org_project_useful_interface_skeleton_handle_get_property, 555s # _org_project_useful_interface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_useful_interface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 555s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #else 555s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #endif 555s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 555s # } 555s # Error: 555s # 555s # /tmp/tmpdrp9e58l/tmpdaip6kk5.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrp9e58l/tmpdaip6kk5.xml', '--output', '-', '--body'] 555s # Return code: 0 555s # Output: 555s # /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # const gchar *arg_arg_g, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 3); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # g_marshal_value_peek_string (param_values + 2), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.UsefulInterface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectUsefulInterface 555s # * @title: OrgProjectUsefulInterface 555s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 555s # 555s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 555s # { 555s # { 555s # -1, 555s # (gchar *) "arg_g", 555s # (gchar *) "g", 555s # NULL 555s # }, 555s # FALSE 555s # }; 555s # 555s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SingleArgMethodG", 555s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-single-arg-method-g", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.UsefulInterface", 555s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-useful-interface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_useful_interface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_useful_interface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_useful_interface_method_marshal_single_arg_method_g ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectUsefulInterface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * @arg_arg_g: Argument passed by remote caller. 555s # * 555s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 555s # * 555s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_g() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 555s # * 555s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 555s # */ 555s # g_signal_new ("handle-single-arg-method-g", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_useful_interface_method_marshal_single_arg_method_g, 555s # G_TYPE_BOOLEAN, 555s # 2, 555s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 555s # 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_g: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_g: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_useful_interface_call_single_arg_method_g ( 555s # OrgProjectUsefulInterface *proxy, 555s # const gchar *arg_arg_g, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodG", 555s # g_variant_new ("(g)", 555s # arg_arg_g), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_g_finish: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_g_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_g_sync: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_g: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_g_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # const gchar *arg_arg_g, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodG", 555s # g_variant_new ("(g)", 555s # arg_arg_g), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_complete_single_arg_method_g: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodG() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_useful_interface_complete_single_arg_method_g ( 555s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxy: 555s # * 555s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 555s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 555s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeleton: 555s # * 555s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_useful_interface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_useful_interface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_useful_interface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 555s # { 555s # _org_project_useful_interface_skeleton_handle_method_call, 555s # _org_project_useful_interface_skeleton_handle_get_property, 555s # _org_project_useful_interface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_useful_interface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 555s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #else 555s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #endif 555s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 555s # } 555s # Error: 555s # 555s # /tmp/tmpdrp9e58l/tmpfn8e92ii.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrp9e58l/tmpfn8e92ii.xml', '--output', '-', '--body'] 555s # Return code: 0 555s # Output: 555s # /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # GVariant *arg_arg_h, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 3); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # g_marshal_value_peek_variant (param_values + 2), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.UsefulInterface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectUsefulInterface 555s # * @title: OrgProjectUsefulInterface 555s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 555s # 555s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 555s # { 555s # { 555s # -1, 555s # (gchar *) "arg_h", 555s # (gchar *) "h", 555s # NULL 555s # }, 555s # FALSE 555s # }; 555s # 555s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SingleArgMethodH", 555s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-single-arg-method-h", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.UsefulInterface", 555s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-useful-interface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_useful_interface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_useful_interface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_useful_interface_method_marshal_single_arg_method_h ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectUsefulInterface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * @arg_arg_h: Argument passed by remote caller. 555s # * 555s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 555s # * 555s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_h() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 555s # * 555s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 555s # */ 555s # g_signal_new ("handle-single-arg-method-h", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_useful_interface_method_marshal_single_arg_method_h, 555s # G_TYPE_BOOLEAN, 555s # 2, 555s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 555s # 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_h: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_h: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_useful_interface_call_single_arg_method_h ( 555s # OrgProjectUsefulInterface *proxy, 555s # GVariant *arg_arg_h, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodH", 555s # g_variant_new ("(@h)", 555s # arg_arg_h), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_h_finish: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_h_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_h_sync: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_h: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_h_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # GVariant *arg_arg_h, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodH", 555s # g_variant_new ("(@h)", 555s # arg_arg_h), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_complete_single_arg_method_h: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodH() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_useful_interface_complete_single_arg_method_h ( 555s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxy: 555s # * 555s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 555s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 555s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeleton: 555s # * 555s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_useful_interface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_useful_interface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_useful_interface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 555s # { 555s # _org_project_useful_interface_skeleton_handle_method_call, 555s # _org_project_useful_interface_skeleton_handle_get_property, 555s # _org_project_useful_interface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_useful_interface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 555s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #else 555s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #endif 555s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 555s # } 555s # Error: 555s # 555s # /tmp/tmpdrp9e58l/tmp8so_jxa2.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrp9e58l/tmp8so_jxa2.xml', '--output', '-', '--body'] 555s # Return code: 0 555s # Output: 555s # /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # const gchar *arg_arg_ay, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 3); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # g_marshal_value_peek_string (param_values + 2), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.UsefulInterface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectUsefulInterface 555s # * @title: OrgProjectUsefulInterface 555s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 555s # 555s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 555s # { 555s # { 555s # -1, 555s # (gchar *) "arg_ay", 555s # (gchar *) "ay", 555s # NULL 555s # }, 555s # FALSE 555s # }; 555s # 555s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SingleArgMethodAy", 555s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-single-arg-method-ay", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.UsefulInterface", 555s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-useful-interface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_useful_interface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_useful_interface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectUsefulInterface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * @arg_arg_ay: Argument passed by remote caller. 555s # * 555s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 555s # * 555s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_ay() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 555s # * 555s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 555s # */ 555s # g_signal_new ("handle-single-arg-method-ay", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_useful_interface_method_marshal_single_arg_method_ay, 555s # G_TYPE_BOOLEAN, 555s # 2, 555s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 555s # 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_ay: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_ay: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_useful_interface_call_single_arg_method_ay ( 555s # OrgProjectUsefulInterface *proxy, 555s # const gchar *arg_arg_ay, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodAy", 555s # g_variant_new ("(^ay)", 555s # arg_arg_ay), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_ay_finish: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_ay_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_ay_sync: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_ay: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_ay_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # const gchar *arg_arg_ay, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodAy", 555s # g_variant_new ("(^ay)", 555s # arg_arg_ay), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_complete_single_arg_method_ay: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAy() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_useful_interface_complete_single_arg_method_ay ( 555s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxy: 555s # * 555s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 555s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 555s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeleton: 555s # * 555s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_useful_interface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_useful_interface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_useful_interface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 555s # { 555s # _org_project_useful_interface_skeleton_handle_method_call, 555s # _org_project_useful_interface_skeleton_handle_get_property, 555s # _org_project_useful_interface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_useful_interface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 555s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #else 555s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #endif 555s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 555s # } 555s # Error: 555s # 555s # /tmp/tmpdrp9e58l/tmpx2y1mv9x.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrp9e58l/tmpx2y1mv9x.xml', '--output', '-', '--body'] 555s # Return code: 0 555s # Output: 555s # /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # const gchar *const *arg_arg_as, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 3); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # g_marshal_value_peek_boxed (param_values + 2), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.UsefulInterface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectUsefulInterface 555s # * @title: OrgProjectUsefulInterface 555s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 555s # 555s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 555s # { 555s # { 555s # -1, 555s # (gchar *) "arg_as", 555s # (gchar *) "as", 555s # NULL 555s # }, 555s # FALSE 555s # }; 555s # 555s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SingleArgMethodAs", 555s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-single-arg-method-as", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.UsefulInterface", 555s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-useful-interface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_useful_interface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_useful_interface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_useful_interface_method_marshal_single_arg_method_as ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectUsefulInterface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * @arg_arg_as: Argument passed by remote caller. 555s # * 555s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 555s # * 555s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_as() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 555s # * 555s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 555s # */ 555s # g_signal_new ("handle-single-arg-method-as", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_useful_interface_method_marshal_single_arg_method_as, 555s # G_TYPE_BOOLEAN, 555s # 2, 555s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 555s # 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_as: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_as: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_useful_interface_call_single_arg_method_as ( 555s # OrgProjectUsefulInterface *proxy, 555s # const gchar *const *arg_arg_as, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodAs", 555s # g_variant_new ("(^as)", 555s # arg_arg_as), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_as_finish: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_as_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_as_sync: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_as: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_as_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # const gchar *const *arg_arg_as, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodAs", 555s # g_variant_new ("(^as)", 555s # arg_arg_as), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_complete_single_arg_method_as: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAs() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_useful_interface_complete_single_arg_method_as ( 555s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxy: 555s # * 555s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 555s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 555s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeleton: 555s # * 555s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_useful_interface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_useful_interface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_useful_interface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 555s # { 555s # _org_project_useful_interface_skeleton_handle_method_call, 555s # _org_project_useful_interface_skeleton_handle_get_property, 555s # _org_project_useful_interface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_useful_interface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 555s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #else 555s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #endif 555s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 555s # } 555s # Error: 555s # 555s # /tmp/tmpdrp9e58l/tmpvtt0k6fy.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrp9e58l/tmpvtt0k6fy.xml', '--output', '-', '--body'] 555s # Return code: 0 555s # Output: 555s # /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # const gchar *const *arg_arg_ao, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 3); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # g_marshal_value_peek_boxed (param_values + 2), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.UsefulInterface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectUsefulInterface 555s # * @title: OrgProjectUsefulInterface 555s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 555s # 555s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 555s # { 555s # { 555s # -1, 555s # (gchar *) "arg_ao", 555s # (gchar *) "ao", 555s # NULL 555s # }, 555s # FALSE 555s # }; 555s # 555s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SingleArgMethodAo", 555s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-single-arg-method-ao", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.UsefulInterface", 555s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-useful-interface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_useful_interface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_useful_interface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectUsefulInterface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * @arg_arg_ao: Argument passed by remote caller. 555s # * 555s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 555s # * 555s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_ao() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 555s # * 555s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 555s # */ 555s # g_signal_new ("handle-single-arg-method-ao", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_useful_interface_method_marshal_single_arg_method_ao, 555s # G_TYPE_BOOLEAN, 555s # 2, 555s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 555s # 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_ao: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_ao: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_useful_interface_call_single_arg_method_ao ( 555s # OrgProjectUsefulInterface *proxy, 555s # const gchar *const *arg_arg_ao, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodAo", 555s # g_variant_new ("(^ao)", 555s # arg_arg_ao), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_ao_finish: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_ao_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_ao_sync: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_ao: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_ao_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # const gchar *const *arg_arg_ao, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodAo", 555s # g_variant_new ("(^ao)", 555s # arg_arg_ao), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_complete_single_arg_method_ao: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAo() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_useful_interface_complete_single_arg_method_ao ( 555s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxy: 555s # * 555s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 555s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 555s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeleton: 555s # * 555s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_useful_interface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_useful_interface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_useful_interface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 555s # { 555s # _org_project_useful_interface_skeleton_handle_method_call, 555s # _org_project_useful_interface_skeleton_handle_get_property, 555s # _org_project_useful_interface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_useful_interface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 555s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #else 555s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #endif 555s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 555s # } 555s # Error: 555s # 555s # /tmp/tmpdrp9e58l/tmplwme7l5z.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrp9e58l/tmplwme7l5z.xml', '--output', '-', '--body'] 555s # Return code: 0 555s # Output: 555s # /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # const gchar *const *arg_arg_aay, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 3); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # g_marshal_value_peek_boxed (param_values + 2), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.UsefulInterface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectUsefulInterface 555s # * @title: OrgProjectUsefulInterface 555s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 555s # 555s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 555s # { 555s # { 555s # -1, 555s # (gchar *) "arg_aay", 555s # (gchar *) "aay", 555s # NULL 555s # }, 555s # FALSE 555s # }; 555s # 555s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SingleArgMethodAay", 555s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-single-arg-method-aay", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.UsefulInterface", 555s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-useful-interface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_useful_interface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_useful_interface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectUsefulInterface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * @arg_arg_aay: Argument passed by remote caller. 555s # * 555s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 555s # * 555s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_aay() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 555s # * 555s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 555s # */ 555s # g_signal_new ("handle-single-arg-method-aay", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_useful_interface_method_marshal_single_arg_method_aay, 555s # G_TYPE_BOOLEAN, 555s # 2, 555s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 555s # 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_aay: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_aay: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_useful_interface_call_single_arg_method_aay ( 555s # OrgProjectUsefulInterface *proxy, 555s # const gchar *const *arg_arg_aay, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodAay", 555s # g_variant_new ("(^aay)", 555s # arg_arg_aay), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_aay_finish: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_aay_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_aay_sync: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_aay: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_aay_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # const gchar *const *arg_arg_aay, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodAay", 555s # g_variant_new ("(^aay)", 555s # arg_arg_aay), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_complete_single_arg_method_aay: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAay() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_useful_interface_complete_single_arg_method_aay ( 555s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxy: 555s # * 555s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 555s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 555s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeleton: 555s # * 555s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_useful_interface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_useful_interface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_useful_interface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 555s # { 555s # _org_project_useful_interface_skeleton_handle_method_call, 555s # _org_project_useful_interface_skeleton_handle_get_property, 555s # _org_project_useful_interface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_useful_interface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 555s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #else 555s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #endif 555s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 555s # } 555s # Error: 555s # 555s # /tmp/tmpdrp9e58l/tmp9y1ad1vx.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrp9e58l/tmp9y1ad1vx.xml', '--output', '-', '--body'] 555s # Return code: 0 555s # Output: 555s # /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # GVariant *arg_arg_asv, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 3); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # g_marshal_value_peek_variant (param_values + 2), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.UsefulInterface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectUsefulInterface 555s # * @title: OrgProjectUsefulInterface 555s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 555s # 555s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 555s # { 555s # { 555s # -1, 555s # (gchar *) "arg_asv", 555s # (gchar *) "a{sv}", 555s # NULL 555s # }, 555s # FALSE 555s # }; 555s # 555s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SingleArgMethodAsv", 555s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-single-arg-method-asv", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 555s # { 555s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.UsefulInterface", 555s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-useful-interface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_useful_interface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_useful_interface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectUsefulInterface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 555s # */ 555s # 555s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * @arg_arg_asv: Argument passed by remote caller. 555s # * 555s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 555s # * 555s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_asv() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 555s # * 555s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 555s # */ 555s # g_signal_new ("handle-single-arg-method-asv", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_useful_interface_method_marshal_single_arg_method_asv, 555s # G_TYPE_BOOLEAN, 555s # 2, 555s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 555s # 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_asv: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_asv: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_useful_interface_call_single_arg_method_asv ( 555s # OrgProjectUsefulInterface *proxy, 555s # GVariant *arg_arg_asv, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodAsv", 555s # g_variant_new ("(@a{sv})", 555s # arg_arg_asv), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_asv_finish: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_asv_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_call_single_arg_method_asv_sync: 555s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 555s # * @arg_arg_asv: Argument to pass with the method invocation. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_useful_interface_call_single_arg_method_asv_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # GVariant *arg_arg_asv, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SingleArgMethodAsv", 555s # g_variant_new ("(@a{sv})", 555s # arg_arg_asv), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_complete_single_arg_method_asv: 555s # * @object: A #OrgProjectUsefulInterface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAsv() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_useful_interface_complete_single_arg_method_asv ( 555s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxy: 555s # * 555s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 555s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 555s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 555s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 555s # if (ret != NULL) 555s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeleton: 555s # * 555s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectUsefulInterfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_useful_interface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_useful_interface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_useful_interface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 555s # { 555s # _org_project_useful_interface_skeleton_handle_method_call, 555s # _org_project_useful_interface_skeleton_handle_get_property, 555s # _org_project_useful_interface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_useful_interface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 555s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #else 555s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 555s # #endif 555s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_useful_interface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_useful_interface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectUsefulInterface * 555s # org_project_useful_interface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 555s # } 555s # Error: 556s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 556s # gdbus-codegen: /usr/bin/gdbus-codegen 556s # tmpdir: /tmp/tmphem35ey7 556s # /tmp/tmphem35ey7/tmp4xokn8pt.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphem35ey7/tmp4xokn8pt.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_b", 556s # (gchar *) "b", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodB", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-single-arg-method-b", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_b ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_b() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-single-arg-method-b", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_b, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_b: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_b ( 556s # OrgProjectUsefulInterface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodB", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_b_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_b_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # gboolean *out_arg_b, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(b)", 556s # out_arg_b); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_b_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_b_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # gboolean *out_arg_b, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodB", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(b)", 556s # out_arg_b); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_b: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @arg_b: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodB() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_b ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # gboolean arg_b) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(b)", 556s # arg_b)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s # 556s # /tmp/tmphem35ey7/tmptthlgo_o.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphem35ey7/tmptthlgo_o.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_y", 556s # (gchar *) "y", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodY", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-single-arg-method-y", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_y ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_y() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-single-arg-method-y", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_y, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_y: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_y ( 556s # OrgProjectUsefulInterface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodY", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_y_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_y_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # guchar *out_arg_y, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(y)", 556s # out_arg_y); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_y_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_y_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # guchar *out_arg_y, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodY", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(y)", 556s # out_arg_y); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_y: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @arg_y: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodY() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_y ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # guchar arg_y) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(y)", 556s # arg_y)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s # 556s # /tmp/tmphem35ey7/tmph6gfs2l4.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphem35ey7/tmph6gfs2l4.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_n", 556s # (gchar *) "n", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodN", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-single-arg-method-n", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_n ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_n() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-single-arg-method-n", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_n, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_n: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_n ( 556s # OrgProjectUsefulInterface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodN", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_n_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_n_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # gint16 *out_arg_n, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(n)", 556s # out_arg_n); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_n_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_n_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # gint16 *out_arg_n, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodN", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(n)", 556s # out_arg_n); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_n: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @arg_n: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodN() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_n ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # gint16 arg_n) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(n)", 556s # arg_n)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s # 556s # /tmp/tmphem35ey7/tmpyq1isxya.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphem35ey7/tmpyq1isxya.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_q", 556s # (gchar *) "q", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodQ", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-single-arg-method-q", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_q ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_q() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-single-arg-method-q", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_q, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_q: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_q ( 556s # OrgProjectUsefulInterface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodQ", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_q_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_q_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # guint16 *out_arg_q, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(q)", 556s # out_arg_q); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_q_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_q_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # guint16 *out_arg_q, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodQ", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(q)", 556s # out_arg_q); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_q: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @arg_q: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodQ() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_q ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # guint16 arg_q) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(q)", 556s # arg_q)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s # 556s # /tmp/tmphem35ey7/tmpgcvsj1kh.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphem35ey7/tmpgcvsj1kh.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_i", 556s # (gchar *) "i", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodI", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-single-arg-method-i", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_i ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_i() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-single-arg-method-i", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_i, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_i: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_i ( 556s # OrgProjectUsefulInterface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodI", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_i_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_i_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # gint *out_arg_i, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(i)", 556s # out_arg_i); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_i_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_i_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # gint *out_arg_i, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodI", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(i)", 556s # out_arg_i); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_i: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @arg_i: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodI() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_i ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # gint arg_i) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(i)", 556s # arg_i)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s # 556s # /tmp/tmphem35ey7/tmp_ryqenm6.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphem35ey7/tmp_ryqenm6.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_u", 556s # (gchar *) "u", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodU", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-single-arg-method-u", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_u ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_u() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-single-arg-method-u", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_u, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_u: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_u ( 556s # OrgProjectUsefulInterface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodU", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_u_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_u_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # guint *out_arg_u, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(u)", 556s # out_arg_u); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_u_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_u_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # guint *out_arg_u, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodU", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(u)", 556s # out_arg_u); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_u: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @arg_u: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodU() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_u ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # guint arg_u) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(u)", 556s # arg_u)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s # 556s # /tmp/tmphem35ey7/tmpiihsoonu.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphem35ey7/tmpiihsoonu.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_x", 556s # (gchar *) "x", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodX", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-single-arg-method-x", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_x ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_x() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-single-arg-method-x", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_x, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_x: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_x ( 556s # OrgProjectUsefulInterface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodX", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_x_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_x_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # gint64 *out_arg_x, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(x)", 556s # out_arg_x); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_x_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_x_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # gint64 *out_arg_x, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodX", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(x)", 556s # out_arg_x); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_x: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @arg_x: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodX() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_x ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # gint64 arg_x) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(x)", 556s # arg_x)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s # 556s # /tmp/tmphem35ey7/tmpiqzuc8tn.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphem35ey7/tmpiqzuc8tn.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_t", 556s # (gchar *) "t", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodT", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-single-arg-method-t", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_t ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_t() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-single-arg-method-t", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_t, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_t: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_t ( 556s # OrgProjectUsefulInterface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodT", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_t_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_t_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # guint64 *out_arg_t, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(t)", 556s # out_arg_t); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_t_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_t_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # guint64 *out_arg_t, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodT", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(t)", 556s # out_arg_t); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_t: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @arg_t: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodT() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_t ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # guint64 arg_t) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(t)", 556s # arg_t)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s # 556s # /tmp/tmphem35ey7/tmpl44x9gdz.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphem35ey7/tmpl44x9gdz.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_d", 556s # (gchar *) "d", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodD", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-single-arg-method-d", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_d ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_d() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-single-arg-method-d", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_d, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_d: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_d ( 556s # OrgProjectUsefulInterface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodD", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_d_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_d_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # gdouble *out_arg_d, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(d)", 556s # out_arg_d); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_d_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_d_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # gdouble *out_arg_d, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodD", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(d)", 556s # out_arg_d); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_d: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @arg_d: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodD() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_d ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # gdouble arg_d) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(d)", 556s # arg_d)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s # 556s # /tmp/tmphem35ey7/tmp3f82aru9.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphem35ey7/tmp3f82aru9.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_s", 556s # (gchar *) "s", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodS", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-single-arg-method-s", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_s ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_s() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-single-arg-method-s", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_s, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_s: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_s ( 556s # OrgProjectUsefulInterface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodS", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_s_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_s_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # gchar **out_arg_s, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(s)", 556s # out_arg_s); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_s_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_s_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # gchar **out_arg_s, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodS", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(s)", 556s # out_arg_s); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_s: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @arg_s: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodS() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_s ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # const gchar *arg_s) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(s)", 556s # arg_s)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s # 556s # /tmp/tmphem35ey7/tmp9ts0188m.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphem35ey7/tmp9ts0188m.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_o", 556s # (gchar *) "o", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodO", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-single-arg-method-o", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_o ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_o() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-single-arg-method-o", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_o, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_o: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_o ( 556s # OrgProjectUsefulInterface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodO", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_o_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_o_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # gchar **out_arg_o, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(o)", 556s # out_arg_o); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_o_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_o_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # gchar **out_arg_o, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodO", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(o)", 556s # out_arg_o); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_o: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @arg_o: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodO() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_o ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # const gchar *arg_o) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(o)", 556s # arg_o)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s # 556s # /tmp/tmphem35ey7/tmprdoo23gd.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphem35ey7/tmprdoo23gd.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_g", 556s # (gchar *) "g", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodG", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-single-arg-method-g", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_g ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_g() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-single-arg-method-g", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_g, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_g: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_g ( 556s # OrgProjectUsefulInterface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodG", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_g_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_g_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # gchar **out_arg_g, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(g)", 556s # out_arg_g); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_g_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_g_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # gchar **out_arg_g, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodG", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(g)", 556s # out_arg_g); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_g: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @arg_g: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodG() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_g ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # const gchar *arg_g) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(g)", 556s # arg_g)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s # 556s # /tmp/tmphem35ey7/tmp_m35mutf.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphem35ey7/tmp_m35mutf.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_h", 556s # (gchar *) "h", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodH", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-single-arg-method-h", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_h ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_h() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-single-arg-method-h", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_h, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_h: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_h ( 556s # OrgProjectUsefulInterface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodH", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_h_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_h_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GVariant **out_arg_h, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(@h)", 556s # out_arg_h); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_h_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_h_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # GVariant **out_arg_h, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodH", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(@h)", 556s # out_arg_h); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_h: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @arg_h: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodH() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_h ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # GVariant *arg_h) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(@h)", 556s # arg_h)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s # 556s # /tmp/tmphem35ey7/tmppe5t0w88.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphem35ey7/tmppe5t0w88.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_ay", 556s # (gchar *) "ay", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodAy", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-single-arg-method-ay", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_ay() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-single-arg-method-ay", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_ay, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_ay: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_ay ( 556s # OrgProjectUsefulInterface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAy", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_ay_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_ay_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # gchar **out_arg_ay, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(^ay)", 556s # out_arg_ay); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_ay_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_ay_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # gchar **out_arg_ay, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAy", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(^ay)", 556s # out_arg_ay); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_ay: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @arg_ay: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAy() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_ay ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # const gchar *arg_ay) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(^ay)", 556s # arg_ay)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s # 556s # /tmp/tmphem35ey7/tmpmk0xcv5t.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphem35ey7/tmpmk0xcv5t.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_as", 556s # (gchar *) "as", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodAs", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-single-arg-method-as", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_as ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_as() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-single-arg-method-as", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_as, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_as: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_as ( 556s # OrgProjectUsefulInterface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAs", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_as_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_as_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # gchar ***out_arg_as, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(^as)", 556s # out_arg_as); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_as_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_as_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # gchar ***out_arg_as, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAs", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(^as)", 556s # out_arg_as); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_as: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @arg_as: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAs() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_as ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # const gchar *const *arg_as) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(^as)", 556s # arg_as)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s # 556s # /tmp/tmphem35ey7/tmpa04_l8vx.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphem35ey7/tmpa04_l8vx.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_ao", 556s # (gchar *) "ao", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodAo", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-single-arg-method-ao", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_ao() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-single-arg-method-ao", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_ao, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_ao: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_ao ( 556s # OrgProjectUsefulInterface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAo", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_ao_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_ao_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # gchar ***out_arg_ao, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(^ao)", 556s # out_arg_ao); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_ao_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_ao_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # gchar ***out_arg_ao, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAo", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(^ao)", 556s # out_arg_ao); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_ao: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @arg_ao: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAo() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_ao ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # const gchar *const *arg_ao) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(^ao)", 556s # arg_ao)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s # 556s # /tmp/tmphem35ey7/tmp4rtmxfb3.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphem35ey7/tmp4rtmxfb3.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_aay", 556s # (gchar *) "aay", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodAay", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-single-arg-method-aay", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_aay() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-single-arg-method-aay", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_aay, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_aay: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_aay ( 556s # OrgProjectUsefulInterface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAay", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_aay_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_aay_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # gchar ***out_arg_aay, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(^aay)", 556s # out_arg_aay); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_aay_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_aay_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # gchar ***out_arg_aay, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAay", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(^aay)", 556s # out_arg_aay); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_aay: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @arg_aay: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAay() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_aay ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # const gchar *const *arg_aay) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(^aay)", 556s # arg_aay)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s # 556s # /tmp/tmphem35ey7/tmpwi67z6vb.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphem35ey7/tmpwi67z6vb.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_asv", 556s # (gchar *) "a{sv}", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodAsv", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-single-arg-method-asv", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_asv() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-single-arg-method-asv", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_asv, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_asv: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_asv ( 556s # OrgProjectUsefulInterface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAsv", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_asv_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_asv_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GVariant **out_arg_asv, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(@a{sv})", 556s # out_arg_asv); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_asv_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_asv_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # GVariant **out_arg_asv, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAsv", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(@a{sv})", 556s # out_arg_asv); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_asv: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @arg_asv: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAsv() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_asv ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # GVariant *arg_asv) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(@a{sv})", 556s # arg_asv)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 556s # gdbus-codegen: /usr/bin/gdbus-codegen 556s # tmpdir: /tmp/tmpz8ox6q36 556s # /tmp/tmpz8ox6q36/tmp9qh3r1ir.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz8ox6q36/tmp9qh3r1ir.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # gboolean arg_an_b, 556s # guchar arg_an_y, 556s # gint16 arg_an_n, 556s # guint16 arg_an_q, 556s # gint arg_an_i, 556s # guint arg_an_u, 556s # gint64 arg_an_x, 556s # guint64 arg_an_t, 556s # gdouble arg_an_d, 556s # const gchar *arg_an_s, 556s # const gchar *arg_an_o, 556s # const gchar *arg_an_g, 556s # GVariant *arg_an_h, 556s # const gchar *arg_an_ay, 556s # const gchar *const *arg_an_as, 556s # const gchar *const *arg_an_ao, 556s # const gchar *const *arg_an_aay, 556s # GVariant *arg_an_asv, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 20); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_boolean (param_values + 2), 556s # g_marshal_value_peek_uchar (param_values + 3), 556s # g_marshal_value_peek_int (param_values + 4), 556s # g_marshal_value_peek_uint (param_values + 5), 556s # g_marshal_value_peek_int (param_values + 6), 556s # g_marshal_value_peek_uint (param_values + 7), 556s # g_marshal_value_peek_int64 (param_values + 8), 556s # g_marshal_value_peek_uint64 (param_values + 9), 556s # g_marshal_value_peek_double (param_values + 10), 556s # g_marshal_value_peek_string (param_values + 11), 556s # g_marshal_value_peek_string (param_values + 12), 556s # g_marshal_value_peek_string (param_values + 13), 556s # g_marshal_value_peek_variant (param_values + 14), 556s # g_marshal_value_peek_string (param_values + 15), 556s # g_marshal_value_peek_boxed (param_values + 16), 556s # g_marshal_value_peek_boxed (param_values + 17), 556s # g_marshal_value_peek_boxed (param_values + 18), 556s # g_marshal_value_peek_variant (param_values + 19), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.CallableIface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectCallableIface 556s # * @title: OrgProjectCallableIface 556s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.CallableIface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_b", 556s # (gchar *) "b", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_y", 556s # (gchar *) "y", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_n", 556s # (gchar *) "n", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_q", 556s # (gchar *) "q", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_i", 556s # (gchar *) "i", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_u", 556s # (gchar *) "u", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_x", 556s # (gchar *) "x", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_t", 556s # (gchar *) "t", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_d", 556s # (gchar *) "d", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_s", 556s # (gchar *) "s", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_o", 556s # (gchar *) "o", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_g", 556s # (gchar *) "g", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_h", 556s # (gchar *) "h", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_ay", 556s # (gchar *) "ay", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_as", 556s # (gchar *) "as", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_ao", 556s # (gchar *) "ao", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_aay", 556s # (gchar *) "aay", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_asv", 556s # (gchar *) "a{sv}", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 556s # { 556s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 556s # { 556s # { 556s # -1, 556s # (gchar *) "MethodWithManyArgs", 556s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-method-with-many-args", 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_b", 556s # (gchar *) "b", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_y", 556s # (gchar *) "y", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_n", 556s # (gchar *) "n", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_q", 556s # (gchar *) "q", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_i", 556s # (gchar *) "i", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_u", 556s # (gchar *) "u", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_x", 556s # (gchar *) "x", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_t", 556s # (gchar *) "t", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_d", 556s # (gchar *) "d", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_s", 556s # (gchar *) "s", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_o", 556s # (gchar *) "o", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_g", 556s # (gchar *) "g", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_h", 556s # (gchar *) "h", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_ay", 556s # (gchar *) "ay", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_as", 556s # (gchar *) "as", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_ao", 556s # (gchar *) "ao", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_aay", 556s # (gchar *) "aay", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_asv", 556s # (gchar *) "a{sv}", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 556s # { 556s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 556s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 556s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 556s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 556s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 556s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 556s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 556s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 556s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 556s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 556s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 556s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 556s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 556s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 556s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 556s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 556s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 556s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SameMethodWithManyArgs", 556s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-same-method-with-many-args", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 556s # { 556s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 556s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.CallableIface", 556s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-callable-iface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_callable_iface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_callable_iface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_callable_iface_method_marshal_method_with_many_args ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectCallableIface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 556s # */ 556s # 556s # /** 556s # * OrgProjectCallableIfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 556s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.CallableIface. 556s # */ 556s # 556s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectCallableIface::handle-method-with-many-args: 556s # * @object: A #OrgProjectCallableIface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_an_b: Argument passed by remote caller. 556s # * @arg_an_y: Argument passed by remote caller. 556s # * @arg_an_n: Argument passed by remote caller. 556s # * @arg_an_q: Argument passed by remote caller. 556s # * @arg_an_i: Argument passed by remote caller. 556s # * @arg_an_u: Argument passed by remote caller. 556s # * @arg_an_x: Argument passed by remote caller. 556s # * @arg_an_t: Argument passed by remote caller. 556s # * @arg_an_d: Argument passed by remote caller. 556s # * @arg_an_s: Argument passed by remote caller. 556s # * @arg_an_o: Argument passed by remote caller. 556s # * @arg_an_g: Argument passed by remote caller. 556s # * @arg_an_h: Argument passed by remote caller. 556s # * @arg_an_ay: Argument passed by remote caller. 556s # * @arg_an_as: Argument passed by remote caller. 556s # * @arg_an_ao: Argument passed by remote caller. 556s # * @arg_an_aay: Argument passed by remote caller. 556s # * @arg_an_asv: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_callable_iface_complete_method_with_many_args() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-method-with-many-args", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_callable_iface_method_marshal_method_with_many_args, 556s # G_TYPE_BOOLEAN, 556s # 19, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN, G_TYPE_UCHAR, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT64, G_TYPE_UINT64, G_TYPE_DOUBLE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VARIANT, G_TYPE_STRING, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_VARIANT); 556s # 556s # /** 556s # * OrgProjectCallableIface::handle-same-method-with-many-args: 556s # * @object: A #OrgProjectCallableIface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_an_b: Argument passed by remote caller. 556s # * @arg_an_y: Argument passed by remote caller. 556s # * @arg_an_n: Argument passed by remote caller. 556s # * @arg_an_q: Argument passed by remote caller. 556s # * @arg_an_i: Argument passed by remote caller. 556s # * @arg_an_u: Argument passed by remote caller. 556s # * @arg_an_x: Argument passed by remote caller. 556s # * @arg_an_t: Argument passed by remote caller. 556s # * @arg_an_d: Argument passed by remote caller. 556s # * @arg_an_s: Argument passed by remote caller. 556s # * @arg_an_o: Argument passed by remote caller. 556s # * @arg_an_g: Argument passed by remote caller. 556s # * @arg_an_h: Argument passed by remote caller. 556s # * @arg_an_ay: Argument passed by remote caller. 556s # * @arg_an_as: Argument passed by remote caller. 556s # * @arg_an_ao: Argument passed by remote caller. 556s # * @arg_an_aay: Argument passed by remote caller. 556s # * @arg_an_asv: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_callable_iface_complete_same_method_with_many_args() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-same-method-with-many-args", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_callable_iface_method_marshal_same_method_with_many_args, 556s # G_TYPE_BOOLEAN, 556s # 19, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN, G_TYPE_UCHAR, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT64, G_TYPE_UINT64, G_TYPE_DOUBLE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VARIANT, G_TYPE_STRING, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_VARIANT); 556s # 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_call_method_with_many_args: 556s # * @proxy: A #OrgProjectCallableIfaceProxy. 556s # * @arg_an_b: Argument to pass with the method invocation. 556s # * @arg_an_y: Argument to pass with the method invocation. 556s # * @arg_an_n: Argument to pass with the method invocation. 556s # * @arg_an_q: Argument to pass with the method invocation. 556s # * @arg_an_i: Argument to pass with the method invocation. 556s # * @arg_an_u: Argument to pass with the method invocation. 556s # * @arg_an_x: Argument to pass with the method invocation. 556s # * @arg_an_t: Argument to pass with the method invocation. 556s # * @arg_an_d: Argument to pass with the method invocation. 556s # * @arg_an_s: Argument to pass with the method invocation. 556s # * @arg_an_o: Argument to pass with the method invocation. 556s # * @arg_an_g: Argument to pass with the method invocation. 556s # * @arg_an_h: Argument to pass with the method invocation. 556s # * @arg_an_ay: Argument to pass with the method invocation. 556s # * @arg_an_as: Argument to pass with the method invocation. 556s # * @arg_an_ao: Argument to pass with the method invocation. 556s # * @arg_an_aay: Argument to pass with the method invocation. 556s # * @arg_an_asv: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 556s # * 556s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_callable_iface_call_method_with_many_args ( 556s # OrgProjectCallableIface *proxy, 556s # gboolean arg_an_b, 556s # guchar arg_an_y, 556s # gint16 arg_an_n, 556s # guint16 arg_an_q, 556s # gint arg_an_i, 556s # guint arg_an_u, 556s # gint64 arg_an_x, 556s # guint64 arg_an_t, 556s # gdouble arg_an_d, 556s # const gchar *arg_an_s, 556s # const gchar *arg_an_o, 556s # const gchar *arg_an_g, 556s # GVariant *arg_an_h, 556s # const gchar *arg_an_ay, 556s # const gchar *const *arg_an_as, 556s # const gchar *const *arg_an_ao, 556s # const gchar *const *arg_an_aay, 556s # GVariant *arg_an_asv, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "MethodWithManyArgs", 556s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 556s # arg_an_b, 556s # arg_an_y, 556s # arg_an_n, 556s # arg_an_q, 556s # arg_an_i, 556s # arg_an_u, 556s # arg_an_x, 556s # arg_an_t, 556s # arg_an_d, 556s # arg_an_s, 556s # arg_an_o, 556s # arg_an_g, 556s # arg_an_h, 556s # arg_an_ay, 556s # arg_an_as, 556s # arg_an_ao, 556s # arg_an_aay, 556s # arg_an_asv), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_call_method_with_many_args_finish: 556s # * @proxy: A #OrgProjectCallableIfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_callable_iface_call_method_with_many_args_finish ( 556s # OrgProjectCallableIface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_call_method_with_many_args_sync: 556s # * @proxy: A #OrgProjectCallableIfaceProxy. 556s # * @arg_an_b: Argument to pass with the method invocation. 556s # * @arg_an_y: Argument to pass with the method invocation. 556s # * @arg_an_n: Argument to pass with the method invocation. 556s # * @arg_an_q: Argument to pass with the method invocation. 556s # * @arg_an_i: Argument to pass with the method invocation. 556s # * @arg_an_u: Argument to pass with the method invocation. 556s # * @arg_an_x: Argument to pass with the method invocation. 556s # * @arg_an_t: Argument to pass with the method invocation. 556s # * @arg_an_d: Argument to pass with the method invocation. 556s # * @arg_an_s: Argument to pass with the method invocation. 556s # * @arg_an_o: Argument to pass with the method invocation. 556s # * @arg_an_g: Argument to pass with the method invocation. 556s # * @arg_an_h: Argument to pass with the method invocation. 556s # * @arg_an_ay: Argument to pass with the method invocation. 556s # * @arg_an_as: Argument to pass with the method invocation. 556s # * @arg_an_ao: Argument to pass with the method invocation. 556s # * @arg_an_aay: Argument to pass with the method invocation. 556s # * @arg_an_asv: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_callable_iface_call_method_with_many_args_sync ( 556s # OrgProjectCallableIface *proxy, 556s # gboolean arg_an_b, 556s # guchar arg_an_y, 556s # gint16 arg_an_n, 556s # guint16 arg_an_q, 556s # gint arg_an_i, 556s # guint arg_an_u, 556s # gint64 arg_an_x, 556s # guint64 arg_an_t, 556s # gdouble arg_an_d, 556s # const gchar *arg_an_s, 556s # const gchar *arg_an_o, 556s # const gchar *arg_an_g, 556s # GVariant *arg_an_h, 556s # const gchar *arg_an_ay, 556s # const gchar *const *arg_an_as, 556s # const gchar *const *arg_an_ao, 556s # const gchar *const *arg_an_aay, 556s # GVariant *arg_an_asv, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "MethodWithManyArgs", 556s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 556s # arg_an_b, 556s # arg_an_y, 556s # arg_an_n, 556s # arg_an_q, 556s # arg_an_i, 556s # arg_an_u, 556s # arg_an_x, 556s # arg_an_t, 556s # arg_an_d, 556s # arg_an_s, 556s # arg_an_o, 556s # arg_an_g, 556s # arg_an_h, 556s # arg_an_ay, 556s # arg_an_as, 556s # arg_an_ao, 556s # arg_an_aay, 556s # arg_an_asv), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_call_same_method_with_many_args: 556s # * @proxy: A #OrgProjectCallableIfaceProxy. 556s # * @arg_an_b: Argument to pass with the method invocation. 556s # * @arg_an_y: Argument to pass with the method invocation. 556s # * @arg_an_n: Argument to pass with the method invocation. 556s # * @arg_an_q: Argument to pass with the method invocation. 556s # * @arg_an_i: Argument to pass with the method invocation. 556s # * @arg_an_u: Argument to pass with the method invocation. 556s # * @arg_an_x: Argument to pass with the method invocation. 556s # * @arg_an_t: Argument to pass with the method invocation. 556s # * @arg_an_d: Argument to pass with the method invocation. 556s # * @arg_an_s: Argument to pass with the method invocation. 556s # * @arg_an_o: Argument to pass with the method invocation. 556s # * @arg_an_g: Argument to pass with the method invocation. 556s # * @arg_an_h: Argument to pass with the method invocation. 556s # * @arg_an_ay: Argument to pass with the method invocation. 556s # * @arg_an_as: Argument to pass with the method invocation. 556s # * @arg_an_ao: Argument to pass with the method invocation. 556s # * @arg_an_aay: Argument to pass with the method invocation. 556s # * @arg_an_asv: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 556s # * 556s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_callable_iface_call_same_method_with_many_args ( 556s # OrgProjectCallableIface *proxy, 556s # gboolean arg_an_b, 556s # guchar arg_an_y, 556s # gint16 arg_an_n, 556s # guint16 arg_an_q, 556s # gint arg_an_i, 556s # guint arg_an_u, 556s # gint64 arg_an_x, 556s # guint64 arg_an_t, 556s # gdouble arg_an_d, 556s # const gchar *arg_an_s, 556s # const gchar *arg_an_o, 556s # const gchar *arg_an_g, 556s # GVariant *arg_an_h, 556s # const gchar *arg_an_ay, 556s # const gchar *const *arg_an_as, 556s # const gchar *const *arg_an_ao, 556s # const gchar *const *arg_an_aay, 556s # GVariant *arg_an_asv, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SameMethodWithManyArgs", 556s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 556s # arg_an_b, 556s # arg_an_y, 556s # arg_an_n, 556s # arg_an_q, 556s # arg_an_i, 556s # arg_an_u, 556s # arg_an_x, 556s # arg_an_t, 556s # arg_an_d, 556s # arg_an_s, 556s # arg_an_o, 556s # arg_an_g, 556s # arg_an_h, 556s # arg_an_ay, 556s # arg_an_as, 556s # arg_an_ao, 556s # arg_an_aay, 556s # arg_an_asv), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_call_same_method_with_many_args_finish: 556s # * @proxy: A #OrgProjectCallableIfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_callable_iface_call_same_method_with_many_args_finish ( 556s # OrgProjectCallableIface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_call_same_method_with_many_args_sync: 556s # * @proxy: A #OrgProjectCallableIfaceProxy. 556s # * @arg_an_b: Argument to pass with the method invocation. 556s # * @arg_an_y: Argument to pass with the method invocation. 556s # * @arg_an_n: Argument to pass with the method invocation. 556s # * @arg_an_q: Argument to pass with the method invocation. 556s # * @arg_an_i: Argument to pass with the method invocation. 556s # * @arg_an_u: Argument to pass with the method invocation. 556s # * @arg_an_x: Argument to pass with the method invocation. 556s # * @arg_an_t: Argument to pass with the method invocation. 556s # * @arg_an_d: Argument to pass with the method invocation. 556s # * @arg_an_s: Argument to pass with the method invocation. 556s # * @arg_an_o: Argument to pass with the method invocation. 556s # * @arg_an_g: Argument to pass with the method invocation. 556s # * @arg_an_h: Argument to pass with the method invocation. 556s # * @arg_an_ay: Argument to pass with the method invocation. 556s # * @arg_an_as: Argument to pass with the method invocation. 556s # * @arg_an_ao: Argument to pass with the method invocation. 556s # * @arg_an_aay: Argument to pass with the method invocation. 556s # * @arg_an_asv: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_callable_iface_call_same_method_with_many_args_sync ( 556s # OrgProjectCallableIface *proxy, 556s # gboolean arg_an_b, 556s # guchar arg_an_y, 556s # gint16 arg_an_n, 556s # guint16 arg_an_q, 556s # gint arg_an_i, 556s # guint arg_an_u, 556s # gint64 arg_an_x, 556s # guint64 arg_an_t, 556s # gdouble arg_an_d, 556s # const gchar *arg_an_s, 556s # const gchar *arg_an_o, 556s # const gchar *arg_an_g, 556s # GVariant *arg_an_h, 556s # const gchar *arg_an_ay, 556s # const gchar *const *arg_an_as, 556s # const gchar *const *arg_an_ao, 556s # const gchar *const *arg_an_aay, 556s # GVariant *arg_an_asv, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SameMethodWithManyArgs", 556s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 556s # arg_an_b, 556s # arg_an_y, 556s # arg_an_n, 556s # arg_an_q, 556s # arg_an_i, 556s # arg_an_u, 556s # arg_an_x, 556s # arg_an_t, 556s # arg_an_d, 556s # arg_an_s, 556s # arg_an_o, 556s # arg_an_g, 556s # arg_an_h, 556s # arg_an_ay, 556s # arg_an_as, 556s # arg_an_ao, 556s # arg_an_aay, 556s # arg_an_asv), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_complete_method_with_many_args: 556s # * @object: A #OrgProjectCallableIface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the MethodWithManyArgs() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_callable_iface_complete_method_with_many_args ( 556s # OrgProjectCallableIface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_complete_same_method_with_many_args: 556s # * @object: A #OrgProjectCallableIface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the SameMethodWithManyArgs() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_callable_iface_complete_same_method_with_many_args ( 556s # OrgProjectCallableIface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectCallableIfaceProxy: 556s # * 556s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectCallableIfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectCallableIfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectCallableIfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_callable_iface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 556s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 556s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_callable_iface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectCallableIface * 556s # org_project_callable_iface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_CALLABLE_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectCallableIface * 556s # org_project_callable_iface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_CALLABLE_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_callable_iface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_callable_iface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectCallableIface * 556s # org_project_callable_iface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_CALLABLE_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectCallableIface * 556s # org_project_callable_iface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_CALLABLE_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectCallableIfaceSkeleton: 556s # * 556s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectCallableIfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectCallableIfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectCallableIfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_callable_iface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_callable_iface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_callable_iface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 556s # { 556s # _org_project_callable_iface_skeleton_handle_method_call, 556s # _org_project_callable_iface_skeleton_handle_get_property, 556s # _org_project_callable_iface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_callable_iface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_callable_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.CallableIface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_callable_iface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectCallableIface * 556s # org_project_callable_iface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.OtherCallableIface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectOtherCallableIface 556s # * @title: OrgProjectOtherCallableIface 556s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_b", 556s # (gchar *) "b", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_y", 556s # (gchar *) "y", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_n", 556s # (gchar *) "n", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_q", 556s # (gchar *) "q", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_i", 556s # (gchar *) "i", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_u", 556s # (gchar *) "u", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_x", 556s # (gchar *) "x", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_t", 556s # (gchar *) "t", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_d", 556s # (gchar *) "d", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_s", 556s # (gchar *) "s", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_o", 556s # (gchar *) "o", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_g", 556s # (gchar *) "g", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_h", 556s # (gchar *) "h", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_ay", 556s # (gchar *) "ay", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_as", 556s # (gchar *) "as", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_ao", 556s # (gchar *) "ao", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_aay", 556s # (gchar *) "aay", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_asv", 556s # (gchar *) "a{sv}", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 556s # { 556s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 556s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 556s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 556s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 556s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 556s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 556s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 556s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 556s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 556s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 556s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 556s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 556s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 556s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 556s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 556s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 556s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 556s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 556s # { 556s # { 556s # -1, 556s # (gchar *) "MethodWithManyArgs", 556s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-method-with-many-args", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 556s # { 556s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.OtherCallableIface", 556s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-other-callable-iface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_other_callable_iface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_other_callable_iface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_other_callable_iface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectOtherCallableIface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 556s # */ 556s # 556s # /** 556s # * OrgProjectOtherCallableIfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 556s # */ 556s # 556s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 556s # * @object: A #OrgProjectOtherCallableIface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_an_b: Argument passed by remote caller. 556s # * @arg_an_y: Argument passed by remote caller. 556s # * @arg_an_n: Argument passed by remote caller. 556s # * @arg_an_q: Argument passed by remote caller. 556s # * @arg_an_i: Argument passed by remote caller. 556s # * @arg_an_u: Argument passed by remote caller. 556s # * @arg_an_x: Argument passed by remote caller. 556s # * @arg_an_t: Argument passed by remote caller. 556s # * @arg_an_d: Argument passed by remote caller. 556s # * @arg_an_s: Argument passed by remote caller. 556s # * @arg_an_o: Argument passed by remote caller. 556s # * @arg_an_g: Argument passed by remote caller. 556s # * @arg_an_h: Argument passed by remote caller. 556s # * @arg_an_ay: Argument passed by remote caller. 556s # * @arg_an_as: Argument passed by remote caller. 556s # * @arg_an_ao: Argument passed by remote caller. 556s # * @arg_an_aay: Argument passed by remote caller. 556s # * @arg_an_asv: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_other_callable_iface_complete_method_with_many_args() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-method-with-many-args", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_other_callable_iface_method_marshal_method_with_many_args, 556s # G_TYPE_BOOLEAN, 556s # 19, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN, G_TYPE_UCHAR, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT64, G_TYPE_UINT64, G_TYPE_DOUBLE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VARIANT, G_TYPE_STRING, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_VARIANT); 556s # 556s # } 556s # 556s # /** 556s # * org_project_other_callable_iface_call_method_with_many_args: 556s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 556s # * @arg_an_b: Argument to pass with the method invocation. 556s # * @arg_an_y: Argument to pass with the method invocation. 556s # * @arg_an_n: Argument to pass with the method invocation. 556s # * @arg_an_q: Argument to pass with the method invocation. 556s # * @arg_an_i: Argument to pass with the method invocation. 556s # * @arg_an_u: Argument to pass with the method invocation. 556s # * @arg_an_x: Argument to pass with the method invocation. 556s # * @arg_an_t: Argument to pass with the method invocation. 556s # * @arg_an_d: Argument to pass with the method invocation. 556s # * @arg_an_s: Argument to pass with the method invocation. 556s # * @arg_an_o: Argument to pass with the method invocation. 556s # * @arg_an_g: Argument to pass with the method invocation. 556s # * @arg_an_h: Argument to pass with the method invocation. 556s # * @arg_an_ay: Argument to pass with the method invocation. 556s # * @arg_an_as: Argument to pass with the method invocation. 556s # * @arg_an_ao: Argument to pass with the method invocation. 556s # * @arg_an_aay: Argument to pass with the method invocation. 556s # * @arg_an_asv: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 556s # * 556s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_other_callable_iface_call_method_with_many_args ( 556s # OrgProjectOtherCallableIface *proxy, 556s # gboolean arg_an_b, 556s # guchar arg_an_y, 556s # gint16 arg_an_n, 556s # guint16 arg_an_q, 556s # gint arg_an_i, 556s # guint arg_an_u, 556s # gint64 arg_an_x, 556s # guint64 arg_an_t, 556s # gdouble arg_an_d, 556s # const gchar *arg_an_s, 556s # const gchar *arg_an_o, 556s # const gchar *arg_an_g, 556s # GVariant *arg_an_h, 556s # const gchar *arg_an_ay, 556s # const gchar *const *arg_an_as, 556s # const gchar *const *arg_an_ao, 556s # const gchar *const *arg_an_aay, 556s # GVariant *arg_an_asv, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "MethodWithManyArgs", 556s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 556s # arg_an_b, 556s # arg_an_y, 556s # arg_an_n, 556s # arg_an_q, 556s # arg_an_i, 556s # arg_an_u, 556s # arg_an_x, 556s # arg_an_t, 556s # arg_an_d, 556s # arg_an_s, 556s # arg_an_o, 556s # arg_an_g, 556s # arg_an_h, 556s # arg_an_ay, 556s # arg_an_as, 556s # arg_an_ao, 556s # arg_an_aay, 556s # arg_an_asv), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_other_callable_iface_call_method_with_many_args_finish: 556s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_other_callable_iface_call_method_with_many_args_finish ( 556s # OrgProjectOtherCallableIface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_other_callable_iface_call_method_with_many_args_sync: 556s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 556s # * @arg_an_b: Argument to pass with the method invocation. 556s # * @arg_an_y: Argument to pass with the method invocation. 556s # * @arg_an_n: Argument to pass with the method invocation. 556s # * @arg_an_q: Argument to pass with the method invocation. 556s # * @arg_an_i: Argument to pass with the method invocation. 556s # * @arg_an_u: Argument to pass with the method invocation. 556s # * @arg_an_x: Argument to pass with the method invocation. 556s # * @arg_an_t: Argument to pass with the method invocation. 556s # * @arg_an_d: Argument to pass with the method invocation. 556s # * @arg_an_s: Argument to pass with the method invocation. 556s # * @arg_an_o: Argument to pass with the method invocation. 556s # * @arg_an_g: Argument to pass with the method invocation. 556s # * @arg_an_h: Argument to pass with the method invocation. 556s # * @arg_an_ay: Argument to pass with the method invocation. 556s # * @arg_an_as: Argument to pass with the method invocation. 556s # * @arg_an_ao: Argument to pass with the method invocation. 556s # * @arg_an_aay: Argument to pass with the method invocation. 556s # * @arg_an_asv: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_other_callable_iface_call_method_with_many_args_sync ( 556s # OrgProjectOtherCallableIface *proxy, 556s # gboolean arg_an_b, 556s # guchar arg_an_y, 556s # gint16 arg_an_n, 556s # guint16 arg_an_q, 556s # gint arg_an_i, 556s # guint arg_an_u, 556s # gint64 arg_an_x, 556s # guint64 arg_an_t, 556s # gdouble arg_an_d, 556s # const gchar *arg_an_s, 556s # const gchar *arg_an_o, 556s # const gchar *arg_an_g, 556s # GVariant *arg_an_h, 556s # const gchar *arg_an_ay, 556s # const gchar *const *arg_an_as, 556s # const gchar *const *arg_an_ao, 556s # const gchar *const *arg_an_aay, 556s # GVariant *arg_an_asv, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "MethodWithManyArgs", 556s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 556s # arg_an_b, 556s # arg_an_y, 556s # arg_an_n, 556s # arg_an_q, 556s # arg_an_i, 556s # arg_an_u, 556s # arg_an_x, 556s # arg_an_t, 556s # arg_an_d, 556s # arg_an_s, 556s # arg_an_o, 556s # arg_an_g, 556s # arg_an_h, 556s # arg_an_ay, 556s # arg_an_as, 556s # arg_an_ao, 556s # arg_an_aay, 556s # arg_an_asv), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_other_callable_iface_complete_method_with_many_args: 556s # * @object: A #OrgProjectOtherCallableIface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the MethodWithManyArgs() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_other_callable_iface_complete_method_with_many_args ( 556s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectOtherCallableIfaceProxy: 556s # * 556s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectOtherCallableIfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectOtherCallableIfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_other_callable_iface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 556s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 556s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_other_callable_iface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_other_callable_iface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_other_callable_iface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectOtherCallableIface * 556s # org_project_other_callable_iface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_other_callable_iface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectOtherCallableIface * 556s # org_project_other_callable_iface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_other_callable_iface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_other_callable_iface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectOtherCallableIface * 556s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectOtherCallableIface * 556s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectOtherCallableIfaceSkeleton: 556s # * 556s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectOtherCallableIfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_other_callable_iface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_other_callable_iface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_other_callable_iface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 556s # { 556s # _org_project_other_callable_iface_skeleton_handle_method_call, 556s # _org_project_other_callable_iface_skeleton_handle_get_property, 556s # _org_project_other_callable_iface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_other_callable_iface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_other_callable_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherCallableIface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_other_callable_iface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectOtherCallableIface * 556s # org_project_other_callable_iface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 556s # gdbus-codegen: /usr/bin/gdbus-codegen 556s # tmpdir: /tmp/tmpyu2rfckd 556s # /tmp/tmpyu2rfckd/tmpag_s_g_o.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyu2rfckd/tmpag_s_g_o.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.CallableIface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectCallableIface 556s # * @title: OrgProjectCallableIface 556s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.CallableIface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_b", 556s # (gchar *) "b", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_y", 556s # (gchar *) "y", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_n", 556s # (gchar *) "n", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_q", 556s # (gchar *) "q", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_i", 556s # (gchar *) "i", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_u", 556s # (gchar *) "u", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_x", 556s # (gchar *) "x", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_t", 556s # (gchar *) "t", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_d", 556s # (gchar *) "d", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_s", 556s # (gchar *) "s", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_o", 556s # (gchar *) "o", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_g", 556s # (gchar *) "g", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_h", 556s # (gchar *) "h", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_ay", 556s # (gchar *) "ay", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_as", 556s # (gchar *) "as", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_ao", 556s # (gchar *) "ao", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_aay", 556s # (gchar *) "aay", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_asv", 556s # (gchar *) "a{sv}", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 556s # { 556s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 556s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 556s # { 556s # { 556s # -1, 556s # (gchar *) "MethodWithManyArgs", 556s # NULL, 556s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-method-with-many-args", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 556s # { 556s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.CallableIface", 556s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-callable-iface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_callable_iface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_callable_iface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_callable_iface_method_marshal_method_with_many_args ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectCallableIface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 556s # */ 556s # 556s # /** 556s # * OrgProjectCallableIfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.CallableIface. 556s # */ 556s # 556s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectCallableIface::handle-method-with-many-args: 556s # * @object: A #OrgProjectCallableIface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * 556s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_callable_iface_complete_method_with_many_args() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-method-with-many-args", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_callable_iface_method_marshal_method_with_many_args, 556s # G_TYPE_BOOLEAN, 556s # 1, 556s # G_TYPE_DBUS_METHOD_INVOCATION); 556s # 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_call_method_with_many_args: 556s # * @proxy: A #OrgProjectCallableIfaceProxy. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 556s # * 556s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_callable_iface_call_method_with_many_args ( 556s # OrgProjectCallableIface *proxy, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "MethodWithManyArgs", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_call_method_with_many_args_finish: 556s # * @proxy: A #OrgProjectCallableIfaceProxy. 556s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 556s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 556s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 556s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_callable_iface_call_method_with_many_args_finish ( 556s # OrgProjectCallableIface *proxy, 556s # gboolean *out_an_b, 556s # guchar *out_an_y, 556s # gint16 *out_an_n, 556s # guint16 *out_an_q, 556s # gint *out_an_i, 556s # guint *out_an_u, 556s # gint64 *out_an_x, 556s # guint64 *out_an_t, 556s # gdouble *out_an_d, 556s # gchar **out_an_s, 556s # gchar **out_an_o, 556s # gchar **out_an_g, 556s # GVariant **out_an_h, 556s # gchar **out_an_ay, 556s # gchar ***out_an_as, 556s # gchar ***out_an_ao, 556s # gchar ***out_an_aay, 556s # GVariant **out_an_asv, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 556s # out_an_b, 556s # out_an_y, 556s # out_an_n, 556s # out_an_q, 556s # out_an_i, 556s # out_an_u, 556s # out_an_x, 556s # out_an_t, 556s # out_an_d, 556s # out_an_s, 556s # out_an_o, 556s # out_an_g, 556s # out_an_h, 556s # out_an_ay, 556s # out_an_as, 556s # out_an_ao, 556s # out_an_aay, 556s # out_an_asv); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_call_method_with_many_args_sync: 556s # * @proxy: A #OrgProjectCallableIfaceProxy. 556s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 556s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 556s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 556s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_callable_iface_call_method_with_many_args_sync ( 556s # OrgProjectCallableIface *proxy, 556s # gboolean *out_an_b, 556s # guchar *out_an_y, 556s # gint16 *out_an_n, 556s # guint16 *out_an_q, 556s # gint *out_an_i, 556s # guint *out_an_u, 556s # gint64 *out_an_x, 556s # guint64 *out_an_t, 556s # gdouble *out_an_d, 556s # gchar **out_an_s, 556s # gchar **out_an_o, 556s # gchar **out_an_g, 556s # GVariant **out_an_h, 556s # gchar **out_an_ay, 556s # gchar ***out_an_as, 556s # gchar ***out_an_ao, 556s # gchar ***out_an_aay, 556s # GVariant **out_an_asv, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "MethodWithManyArgs", 556s # g_variant_new ("()"), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 556s # out_an_b, 556s # out_an_y, 556s # out_an_n, 556s # out_an_q, 556s # out_an_i, 556s # out_an_u, 556s # out_an_x, 556s # out_an_t, 556s # out_an_d, 556s # out_an_s, 556s # out_an_o, 556s # out_an_g, 556s # out_an_h, 556s # out_an_ay, 556s # out_an_as, 556s # out_an_ao, 556s # out_an_aay, 556s # out_an_asv); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_complete_method_with_many_args: 556s # * @object: A #OrgProjectCallableIface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @an_b: Parameter to return. 556s # * @an_y: Parameter to return. 556s # * @an_n: Parameter to return. 556s # * @an_q: Parameter to return. 556s # * @an_i: Parameter to return. 556s # * @an_u: Parameter to return. 556s # * @an_x: Parameter to return. 556s # * @an_t: Parameter to return. 556s # * @an_d: Parameter to return. 556s # * @an_s: Parameter to return. 556s # * @an_o: Parameter to return. 556s # * @an_g: Parameter to return. 556s # * @an_h: Parameter to return. 556s # * @an_ay: Parameter to return. 556s # * @an_as: Parameter to return. 556s # * @an_ao: Parameter to return. 556s # * @an_aay: Parameter to return. 556s # * @an_asv: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the MethodWithManyArgs() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_callable_iface_complete_method_with_many_args ( 556s # OrgProjectCallableIface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # gboolean an_b, 556s # guchar an_y, 556s # gint16 an_n, 556s # guint16 an_q, 556s # gint an_i, 556s # guint an_u, 556s # gint64 an_x, 556s # guint64 an_t, 556s # gdouble an_d, 556s # const gchar *an_s, 556s # const gchar *an_o, 556s # const gchar *an_g, 556s # GVariant *an_h, 556s # const gchar *an_ay, 556s # const gchar *const *an_as, 556s # const gchar *const *an_ao, 556s # const gchar *const *an_aay, 556s # GVariant *an_asv) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 556s # an_b, 556s # an_y, 556s # an_n, 556s # an_q, 556s # an_i, 556s # an_u, 556s # an_x, 556s # an_t, 556s # an_d, 556s # an_s, 556s # an_o, 556s # an_g, 556s # an_h, 556s # an_ay, 556s # an_as, 556s # an_ao, 556s # an_aay, 556s # an_asv)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectCallableIfaceProxy: 556s # * 556s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectCallableIfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectCallableIfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectCallableIfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_callable_iface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 556s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 556s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_callable_iface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectCallableIface * 556s # org_project_callable_iface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_CALLABLE_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectCallableIface * 556s # org_project_callable_iface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_CALLABLE_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_callable_iface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_callable_iface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectCallableIface * 556s # org_project_callable_iface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_CALLABLE_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectCallableIface * 556s # org_project_callable_iface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_CALLABLE_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectCallableIfaceSkeleton: 556s # * 556s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectCallableIfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectCallableIfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectCallableIfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_callable_iface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_callable_iface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_callable_iface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 556s # { 556s # _org_project_callable_iface_skeleton_handle_method_call, 556s # _org_project_callable_iface_skeleton_handle_get_property, 556s # _org_project_callable_iface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_callable_iface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 556s # # Executing: glib/codegen.py.test 556s if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_callable_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.CallableIface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_callable_iface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_callable_iface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectCallableIface * 556s # org_project_callable_iface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 556s # gdbus-codegen: /usr/bin/gdbus-codegen 556s # tmpdir: /tmp/tmpyuyiwyoj 556s # /tmp/tmpyuyiwyoj/tmplig_1is3.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyuyiwyoj/tmplig_1is3.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # GUnixFDList *arg_fd_list, 556s # const gchar *arg_greeting, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 4); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_object (param_values + 2), 556s # g_marshal_value_peek_string (param_values + 3), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface test.FDPassing 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:TestFDPassing 556s # * @title: TestFDPassing 556s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 556s # * 556s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for test.FDPassing ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 556s # { 556s # { 556s # -1, 556s # (gchar *) "greeting", 556s # (gchar *) "s", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 556s # { 556s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 556s # { 556s # { 556s # -1, 556s # (gchar *) "response", 556s # (gchar *) "s", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 556s # { 556s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 556s # { 556s # { 556s # -1, 556s # (gchar *) "HelloFD", 556s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 556s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 556s # NULL 556s # }, 556s # "handle-hello-fd", 556s # TRUE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 556s # { 556s # &_test_fdpassing_method_info_hello_fd.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "test.FDPassing", 556s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "test-fdpassing", 556s # }; 556s # 556s # 556s # /** 556s # * test_fdpassing_interface_info: 556s # * 556s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # test_fdpassing_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * test_fdpassing_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # test_fdpassing_method_marshal_hello_fd ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * TestFDPassing: 556s # * 556s # * Abstract interface type for the D-Bus interface test.FDPassing. 556s # */ 556s # 556s # /** 556s # * TestFDPassingIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 556s # * 556s # * Virtual table for the D-Bus interface test.FDPassing. 556s # */ 556s # 556s # typedef TestFDPassingIface TestFDPassingInterface; 556s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 556s # 556s # static void 556s # test_fdpassing_default_init (TestFDPassingIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * TestFDPassing::handle-hello-fd: 556s # * @object: A #TestFDPassing. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 556s # * @arg_greeting: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 556s # * 556s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call test_fdpassing_complete_hello_fd() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 556s # * 556s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 556s # */ 556s # g_signal_new ("handle-hello-fd", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # test_fdpassing_method_marshal_hello_fd, 556s # G_TYPE_BOOLEAN, 556s # 3, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 556s # 556s # } 556s # 556s # /** 556s # * test_fdpassing_call_hello_fd: 556s # * @proxy: A #TestFDPassingProxy. 556s # * @arg_greeting: Argument to pass with the method invocation. 556s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 556s # * 556s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # test_fdpassing_call_hello_fd ( 556s # TestFDPassing *proxy, 556s # const gchar *arg_greeting, 556s # GUnixFDList *fd_list, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 556s # "HelloFD", 556s # g_variant_new ("(s)", 556s # arg_greeting), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # fd_list, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * test_fdpassing_call_hello_fd_finish: 556s # * @proxy: A #TestFDPassingProxy. 556s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # test_fdpassing_call_hello_fd_finish ( 556s # TestFDPassing *proxy, 556s # gchar **out_response, 556s # GUnixFDList **out_fd_list, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(s)", 556s # out_response); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * test_fdpassing_call_hello_fd_sync: 556s # * @proxy: A #TestFDPassingProxy. 556s # * @arg_greeting: Argument to pass with the method invocation. 556s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 556s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 556s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # test_fdpassing_call_hello_fd_sync ( 556s # TestFDPassing *proxy, 556s # const gchar *arg_greeting, 556s # GUnixFDList *fd_list, 556s # gchar **out_response, 556s # GUnixFDList **out_fd_list, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 556s # "HelloFD", 556s # g_variant_new ("(s)", 556s # arg_greeting), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # fd_list, 556s # out_fd_list, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "(s)", 556s # out_response); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * test_fdpassing_complete_hello_fd: 556s # * @object: A #TestFDPassing. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 556s # * @response: Parameter to return. 556s # * 556s # * Helper function used in service implementations to finish handling invocations of the HelloFD() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # test_fdpassing_complete_hello_fd ( 556s # TestFDPassing *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation, 556s # GUnixFDList *fd_list, 556s # const gchar *response) 556s # { 556s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 556s # g_variant_new ("(s)", 556s # response), 556s # fd_list); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * TestFDPassingProxy: 556s # * 556s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * TestFDPassingProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #TestFDPassingProxy. 556s # */ 556s # 556s # struct _TestFDPassingProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (TestFDPassingProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # test_fdpassing_proxy_finalize (GObject *object) 556s # { 556s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 556s # } 556s # 556s # static void 556s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = test_fdpassing_proxy_finalize; 556s # gobject_class->get_property = test_fdpassing_proxy_get_property; 556s # gobject_class->set_property = test_fdpassing_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 556s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * test_fdpassing_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # test_fdpassing_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_TEST_FDPASSING_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "test.FDPassing", NULL); 556s # } 556s # 556s # /** 556s # * test_fdpassing_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with test_fdpassing_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # TestFDPassing * 556s # test_fdpassing_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return TEST_FDPASSING (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * test_fdpassing_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # TestFDPassing * 556s # test_fdpassing_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_TEST_FDPASSING_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "test.FDPassing", NULL); 556s # if (ret != NULL) 556s # return TEST_FDPASSING (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * test_fdpassing_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # test_fdpassing_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_TEST_FDPASSING_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "test.FDPassing", NULL); 556s # } 556s # 556s # /** 556s # * test_fdpassing_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # TestFDPassing * 556s # test_fdpassing_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return TEST_FDPASSING (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * test_fdpassing_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # TestFDPassing * 556s # test_fdpassing_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_TEST_FDPASSING_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "test.FDPassing", NULL); 556s # if (ret != NULL) 556s # return TEST_FDPASSING (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * TestFDPassingSkeleton: 556s # * 556s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * TestFDPassingSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #TestFDPassingSkeleton. 556s # */ 556s # 556s # struct _TestFDPassingSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _test_fdpassing_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _test_fdpassing_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _test_fdpassing_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 556s # { 556s # _test_fdpassing_skeleton_handle_method_call, 556s # _test_fdpassing_skeleton_handle_get_property, 556s # _test_fdpassing_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return test_fdpassing_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _test_fdpassing_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "test.FDPassing", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (TestFDPassingSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # test_fdpassing_skeleton_finalize (GObject *object) 556s # { 556s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * test_fdpassing_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 556s # * 556s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 556s # */ 556s # TestFDPassing * 556s # test_fdpassing_skeleton_new (void) 556s # { 556s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 556s # } 556s # Error: 556s ok 15 __main__.TestCodegen.test_generate_rst 556s # gdbus-codegen: /usr/bin/gdbus-codegen 556s # tmpdir: /tmp/tmpq50x2_nt 556s # /tmp/tmpq50x2_nt/tmpevv43ot1.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq50x2_nt/tmpevv43ot1.xml', '--generate-rst', 'test'] 556s # Return code: 0 556s # Output: 556s # 556s # Error: 556s ok 16 __main__.TestCodegen.test_generate_rst_method 556s # gdbus-codegen: /usr/bin/gdbus-codegen 556s # tmpdir: /tmp/tmpviceuu4w 556s # /tmp/tmpviceuu4w/tmpl8k9v5dr.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpviceuu4w/tmpl8k9v5dr.xml', '--generate-rst', 'test'] 556s # Return code: 0 556s # Output: 556s # 556s # Error: 556s ok 17 __main__.TestCodegen.test_generate_rst_property 556s # gdbus-codegen: /usr/bin/gdbus-codegen 556s # tmpdir: /tmp/tmpsnhhb_jn 556s # /tmp/tmpsnhhb_jn/tmpxoi6zbij.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsnhhb_jn/tmpxoi6zbij.xml', '--generate-rst', 'test'] 556s # Return code: 0 556s # Output: 556s # 556s # Error: 556s ok 18 __main__.TestCodegen.test_generate_rst_signal 556s # gdbus-codegen: /usr/bin/gdbus-codegen 556s # tmpdir: /tmp/tmp5j5zgs0y 556s # /tmp/tmp5j5zgs0y/tmpz70nj7i8.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5j5zgs0y/tmpz70nj7i8.xml', '--generate-rst', 'test'] 556s # Return code: 0 556s # Output: 556s # 556s # Error: 556s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 556s # gdbus-codegen: /usr/bin/gdbus-codegen 556s # tmpdir: /tmp/tmpxbbq6g4s 556s # /tmp/tmpxbbq6g4s/tmppotvpspa.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxbbq6g4s/tmppotvpspa.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 556s # GClosure *closure, 556s # GValue *return_value G_GNUC_UNUSED, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 556s # (void *data1, 556s # gboolean arg_an_b, 556s # guchar arg_an_y, 556s # gint16 arg_an_n, 556s # guint16 arg_an_q, 556s # gint arg_an_i, 556s # guint arg_an_u, 556s # gint64 arg_an_x, 556s # guint64 arg_an_t, 556s # gdouble arg_an_d, 556s # const gchar *arg_an_s, 556s # const gchar *arg_an_o, 556s # const gchar *arg_an_g, 556s # GVariant *arg_an_h, 556s # const gchar *arg_an_ay, 556s # const gchar *const *arg_an_as, 556s # const gchar *const *arg_an_ao, 556s # const gchar *const *arg_an_aay, 556s # GVariant *arg_an_asv, 556s # void *data2); 556s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # 556s # g_return_if_fail (n_param_values == 19); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # callback (data1, 556s # g_marshal_value_peek_boolean (param_values + 1), 556s # g_marshal_value_peek_uchar (param_values + 2), 556s # g_marshal_value_peek_int (param_values + 3), 556s # g_marshal_value_peek_uint (param_values + 4), 556s # g_marshal_value_peek_int (param_values + 5), 556s # g_marshal_value_peek_uint (param_values + 6), 556s # g_marshal_value_peek_int64 (param_values + 7), 556s # g_marshal_value_peek_uint64 (param_values + 8), 556s # g_marshal_value_peek_double (param_values + 9), 556s # g_marshal_value_peek_string (param_values + 10), 556s # g_marshal_value_peek_string (param_values + 11), 556s # g_marshal_value_peek_string (param_values + 12), 556s # g_marshal_value_peek_variant (param_values + 13), 556s # g_marshal_value_peek_string (param_values + 14), 556s # g_marshal_value_peek_boxed (param_values + 15), 556s # g_marshal_value_peek_boxed (param_values + 16), 556s # g_marshal_value_peek_boxed (param_values + 17), 556s # g_marshal_value_peek_variant (param_values + 18), 556s # data2); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.SignalingIface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectSignalingIface 556s # * @title: OrgProjectSignalingIface 556s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 556s # */ 556s # 556s # enum 556s # { 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 556s # }; 556s # 556s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 556s # 556s # /* ---- Introspection data for org.project.SignalingIface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_b", 556s # (gchar *) "b", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_y", 556s # (gchar *) "y", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_n", 556s # (gchar *) "n", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_q", 556s # (gchar *) "q", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_i", 556s # (gchar *) "i", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_u", 556s # (gchar *) "u", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_x", 556s # (gchar *) "x", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_t", 556s # (gchar *) "t", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_d", 556s # (gchar *) "d", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_s", 556s # (gchar *) "s", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_o", 556s # (gchar *) "o", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_g", 556s # (gchar *) "g", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_h", 556s # (gchar *) "h", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_ay", 556s # (gchar *) "ay", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_as", 556s # (gchar *) "as", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_ao", 556s # (gchar *) "ao", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_aay", 556s # (gchar *) "aay", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_asv", 556s # (gchar *) "a{sv}", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SignalWithManyArgs", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 556s # NULL 556s # }, 556s # "signal-with-many-args" 556s # }; 556s # 556s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.SignalingIface", 556s # NULL, 556s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-signaling-iface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_signaling_iface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_signaling_iface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectSignalingIface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 556s # */ 556s # 556s # /** 556s # * OrgProjectSignalingIfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.SignalingIface. 556s # */ 556s # 556s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 556s # { 556s # /* GObject signals for received D-Bus signals: */ 556s # /** 556s # * OrgProjectSignalingIface::signal-with-many-args: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_b: Argument. 556s # * @arg_an_y: Argument. 556s # * @arg_an_n: Argument. 556s # * @arg_an_q: Argument. 556s # * @arg_an_i: Argument. 556s # * @arg_an_u: Argument. 556s # * @arg_an_x: Argument. 556s # * @arg_an_t: Argument. 556s # * @arg_an_d: Argument. 556s # * @arg_an_s: Argument. 556s # * @arg_an_o: Argument. 556s # * @arg_an_g: Argument. 556s # * @arg_an_h: Argument. 556s # * @arg_an_ay: Argument. 556s # * @arg_an_as: Argument. 556s # * @arg_an_ao: Argument. 556s # * @arg_an_aay: Argument. 556s # * @arg_an_asv: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 556s # g_signal_new ("signal-with-many-args", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 556s # G_TYPE_NONE, 556s # 18, G_TYPE_BOOLEAN, G_TYPE_UCHAR, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT64, G_TYPE_UINT64, G_TYPE_DOUBLE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VARIANT, G_TYPE_STRING, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_VARIANT); 556s # 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_signal_with_many_args: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_b: Argument to pass with the signal. 556s # * @arg_an_y: Argument to pass with the signal. 556s # * @arg_an_n: Argument to pass with the signal. 556s # * @arg_an_q: Argument to pass with the signal. 556s # * @arg_an_i: Argument to pass with the signal. 556s # * @arg_an_u: Argument to pass with the signal. 556s # * @arg_an_x: Argument to pass with the signal. 556s # * @arg_an_t: Argument to pass with the signal. 556s # * @arg_an_d: Argument to pass with the signal. 556s # * @arg_an_s: Argument to pass with the signal. 556s # * @arg_an_o: Argument to pass with the signal. 556s # * @arg_an_g: Argument to pass with the signal. 556s # * @arg_an_h: Argument to pass with the signal. 556s # * @arg_an_ay: Argument to pass with the signal. 556s # * @arg_an_as: Argument to pass with the signal. 556s # * @arg_an_ao: Argument to pass with the signal. 556s # * @arg_an_aay: Argument to pass with the signal. 556s # * @arg_an_asv: Argument to pass with the signal. 556s # * 556s # * Emits the "SignalWithManyArgs" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_signal_with_many_args ( 556s # OrgProjectSignalingIface *object, 556s # gboolean arg_an_b, 556s # guchar arg_an_y, 556s # gint16 arg_an_n, 556s # guint16 arg_an_q, 556s # gint arg_an_i, 556s # guint arg_an_u, 556s # gint64 arg_an_x, 556s # guint64 arg_an_t, 556s # gdouble arg_an_d, 556s # const gchar *arg_an_s, 556s # const gchar *arg_an_o, 556s # const gchar *arg_an_g, 556s # GVariant *arg_an_h, 556s # const gchar *arg_an_ay, 556s # const gchar *const *arg_an_as, 556s # const gchar *const *arg_an_ao, 556s # const gchar *const *arg_an_aay, 556s # GVariant *arg_an_asv) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS], 0, arg_an_b, arg_an_y, arg_an_n, arg_an_q, arg_an_i, arg_an_u, arg_an_x, arg_an_t, arg_an_d, arg_an_s, arg_an_o, arg_an_g, arg_an_h, arg_an_ay, arg_an_as, arg_an_ao, arg_an_aay, arg_an_asv); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectSignalingIfaceProxy: 556s # * 556s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectSignalingIfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectSignalingIfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectSignalingIfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_signaling_iface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 556s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 556s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_signaling_iface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectSignalingIface * 556s # org_project_signaling_iface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_SIGNALING_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectSignalingIface * 556s # org_project_signaling_iface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_SIGNALING_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_signaling_iface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_signaling_iface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectSignalingIface * 556s # org_project_signaling_iface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_SIGNALING_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectSignalingIface * 556s # org_project_signaling_iface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_SIGNALING_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectSignalingIfaceSkeleton: 556s # * 556s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectSignalingIfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectSignalingIfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_signaling_iface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_signaling_iface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_signaling_iface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 556s # { 556s # _org_project_signaling_iface_skeleton_handle_method_call, 556s # _org_project_signaling_iface_skeleton_handle_get_property, 556s # _org_project_signaling_iface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_signaling_iface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 556s # OrgProjectSignalingIface *object, 556s # gboolean arg_an_b, 556s # guchar arg_an_y, 556s # gint16 arg_an_n, 556s # guint16 arg_an_q, 556s # gint arg_an_i, 556s # guint arg_an_u, 556s # gint64 arg_an_x, 556s # guint64 arg_an_t, 556s # gdouble arg_an_d, 556s # const gchar *arg_an_s, 556s # const gchar *arg_an_o, 556s # const gchar *arg_an_g, 556s # GVariant *arg_an_h, 556s # const gchar *arg_an_ay, 556s # const gchar *const *arg_an_as, 556s # const gchar *const *arg_an_ao, 556s # const gchar *const *arg_an_aay, 556s # GVariant *arg_an_asv) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 556s # arg_an_b, 556s # arg_an_y, 556s # arg_an_n, 556s # arg_an_q, 556s # arg_an_i, 556s # arg_an_u, 556s # arg_an_x, 556s # arg_an_t, 556s # arg_an_d, 556s # arg_an_s, 556s # arg_an_o, 556s # arg_an_g, 556s # arg_an_h, 556s # arg_an_ay, 556s # arg_an_as, 556s # arg_an_ao, 556s # arg_an_aay, 556s # arg_an_asv)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_signaling_iface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 556s # { 556s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectSignalingIface * 556s # org_project_signaling_iface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 556s # gdbus-codegen: /usr/bin/gdbus-codegen 556s # tmpdir: /tmp/tmpql9hjwte 556s # /tmp/tmpql9hjwte/tmpe35w1qi0.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql9hjwte/tmpe35w1qi0.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_VOID__INT64 ( 556s # GClosure *closure, 556s # GValue *return_value G_GNUC_UNUSED, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 556s # (void *data1, 556s # gint64 arg_an_x, 556s # void *data2); 556s # _GDbusCodegenMarshalVoid_Int64Func callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # callback (data1, 556s # g_marshal_value_peek_int64 (param_values + 1), 556s # data2); 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_VOID__UINT64 ( 556s # GClosure *closure, 556s # GValue *return_value G_GNUC_UNUSED, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 556s # (void *data1, 556s # guint64 arg_an_t, 556s # void *data2); 556s # _GDbusCodegenMarshalVoid_Uint64Func callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # 556s # g_return_if_fail (n_param_values == 2); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # callback (data1, 556s # g_marshal_value_peek_uint64 (param_values + 1), 556s # data2); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.SignalingIface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectSignalingIface 556s # * @title: OrgProjectSignalingIface 556s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 556s # */ 556s # 556s # enum 556s # { 556s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 556s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 556s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 556s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 556s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 556s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 556s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 556s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 556s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 556s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 556s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 556s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 556s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 556s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 556s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 556s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 556s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 556s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 556s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 556s # }; 556s # 556s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 556s # 556s # /* ---- Introspection data for org.project.SignalingIface ---- */ 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 556s # { 556s # { 556s # -1, 556s # (gchar *) "NoArgSignal", 556s # NULL, 556s # NULL 556s # }, 556s # "no-arg-signal" 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_b", 556s # (gchar *) "b", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgSignalB", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 556s # NULL 556s # }, 556s # "single-arg-signal-b" 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_y", 556s # (gchar *) "y", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgSignalY", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 556s # NULL 556s # }, 556s # "single-arg-signal-y" 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_n", 556s # (gchar *) "n", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgSignalN", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 556s # NULL 556s # }, 556s # "single-arg-signal-n" 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_q", 556s # (gchar *) "q", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgSignalQ", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 556s # NULL 556s # }, 556s # "single-arg-signal-q" 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_i", 556s # (gchar *) "i", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgSignalI", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 556s # NULL 556s # }, 556s # "single-arg-signal-i" 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_u", 556s # (gchar *) "u", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgSignalU", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 556s # NULL 556s # }, 556s # "single-arg-signal-u" 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_x", 556s # (gchar *) "x", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgSignalX", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 556s # NULL 556s # }, 556s # "single-arg-signal-x" 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_t", 556s # (gchar *) "t", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgSignalT", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 556s # NULL 556s # }, 556s # "single-arg-signal-t" 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_d", 556s # (gchar *) "d", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgSignalD", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 556s # NULL 556s # }, 556s # "single-arg-signal-d" 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_s", 556s # (gchar *) "s", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgSignalS", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 556s # NULL 556s # }, 556s # "single-arg-signal-s" 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_o", 556s # (gchar *) "o", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgSignalO", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 556s # NULL 556s # }, 556s # "single-arg-signal-o" 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_g", 556s # (gchar *) "g", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgSignalG", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 556s # NULL 556s # }, 556s # "single-arg-signal-g" 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_h", 556s # (gchar *) "h", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgSignalH", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 556s # NULL 556s # }, 556s # "single-arg-signal-h" 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_ay", 556s # (gchar *) "ay", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgSignalAY", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 556s # NULL 556s # }, 556s # "single-arg-signal-ay" 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_as", 556s # (gchar *) "as", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgSignalAS", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 556s # NULL 556s # }, 556s # "single-arg-signal-as" 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_ao", 556s # (gchar *) "ao", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgSignalAO", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 556s # NULL 556s # }, 556s # "single-arg-signal-ao" 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_aay", 556s # (gchar *) "aay", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgSignalAAY", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 556s # NULL 556s # }, 556s # "single-arg-signal-aay" 556s # }; 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 556s # { 556s # { 556s # -1, 556s # (gchar *) "an_asv", 556s # (gchar *) "a{sv}", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgSignalASV", 556s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 556s # NULL 556s # }, 556s # "single-arg-signal-asv" 556s # }; 556s # 556s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 556s # { 556s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 556s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.SignalingIface", 556s # NULL, 556s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-signaling-iface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_signaling_iface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_signaling_iface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__VOID (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__BOOLEAN (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__UCHAR (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__INT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__UINT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__INT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__UINT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__DOUBLE (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__STRING (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__STRING (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__STRING (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__VARIANT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__STRING (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__BOXED (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__BOXED (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__BOXED (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # inline static void 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__VARIANT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectSignalingIface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 556s # */ 556s # 556s # /** 556s # * OrgProjectSignalingIfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 556s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 556s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 556s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 556s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 556s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 556s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 556s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 556s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 556s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 556s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 556s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 556s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 556s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 556s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 556s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 556s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 556s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 556s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.SignalingIface. 556s # */ 556s # 556s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 556s # { 556s # /* GObject signals for received D-Bus signals: */ 556s # /** 556s # * OrgProjectSignalingIface::no-arg-signal: 556s # * @object: A #OrgProjectSignalingIface. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 556s # g_signal_new ("no-arg-signal", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_no_arg_signal, 556s # G_TYPE_NONE, 556s # 0); 556s # 556s # /** 556s # * OrgProjectSignalingIface::single-arg-signal-b: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_b: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 556s # g_signal_new ("single-arg-signal-b", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 556s # G_TYPE_NONE, 556s # 1, G_TYPE_BOOLEAN); 556s # 556s # /** 556s # * OrgProjectSignalingIface::single-arg-signal-y: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_y: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 556s # g_signal_new ("single-arg-signal-y", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 556s # G_TYPE_NONE, 556s # 1, G_TYPE_UCHAR); 556s # 556s # /** 556s # * OrgProjectSignalingIface::single-arg-signal-n: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_n: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 556s # g_signal_new ("single-arg-signal-n", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 556s # G_TYPE_NONE, 556s # 1, G_TYPE_INT); 556s # 556s # /** 556s # * OrgProjectSignalingIface::single-arg-signal-q: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_q: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 556s # g_signal_new ("single-arg-signal-q", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 556s # G_TYPE_NONE, 556s # 1, G_TYPE_UINT); 556s # 556s # /** 556s # * OrgProjectSignalingIface::single-arg-signal-i: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_i: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 556s # g_signal_new ("single-arg-signal-i", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 556s # G_TYPE_NONE, 556s # 1, G_TYPE_INT); 556s # 556s # /** 556s # * OrgProjectSignalingIface::single-arg-signal-u: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_u: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 556s # g_signal_new ("single-arg-signal-u", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 556s # G_TYPE_NONE, 556s # 1, G_TYPE_UINT); 556s # 556s # /** 556s # * OrgProjectSignalingIface::single-arg-signal-x: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_x: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 556s # g_signal_new ("single-arg-signal-x", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 556s # G_TYPE_NONE, 556s # 1, G_TYPE_INT64); 556s # 556s # /** 556s # * OrgProjectSignalingIface::single-arg-signal-t: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_t: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 556s # g_signal_new ("single-arg-signal-t", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 556s # G_TYPE_NONE, 556s # 1, G_TYPE_UINT64); 556s # 556s # /** 556s # * OrgProjectSignalingIface::single-arg-signal-d: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_d: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 556s # g_signal_new ("single-arg-signal-d", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 556s # G_TYPE_NONE, 556s # 1, G_TYPE_DOUBLE); 556s # 556s # /** 556s # * OrgProjectSignalingIface::single-arg-signal-s: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_s: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 556s # g_signal_new ("single-arg-signal-s", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 556s # G_TYPE_NONE, 556s # 1, G_TYPE_STRING); 556s # 556s # /** 556s # * OrgProjectSignalingIface::single-arg-signal-o: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_o: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 556s # g_signal_new ("single-arg-signal-o", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 556s # G_TYPE_NONE, 556s # 1, G_TYPE_STRING); 556s # 556s # /** 556s # * OrgProjectSignalingIface::single-arg-signal-g: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_g: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 556s # g_signal_new ("single-arg-signal-g", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 556s # G_TYPE_NONE, 556s # 1, G_TYPE_STRING); 556s # 556s # /** 556s # * OrgProjectSignalingIface::single-arg-signal-h: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_h: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 556s # g_signal_new ("single-arg-signal-h", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 556s # G_TYPE_NONE, 556s # 1, G_TYPE_VARIANT); 556s # 556s # /** 556s # * OrgProjectSignalingIface::single-arg-signal-ay: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_ay: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 556s # g_signal_new ("single-arg-signal-ay", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 556s # G_TYPE_NONE, 556s # 1, G_TYPE_STRING); 556s # 556s # /** 556s # * OrgProjectSignalingIface::single-arg-signal-as: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_as: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 556s # g_signal_new ("single-arg-signal-as", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 556s # G_TYPE_NONE, 556s # 1, G_TYPE_STRV); 556s # 556s # /** 556s # * OrgProjectSignalingIface::single-arg-signal-ao: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_ao: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 556s # g_signal_new ("single-arg-signal-ao", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 556s # G_TYPE_NONE, 556s # 1, G_TYPE_STRV); 556s # 556s # /** 556s # * OrgProjectSignalingIface::single-arg-signal-aay: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_aay: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 556s # g_signal_new ("single-arg-signal-aay", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 556s # G_TYPE_NONE, 556s # 1, G_TYPE_STRV); 556s # 556s # /** 556s # * OrgProjectSignalingIface::single-arg-signal-asv: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_asv: Argument. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 556s # g_signal_new ("single-arg-signal-asv", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 556s # NULL, 556s # NULL, 556s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 556s # G_TYPE_NONE, 556s # 1, G_TYPE_VARIANT); 556s # 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_no_arg_signal: 556s # * @object: A #OrgProjectSignalingIface. 556s # * 556s # * Emits the "NoArgSignal" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_no_arg_signal ( 556s # OrgProjectSignalingIface *object) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_single_arg_signal_b: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_b: Argument to pass with the signal. 556s # * 556s # * Emits the "SingleArgSignalB" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_single_arg_signal_b ( 556s # OrgProjectSignalingIface *object, 556s # gboolean arg_an_b) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_single_arg_signal_y: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_y: Argument to pass with the signal. 556s # * 556s # * Emits the "SingleArgSignalY" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_single_arg_signal_y ( 556s # OrgProjectSignalingIface *object, 556s # guchar arg_an_y) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_single_arg_signal_n: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_n: Argument to pass with the signal. 556s # * 556s # * Emits the "SingleArgSignalN" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_single_arg_signal_n ( 556s # OrgProjectSignalingIface *object, 556s # gint16 arg_an_n) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_single_arg_signal_q: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_q: Argument to pass with the signal. 556s # * 556s # * Emits the "SingleArgSignalQ" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_single_arg_signal_q ( 556s # OrgProjectSignalingIface *object, 556s # guint16 arg_an_q) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_single_arg_signal_i: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_i: Argument to pass with the signal. 556s # * 556s # * Emits the "SingleArgSignalI" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_single_arg_signal_i ( 556s # OrgProjectSignalingIface *object, 556s # gint arg_an_i) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_single_arg_signal_u: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_u: Argument to pass with the signal. 556s # * 556s # * Emits the "SingleArgSignalU" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_single_arg_signal_u ( 556s # OrgProjectSignalingIface *object, 556s # guint arg_an_u) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_single_arg_signal_x: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_x: Argument to pass with the signal. 556s # * 556s # * Emits the "SingleArgSignalX" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_single_arg_signal_x ( 556s # OrgProjectSignalingIface *object, 556s # gint64 arg_an_x) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_single_arg_signal_t: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_t: Argument to pass with the signal. 556s # * 556s # * Emits the "SingleArgSignalT" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_single_arg_signal_t ( 556s # OrgProjectSignalingIface *object, 556s # guint64 arg_an_t) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_single_arg_signal_d: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_d: Argument to pass with the signal. 556s # * 556s # * Emits the "SingleArgSignalD" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_single_arg_signal_d ( 556s # OrgProjectSignalingIface *object, 556s # gdouble arg_an_d) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_single_arg_signal_s: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_s: Argument to pass with the signal. 556s # * 556s # * Emits the "SingleArgSignalS" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_single_arg_signal_s ( 556s # OrgProjectSignalingIface *object, 556s # const gchar *arg_an_s) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_single_arg_signal_o: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_o: Argument to pass with the signal. 556s # * 556s # * Emits the "SingleArgSignalO" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_single_arg_signal_o ( 556s # OrgProjectSignalingIface *object, 556s # const gchar *arg_an_o) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_single_arg_signal_g: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_g: Argument to pass with the signal. 556s # * 556s # * Emits the "SingleArgSignalG" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_single_arg_signal_g ( 556s # OrgProjectSignalingIface *object, 556s # const gchar *arg_an_g) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_single_arg_signal_h: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_h: Argument to pass with the signal. 556s # * 556s # * Emits the "SingleArgSignalH" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_single_arg_signal_h ( 556s # OrgProjectSignalingIface *object, 556s # GVariant *arg_an_h) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_single_arg_signal_ay: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_ay: Argument to pass with the signal. 556s # * 556s # * Emits the "SingleArgSignalAY" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_single_arg_signal_ay ( 556s # OrgProjectSignalingIface *object, 556s # const gchar *arg_an_ay) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_single_arg_signal_as: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_as: Argument to pass with the signal. 556s # * 556s # * Emits the "SingleArgSignalAS" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_single_arg_signal_as ( 556s # OrgProjectSignalingIface *object, 556s # const gchar *const *arg_an_as) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_single_arg_signal_ao: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_ao: Argument to pass with the signal. 556s # * 556s # * Emits the "SingleArgSignalAO" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_single_arg_signal_ao ( 556s # OrgProjectSignalingIface *object, 556s # const gchar *const *arg_an_ao) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_single_arg_signal_aay: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_aay: Argument to pass with the signal. 556s # * 556s # * Emits the "SingleArgSignalAAY" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_single_arg_signal_aay ( 556s # OrgProjectSignalingIface *object, 556s # const gchar *const *arg_an_aay) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_emit_single_arg_signal_asv: 556s # * @object: A #OrgProjectSignalingIface. 556s # * @arg_an_asv: Argument to pass with the signal. 556s # * 556s # * Emits the "SingleArgSignalASV" D-Bus signal. 556s # */ 556s # void 556s # org_project_signaling_iface_emit_single_arg_signal_asv ( 556s # OrgProjectSignalingIface *object, 556s # GVariant *arg_an_asv) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectSignalingIfaceProxy: 556s # * 556s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectSignalingIfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectSignalingIfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectSignalingIfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_signaling_iface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 556s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 556s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_signaling_iface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectSignalingIface * 556s # org_project_signaling_iface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_SIGNALING_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectSignalingIface * 556s # org_project_signaling_iface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_SIGNALING_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_signaling_iface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_signaling_iface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectSignalingIface * 556s # org_project_signaling_iface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_SIGNALING_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectSignalingIface * 556s # org_project_signaling_iface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_SIGNALING_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectSignalingIfaceSkeleton: 556s # * 556s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectSignalingIfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectSignalingIfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_signaling_iface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_signaling_iface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_signaling_iface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 556s # { 556s # _org_project_signaling_iface_skeleton_handle_method_call, 556s # _org_project_signaling_iface_skeleton_handle_get_property, 556s # _org_project_signaling_iface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_signaling_iface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_no_arg_signal ( 556s # OrgProjectSignalingIface *object) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 556s # OrgProjectSignalingIface *object, 556s # gboolean arg_an_b) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 556s # arg_an_b)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 556s # OrgProjectSignalingIface *object, 556s # guchar arg_an_y) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 556s # arg_an_y)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 556s # OrgProjectSignalingIface *object, 556s # gint16 arg_an_n) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 556s # arg_an_n)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 556s # OrgProjectSignalingIface *object, 556s # guint16 arg_an_q) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 556s # arg_an_q)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 556s # OrgProjectSignalingIface *object, 556s # gint arg_an_i) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 556s # arg_an_i)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 556s # OrgProjectSignalingIface *object, 556s # guint arg_an_u) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 556s # arg_an_u)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 556s # OrgProjectSignalingIface *object, 556s # gint64 arg_an_x) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 556s # arg_an_x)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 556s # OrgProjectSignalingIface *object, 556s # guint64 arg_an_t) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 556s # arg_an_t)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 556s # OrgProjectSignalingIface *object, 556s # gdouble arg_an_d) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 556s # arg_an_d)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 556s # OrgProjectSignalingIface *object, 556s # const gchar *arg_an_s) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 556s # arg_an_s)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 556s # OrgProjectSignalingIface *object, 556s # const gchar *arg_an_o) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 556s # arg_an_o)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 556s # OrgProjectSignalingIface *object, 556s # const gchar *arg_an_g) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 556s # arg_an_g)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 556s # OrgProjectSignalingIface *object, 556s # GVariant *arg_an_h) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 556s # arg_an_h)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 556s # OrgProjectSignalingIface *object, 556s # const gchar *arg_an_ay) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 556s # arg_an_ay)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 556s # OrgProjectSignalingIface *object, 556s # const gchar *const *arg_an_as) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 556s # arg_an_as)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 556s # OrgProjectSignalingIface *object, 556s # const gchar *const *arg_an_ao) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 556s # arg_an_ao)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 556s # OrgProjectSignalingIface *object, 556s # const gchar *const *arg_an_aay) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 556s # arg_an_aay)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void 556s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 556s # OrgProjectSignalingIface *object, 556s # GVariant *arg_an_asv) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 556s # arg_an_asv)); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_signaling_iface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 556s # { 556s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 556s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 556s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 556s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 556s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 556s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 556s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 556s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 556s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 556s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 556s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 556s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 556s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 556s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 556s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 556s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 556s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 556s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 556s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 556s # } 556s # 556s # /** 556s # * org_project_signaling_iface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectSignalingIface * 556s # org_project_signaling_iface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 556s # } 556s # Error: 556s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 556s # gdbus-codegen: /usr/bin/gdbus-codegen 556s # tmpdir: /tmp/tmpld4ufdnw 556s # /tmp/tmpld4ufdnw/tmpppixkcc2.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpld4ufdnw/tmpppixkcc2.xml', '--output', '-', '--body'] 556s # Return code: 0 556s # Output: 556s # /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # enum 556s # { 556s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 556s # }; 556s # 556s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SimpleSignal", 556s # NULL, 556s # NULL 556s # }, 556s # "simple-signal" 556s # }; 556s # 556s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # NULL, 556s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_signal_marshal_simple_signal ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__VOID (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for received D-Bus signals: */ 556s # /** 556s # * OrgProjectUsefulInterface::simple-signal: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 556s # g_signal_new ("simple-signal", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 556s # NULL, 556s # NULL, 556s # org_project_useful_interface_signal_marshal_simple_signal, 556s # G_TYPE_NONE, 556s # 0); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_emit_simple_signal: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * 556s # * Emits the "SimpleSignal" D-Bus signal. 556s # */ 556s # void 556s # org_project_useful_interface_emit_simple_signal ( 556s # OrgProjectUsefulInterface *object) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # _org_project_useful_interface_on_signal_simple_signal ( 556s # OrgProjectUsefulInterface *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.OtherIface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectOtherIface 556s # * @title: OrgProjectOtherIface 556s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 556s # */ 556s # 556s # enum 556s # { 556s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 556s # }; 556s # 556s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 556s # 556s # /* ---- Introspection data for org.project.OtherIface ---- */ 556s # 556s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SimpleSignal", 556s # NULL, 556s # NULL 556s # }, 556s # "simple-signal" 556s # }; 556s # 556s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 556s # { 556s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.OtherIface", 556s # NULL, 556s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-other-iface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_other_iface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_other_iface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_other_iface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_other_iface_signal_marshal_simple_signal ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # g_cclosure_marshal_VOID__VOID (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectOtherIface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 556s # */ 556s # 556s # /** 556s # * OrgProjectOtherIfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.OtherIface. 556s # */ 556s # 556s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 556s # { 556s # /* GObject signals for received D-Bus signals: */ 556s # /** 556s # * OrgProjectOtherIface::simple-signal: 556s # * @object: A #OrgProjectOtherIface. 556s # * 556s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 556s # * 556s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 556s # */ 556s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 556s # g_signal_new ("simple-signal", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 556s # NULL, 556s # NULL, 556s # org_project_other_iface_signal_marshal_simple_signal, 556s # G_TYPE_NONE, 556s # 0); 556s # 556s # } 556s # 556s # /** 556s # * org_project_other_iface_emit_simple_signal: 556s # * @object: A #OrgProjectOtherIface. 556s # * 556s # * Emits the "SimpleSignal" D-Bus signal. 556s # */ 556s # void 556s # org_project_other_iface_emit_simple_signal ( 556s # OrgProjectOtherIface *object) 556s # { 556s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectOtherIfaceProxy: 556s # * 556s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectOtherIfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectOtherIfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectOtherIfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_other_iface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 556s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 556s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_other_iface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_other_iface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherIface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_other_iface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_other_iface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectOtherIface * 556s # org_project_other_iface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_OTHER_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_other_iface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectOtherIface * 556s # org_project_other_iface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherIface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_OTHER_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_other_iface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 556s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_other_iface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherIface", NULL); 556s # } 556s # 556s # /** 556s # * org_project_other_iface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectOtherIface * 556s # org_project_other_iface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_OTHER_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_other_iface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectOtherIface * 556s # org_project_other_iface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherIface", NULL); 556s # if (ret != NULL) 556s # return ORG_PROJECT_OTHER_IFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectOtherIfaceSkeleton: 556s # * 556s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectOtherIfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectOtherIfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectOtherIfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_other_iface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_other_iface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_other_iface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 556s # { 556s # _org_project_other_iface_skeleton_handle_method_call, 556s # _org_project_other_iface_skeleton_handle_get_property, 556s # _org_project_other_iface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_other_iface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 556s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #else 556s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 556s # #endif 556s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # value = _org_project_other_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", info->name, NULL, skeleton); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # _org_project_other_iface_on_signal_simple_signal ( 556s # OrgProjectOtherIface *object) 556s # { 556s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 556s # 556s # GList *connections, *l; 556s # GVariant *signal_variant; 556s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 556s # 556s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 556s # for (l = connections; l != NULL; l = l->next) 556s # { 556s # GDBusConnection *connection = l->data; 556s # g_dbus_connection_emit_signal (connection, 556s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 556s # signal_variant, NULL); 556s # } 556s # g_variant_unref (signal_variant); 556s # g_list_free_full (connections, g_object_unref); 556s # } 556s # 556s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_other_iface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 556s # { 556s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 556s # } 556s # 556s # /** 556s # * org_project_other_iface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectOtherIface * 556s # org_project_other_iface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 556s # } 556s # Error: 557s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 557s # gdbus-codegen: /usr/bin/gdbus-codegen 557s # tmpdir: /tmp/tmpivk5mn6f 557s # /tmp/tmpivk5mn6f/tmpnfzlcznu.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpivk5mn6f/tmpnfzlcznu.xml', '--output', '-', '--body'] 557s # Return code: 0 557s # Output: 557s # /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.SignalingIface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectSignalingIface 557s # * @title: OrgProjectSignalingIface 557s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 557s # */ 557s # 557s # enum 557s # { 557s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 557s # }; 557s # 557s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 557s # 557s # /* ---- Introspection data for org.project.SignalingIface ---- */ 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SimpleSignal", 557s # NULL, 557s # NULL 557s # }, 557s # "simple-signal" 557s # }; 557s # 557s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.SignalingIface", 557s # NULL, 557s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-signaling-iface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_signaling_iface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_signaling_iface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_simple_signal ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__VOID (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectSignalingIface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 557s # */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.SignalingIface. 557s # */ 557s # 557s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 557s # { 557s # /* GObject signals for received D-Bus signals: */ 557s # /** 557s # * OrgProjectSignalingIface::simple-signal: 557s # * @object: A #OrgProjectSignalingIface. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 557s # * 557s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 557s # g_signal_new ("simple-signal", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_simple_signal, 557s # G_TYPE_NONE, 557s # 0); 557s # 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_simple_signal: 557s # * @object: A #OrgProjectSignalingIface. 557s # * 557s # * Emits the "SimpleSignal" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_simple_signal ( 557s # OrgProjectSignalingIface *object) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceProxy: 557s # * 557s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectSignalingIfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectSignalingIfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_signaling_iface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 557s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 557s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 557s # * 557s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 557s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_signaling_iface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 557s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_signaling_iface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceSkeleton: 557s # * 557s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectSignalingIfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_signaling_iface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_signaling_iface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_signaling_iface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 557s # { 557s # _org_project_signaling_iface_skeleton_handle_method_call, 557s # _org_project_signaling_iface_skeleton_handle_get_property, 557s # _org_project_signaling_iface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_signaling_iface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 557s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # #else 557s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 557s # #endif 557s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_simple_signal ( 557s # OrgProjectSignalingIface *object) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_signaling_iface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 557s # { 557s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.OtherSignalingIface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectOtherSignalingIface 557s # * @title: OrgProjectOtherSignalingIface 557s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 557s # */ 557s # 557s # enum 557s # { 557s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 557s # }; 557s # 557s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 557s # 557s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SimpleSignal", 557s # NULL, 557s # NULL 557s # }, 557s # "simple-signal" 557s # }; 557s # 557s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 557s # { 557s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.OtherSignalingIface", 557s # NULL, 557s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-other-signaling-iface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_other_signaling_iface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_other_signaling_iface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_other_signaling_iface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__VOID (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectOtherSignalingIface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 557s # */ 557s # 557s # /** 557s # * OrgProjectOtherSignalingIfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 557s # */ 557s # 557s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 557s # { 557s # /* GObject signals for received D-Bus signals: */ 557s # /** 557s # * OrgProjectOtherSignalingIface::simple-signal: 557s # * @object: A #OrgProjectOtherSignalingIface. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 557s # * 557s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 557s # */ 557s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 557s # g_signal_new ("simple-signal", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 557s # NULL, 557s # NULL, 557s # org_project_other_signaling_iface_signal_marshal_simple_signal, 557s # G_TYPE_NONE, 557s # 0); 557s # 557s # } 557s # 557s # /** 557s # * org_project_other_signaling_iface_emit_simple_signal: 557s # * @object: A #OrgProjectOtherSignalingIface. 557s # * 557s # * Emits the "SimpleSignal" D-Bus signal. 557s # */ 557s # void 557s # org_project_other_signaling_iface_emit_simple_signal ( 557s # OrgProjectOtherSignalingIface *object) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectOtherSignalingIfaceProxy: 557s # * 557s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectOtherSignalingIfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 557s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 557s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_other_signaling_iface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 557s # * 557s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 557s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_other_signaling_iface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherSignalingIface", NULL); 557s # } 557s # 557s # /** 557s # * org_project_other_signaling_iface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectOtherSignalingIface * 557s # org_project_other_signaling_iface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_other_signaling_iface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectOtherSignalingIface * 557s # org_project_other_signaling_iface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherSignalingIface", NULL); 557s # if (ret != NULL) 557s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_other_signaling_iface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 557s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_other_signaling_iface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherSignalingIface", NULL); 557s # } 557s # 557s # /** 557s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectOtherSignalingIface * 557s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectOtherSignalingIface * 557s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherSignalingIface", NULL); 557s # if (ret != NULL) 557s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectOtherSignalingIfaceSkeleton: 557s # * 557s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectOtherSignalingIfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 557s # { 557s # _org_project_other_signaling_iface_skeleton_handle_method_call, 557s # _org_project_other_signaling_iface_skeleton_handle_get_property, 557s # _org_project_other_signaling_iface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_other_signaling_iface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 557s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # #else 557s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 557s # #endif 557s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # value = _org_project_other_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", info->name, NULL, skeleton); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # _org_project_other_signaling_iface_on_signal_simple_signal ( 557s # OrgProjectOtherSignalingIface *object) 557s # { 557s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 557s # { 557s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 557s # } 557s # 557s # /** 557s # * org_project_other_signaling_iface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectOtherSignalingIface * 557s # org_project_other_signaling_iface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 557s # } 557s # Error: 557s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 557s # gdbus-codegen: /usr/bin/gdbus-codegen 557s # tmpdir: /tmp/tmpkj6y318f 557s # /tmp/tmpkj6y318f/tmpc5b9tv7a.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkj6y318f/tmpc5b9tv7a.xml', '--output', '-', '--body'] 557s # Return code: 0 557s # Output: 557s # /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.SignalingIface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectSignalingIface 557s # * @title: OrgProjectSignalingIface 557s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 557s # */ 557s # 557s # enum 557s # { 557s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 557s # }; 557s # 557s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 557s # 557s # /* ---- Introspection data for org.project.SignalingIface ---- */ 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SimpleSignal", 557s # NULL, 557s # NULL 557s # }, 557s # "simple-signal" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_b", 557s # (gchar *) "b", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalB", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-b" 557s # }; 557s # 557s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.SignalingIface", 557s # NULL, 557s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-signaling-iface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_signaling_iface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_signaling_iface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_simple_signal ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__VOID (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__BOOLEAN (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectSignalingIface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 557s # */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 557s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.SignalingIface. 557s # */ 557s # 557s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 557s # { 557s # /* GObject signals for received D-Bus signals: */ 557s # /** 557s # * OrgProjectSignalingIface::simple-signal: 557s # * @object: A #OrgProjectSignalingIface. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 557s # * 557s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 557s # g_signal_new ("simple-signal", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_simple_signal, 557s # G_TYPE_NONE, 557s # 0); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-b: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_arg_b: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 557s # * 557s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 557s # g_signal_new ("single-arg-signal-b", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_BOOLEAN); 557s # 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_simple_signal: 557s # * @object: A #OrgProjectSignalingIface. 557s # * 557s # * Emits the "SimpleSignal" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_simple_signal ( 557s # OrgProjectSignalingIface *object) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_b: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_arg_b: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalB" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_b ( 557s # OrgProjectSignalingIface *object, 557s # gboolean arg_arg_b) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceProxy: 557s # * 557s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectSignalingIfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectSignalingIfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_signaling_iface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 557s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 557s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 557s # * 557s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 557s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_signaling_iface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 557s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_signaling_iface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceSkeleton: 557s # * 557s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectSignalingIfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_signaling_iface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_signaling_iface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_signaling_iface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 557s # { 557s # _org_project_signaling_iface_skeleton_handle_method_call, 557s # _org_project_signaling_iface_skeleton_handle_get_property, 557s # _org_project_signaling_iface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_signaling_iface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 557s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # #else 557s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 557s # #endif 557s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_simple_signal ( 557s # OrgProjectSignalingIface *object) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 557s # OrgProjectSignalingIface *object, 557s # gboolean arg_arg_b) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 557s # arg_arg_b)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_signaling_iface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 557s # { 557s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 557s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 557s # } 557s # Error: 557s # 557s # /tmp/tmpkj6y318f/tmps4zu670i.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkj6y318f/tmps4zu670i.xml', '--output', '-', '--body'] 557s # Return code: 0 557s # Output: 557s # /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_y", 558s # (gchar *) "y", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalY", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-y" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__UCHAR (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-y: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_y: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 558s # g_signal_new ("single-arg-signal-y", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_UCHAR); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_y: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_y: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalY" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_y ( 558s # OrgProjectSignalingIface *object, 558s # guchar arg_arg_y) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 558s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #else 558s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #endif 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 558s # OrgProjectSignalingIface *object, 558s # guchar arg_arg_y) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 558s # arg_arg_y)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # Error: 558s # 558s # /tmp/tmpkj6y318f/tmphy2ofodn.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkj6y318f/tmphy2ofodn.xml', '--output', '-', '--body'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_n", 558s # (gchar *) "n", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalN", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-n" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__INT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-n: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_n: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 558s # g_signal_new ("single-arg-signal-n", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_INT); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_n: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_n: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalN" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_n ( 558s # OrgProjectSignalingIface *object, 558s # gint16 arg_arg_n) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 558s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #else 558s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #endif 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 558s # OrgProjectSignalingIface *object, 558s # gint16 arg_arg_n) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 558s # arg_arg_n)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # Error: 558s # 558s # /tmp/tmpkj6y318f/tmpin18whi9.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkj6y318f/tmpin18whi9.xml', '--output', '-', '--body'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_q", 558s # (gchar *) "q", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalQ", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-q" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__UINT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-q: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_q: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 558s # g_signal_new ("single-arg-signal-q", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_UINT); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_q: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_q: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalQ" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_q ( 558s # OrgProjectSignalingIface *object, 558s # guint16 arg_arg_q) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 558s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #else 558s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #endif 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 558s # OrgProjectSignalingIface *object, 558s # guint16 arg_arg_q) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 558s # arg_arg_q)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # Error: 558s # 558s # /tmp/tmpkj6y318f/tmpw0wr1wq1.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkj6y318f/tmpw0wr1wq1.xml', '--output', '-', '--body'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_i", 558s # (gchar *) "i", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalI", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-i" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__INT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-i: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_i: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 558s # g_signal_new ("single-arg-signal-i", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_INT); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_i: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_i: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalI" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_i ( 558s # OrgProjectSignalingIface *object, 558s # gint arg_arg_i) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 558s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #else 558s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #endif 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 558s # OrgProjectSignalingIface *object, 558s # gint arg_arg_i) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 558s # arg_arg_i)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # Error: 558s # 558s # /tmp/tmpkj6y318f/tmpct7pkp3n.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkj6y318f/tmpct7pkp3n.xml', '--output', '-', '--body'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_u", 558s # (gchar *) "u", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalU", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-u" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__UINT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-u: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_u: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 558s # g_signal_new ("single-arg-signal-u", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_UINT); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_u: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_u: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalU" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_u ( 558s # OrgProjectSignalingIface *object, 558s # guint arg_arg_u) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 558s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #else 558s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #endif 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 558s # OrgProjectSignalingIface *object, 558s # guint arg_arg_u) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 558s # arg_arg_u)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # Error: 558s # 558s # /tmp/tmpkj6y318f/tmpwpftuncw.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkj6y318f/tmpwpftuncw.xml', '--output', '-', '--body'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # static void 558s # _g_dbus_codegen_marshal_VOID__INT64 ( 558s # GClosure *closure, 558s # GValue *return_value G_GNUC_UNUSED, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint G_GNUC_UNUSED, 558s # void *marshal_data) 558s # { 558s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 558s # (void *data1, 558s # gint64 arg_arg_x, 558s # void *data2); 558s # _GDbusCodegenMarshalVoid_Int64Func callback; 558s # GCClosure *cc = (GCClosure*) closure; 558s # void *data1, *data2; 558s # 558s # g_return_if_fail (n_param_values == 2); 558s # 558s # if (G_CCLOSURE_SWAP_DATA (closure)) 558s # { 558s # data1 = closure->data; 558s # data2 = g_value_peek_pointer (param_values + 0); 558s # } 558s # else 558s # { 558s # data1 = g_value_peek_pointer (param_values + 0); 558s # data2 = closure->data; 558s # } 558s # 558s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 558s # (marshal_data ? marshal_data : cc->callback); 558s # 558s # callback (data1, 558s # g_marshal_value_peek_int64 (param_values + 1), 558s # data2); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_x", 558s # (gchar *) "x", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalX", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-x" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-x: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_x: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 558s # g_signal_new ("single-arg-signal-x", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_INT64); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_x: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_x: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalX" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_x ( 558s # OrgProjectSignalingIface *object, 558s # gint64 arg_arg_x) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 558s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #else 558s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #endif 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 558s # OrgProjectSignalingIface *object, 558s # gint64 arg_arg_x) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 558s # arg_arg_x)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # Error: 558s # 558s # /tmp/tmpkj6y318f/tmpd82jcb3q.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkj6y318f/tmpd82jcb3q.xml', '--output', '-', '--body'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # static void 558s # _g_dbus_codegen_marshal_VOID__UINT64 ( 558s # GClosure *closure, 558s # GValue *return_value G_GNUC_UNUSED, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint G_GNUC_UNUSED, 558s # void *marshal_data) 558s # { 558s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 558s # (void *data1, 558s # guint64 arg_arg_t, 558s # void *data2); 558s # _GDbusCodegenMarshalVoid_Uint64Func callback; 558s # GCClosure *cc = (GCClosure*) closure; 558s # void *data1, *data2; 558s # 558s # g_return_if_fail (n_param_values == 2); 558s # 558s # if (G_CCLOSURE_SWAP_DATA (closure)) 558s # { 558s # data1 = closure->data; 558s # data2 = g_value_peek_pointer (param_values + 0); 558s # } 558s # else 558s # { 558s # data1 = g_value_peek_pointer (param_values + 0); 558s # data2 = closure->data; 558s # } 558s # 558s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 558s # (marshal_data ? marshal_data : cc->callback); 558s # 558s # callback (data1, 558s # g_marshal_value_peek_uint64 (param_values + 1), 558s # data2); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_t", 558s # (gchar *) "t", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalT", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-t" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-t: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_t: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 558s # g_signal_new ("single-arg-signal-t", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_UINT64); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_t: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_t: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalT" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_t ( 558s # OrgProjectSignalingIface *object, 558s # guint64 arg_arg_t) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 558s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #else 558s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #endif 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 558s # OrgProjectSignalingIface *object, 558s # guint64 arg_arg_t) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 558s # arg_arg_t)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # Error: 558s # 558s # /tmp/tmpkj6y318f/tmpmrbv0hgq.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkj6y318f/tmpmrbv0hgq.xml', '--output', '-', '--body'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_d", 558s # (gchar *) "d", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalD", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-d" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__DOUBLE (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-d: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_d: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 558s # g_signal_new ("single-arg-signal-d", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_DOUBLE); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_d: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_d: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalD" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_d ( 558s # OrgProjectSignalingIface *object, 558s # gdouble arg_arg_d) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 558s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #else 558s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #endif 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 558s # OrgProjectSignalingIface *object, 558s # gdouble arg_arg_d) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 558s # arg_arg_d)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # Error: 558s # 558s # /tmp/tmpkj6y318f/tmpgo0512zc.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkj6y318f/tmpgo0512zc.xml', '--output', '-', '--body'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_s", 558s # (gchar *) "s", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalS", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-s" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__STRING (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-s: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_s: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 558s # g_signal_new ("single-arg-signal-s", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_STRING); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_s: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_s: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalS" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_s ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *arg_arg_s) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 558s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #else 558s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #endif 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *arg_arg_s) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 558s # arg_arg_s)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # Error: 558s # 558s # /tmp/tmpkj6y318f/tmpuupixb82.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkj6y318f/tmpuupixb82.xml', '--output', '-', '--body'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_o", 558s # (gchar *) "o", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalO", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-o" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__STRING (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-o: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_o: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 558s # g_signal_new ("single-arg-signal-o", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_STRING); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_o: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_o: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalO" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_o ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *arg_arg_o) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 558s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #else 558s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #endif 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *arg_arg_o) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 558s # arg_arg_o)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # Error: 558s # 558s # /tmp/tmpkj6y318f/tmpto881kn9.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkj6y318f/tmpto881kn9.xml', '--output', '-', '--body'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_g", 558s # (gchar *) "g", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalG", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-g" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__STRING (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-g: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_g: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 558s # g_signal_new ("single-arg-signal-g", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_STRING); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_g: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_g: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalG" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_g ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *arg_arg_g) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 558s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #else 558s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #endif 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *arg_arg_g) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 558s # arg_arg_g)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # Error: 558s # 558s # /tmp/tmpkj6y318f/tmp7qbsakg8.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkj6y318f/tmp7qbsakg8.xml', '--output', '-', '--body'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_h", 558s # (gchar *) "h", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalH", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-h" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VARIANT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-h: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_h: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 558s # g_signal_new ("single-arg-signal-h", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_VARIANT); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_h: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_h: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalH" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_h ( 558s # OrgProjectSignalingIface *object, 558s # GVariant *arg_arg_h) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 558s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #else 558s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #endif 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 558s # OrgProjectSignalingIface *object, 558s # GVariant *arg_arg_h) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 558s # arg_arg_h)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # Error: 558s # 558s # /tmp/tmpkj6y318f/tmpn_2x7tro.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkj6y318f/tmpn_2x7tro.xml', '--output', '-', '--body'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_ay", 558s # (gchar *) "ay", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalAy", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-ay" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__STRING (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-ay: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_ay: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 558s # g_signal_new ("single-arg-signal-ay", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_STRING); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_ay: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_ay: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalAy" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_ay ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *arg_arg_ay) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 558s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #else 558s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #endif 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *arg_arg_ay) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 558s # arg_arg_ay)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # Error: 558s # 558s # /tmp/tmpkj6y318f/tmpsrom9bh7.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkj6y318f/tmpsrom9bh7.xml', '--output', '-', '--body'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_as", 558s # (gchar *) "as", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalAs", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-as" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__BOXED (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-as: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_as: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 558s # g_signal_new ("single-arg-signal-as", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_STRV); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_as: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_as: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalAs" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_as ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *const *arg_arg_as) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 558s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #else 558s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #endif 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *const *arg_arg_as) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 558s # arg_arg_as)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # Error: 558s # 558s # /tmp/tmpkj6y318f/tmpuzx3ayt6.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkj6y318f/tmpuzx3ayt6.xml', '--output', '-', '--body'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_ao", 558s # (gchar *) "ao", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalAo", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-ao" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__BOXED (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-ao: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_ao: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 558s # g_signal_new ("single-arg-signal-ao", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_STRV); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_ao: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_ao: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalAo" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_ao ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *const *arg_arg_ao) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 558s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #else 558s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #endif 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *const *arg_arg_ao) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 558s # arg_arg_ao)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # Error: 558s # 558s # /tmp/tmpkj6y318f/tmpnioil7v9.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkj6y318f/tmpnioil7v9.xml', '--output', '-', '--body'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_aay", 558s # (gchar *) "aay", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalAay", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-aay" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__BOXED (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-aay: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_aay: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 558s # g_signal_new ("single-arg-signal-aay", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_STRV); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_aay: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_aay: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalAay" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_aay ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *const *arg_arg_aay) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 558s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #else 558s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #endif 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *const *arg_arg_aay) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 558s # arg_arg_aay)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # Error: 558s # 558s # /tmp/tmpkj6y318f/tmpkc9pawmk.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkj6y318f/tmpkc9pawmk.xml', '--output', '-', '--body'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_asv", 558s # (gchar *) "a{sv}", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalAsv", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-asv" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VARIANT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-asv: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_asv: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 558s # g_signal_new ("single-arg-signal-asv", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_VARIANT); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_asv: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_asv: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalAsv" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_asv ( 558s # OrgProjectSignalingIface *object, 558s # GVariant *arg_arg_asv) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 558s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #else 558s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #endif 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 558s # OrgProjectSignalingIface *object, 558s # GVariant *arg_arg_asv) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 558s # arg_arg_asv)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # Error: 558s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 558s # gdbus-codegen: /usr/bin/gdbus-codegen 558s # tmpdir: /tmp/tmpl99acjfo 558s # /tmp/tmpl99acjfo/tmpxkgyb70d.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl99acjfo/tmpxkgyb70d.xml', '--output', '-', '--body'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # static void 558s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 558s # GClosure *closure, 558s # GValue *return_value G_GNUC_UNUSED, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint G_GNUC_UNUSED, 558s # void *marshal_data) 558s # { 558s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 558s # (void *data1, 558s # gboolean arg_an_b, 558s # guchar arg_an_y, 558s # gint16 arg_an_n, 558s # guint16 arg_an_q, 558s # gint arg_an_i, 558s # guint arg_an_u, 558s # gint64 arg_an_x, 558s # guint64 arg_an_t, 558s # gdouble arg_an_d, 558s # const gchar *arg_an_s, 558s # const gchar *arg_an_o, 558s # const gchar *arg_an_g, 558s # GVariant *arg_an_h, 558s # const gchar *arg_an_ay, 558s # const gchar *const *arg_an_as, 558s # const gchar *const *arg_an_ao, 558s # const gchar *const *arg_an_aay, 558s # GVariant *arg_an_asv, 558s # void *data2); 558s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 558s # GCClosure *cc = (GCClosure*) closure; 558s # void *data1, *data2; 558s # 558s # g_return_if_fail (n_param_values == 19); 558s # 558s # if (G_CCLOSURE_SWAP_DATA (closure)) 558s # { 558s # data1 = closure->data; 558s # data2 = g_value_peek_pointer (param_values + 0); 558s # } 558s # else 558s # { 558s # data1 = g_value_peek_pointer (param_values + 0); 558s # data2 = closure->data; 558s # } 558s # 558s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 558s # (marshal_data ? marshal_data : cc->callback); 558s # 558s # callback (data1, 558s # g_marshal_value_peek_boolean (param_values + 1), 558s # g_marshal_value_peek_uchar (param_values + 2), 558s # g_marshal_value_peek_int (param_values + 3), 558s # g_marshal_value_peek_uint (param_values + 4), 558s # g_marshal_value_peek_int (param_values + 5), 558s # g_marshal_value_peek_uint (param_values + 6), 558s # g_marshal_value_peek_int64 (param_values + 7), 558s # g_marshal_value_peek_uint64 (param_values + 8), 558s # g_marshal_value_peek_double (param_values + 9), 558s # g_marshal_value_peek_string (param_values + 10), 558s # g_marshal_value_peek_string (param_values + 11), 558s # g_marshal_value_peek_string (param_values + 12), 558s # g_marshal_value_peek_variant (param_values + 13), 558s # g_marshal_value_peek_string (param_values + 14), 558s # g_marshal_value_peek_boxed (param_values + 15), 558s # g_marshal_value_peek_boxed (param_values + 16), 558s # g_marshal_value_peek_boxed (param_values + 17), 558s # g_marshal_value_peek_variant (param_values + 18), 558s # data2); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_b", 558s # (gchar *) "b", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_y", 558s # (gchar *) "y", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_n", 558s # (gchar *) "n", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_q", 558s # (gchar *) "q", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_i", 558s # (gchar *) "i", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_u", 558s # (gchar *) "u", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_x", 558s # (gchar *) "x", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_t", 558s # (gchar *) "t", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_d", 558s # (gchar *) "d", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_s", 558s # (gchar *) "s", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_o", 558s # (gchar *) "o", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_g", 558s # (gchar *) "g", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_h", 558s # (gchar *) "h", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_ay", 558s # (gchar *) "ay", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_as", 558s # (gchar *) "as", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_ao", 558s # (gchar *) "ao", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_aay", 558s # (gchar *) "aay", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_asv", 558s # (gchar *) "a{sv}", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SignalWithManyArgs", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 558s # NULL 558s # }, 558s # "signal-with-many-args" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::signal-with-many-args: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_an_b: Argument. 558s # * @arg_an_y: Argument. 558s # * @arg_an_n: Argument. 558s # * @arg_an_q: Argument. 558s # * @arg_an_i: Argument. 558s # * @arg_an_u: Argument. 558s # * @arg_an_x: Argument. 558s # * @arg_an_t: Argument. 558s # * @arg_an_d: Argument. 558s # * @arg_an_s: Argument. 558s # * @arg_an_o: Argument. 558s # * @arg_an_g: Argument. 558s # * @arg_an_h: Argument. 558s # * @arg_an_ay: Argument. 558s # * @arg_an_as: Argument. 558s # * @arg_an_ao: Argument. 558s # * @arg_an_aay: Argument. 558s # * @arg_an_asv: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 558s # * 558s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 558s # g_signal_new ("signal-with-many-args", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 558s # G_TYPE_NONE, 558s # 18, G_TYPE_BOOLEAN, G_TYPE_UCHAR, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT64, G_TYPE_UINT64, G_TYPE_DOUBLE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VARIANT, G_TYPE_STRING, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_VARIANT); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_signal_with_many_args: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_an_b: Argument to pass with the signal. 558s # * @arg_an_y: Argument to pass with the signal. 558s # * @arg_an_n: Argument to pass with the signal. 558s # * @arg_an_q: Argument to pass with the signal. 558s # * @arg_an_i: Argument to pass with the signal. 558s # * @arg_an_u: Argument to pass with the signal. 558s # * @arg_an_x: Argument to pass with the signal. 558s # * @arg_an_t: Argument to pass with the signal. 558s # * @arg_an_d: Argument to pass with the signal. 558s # * @arg_an_s: Argument to pass with the signal. 558s # * @arg_an_o: Argument to pass with the signal. 558s # * @arg_an_g: Argument to pass with the signal. 558s # * @arg_an_h: Argument to pass with the signal. 558s # * @arg_an_ay: Argument to pass with the signal. 558s # * @arg_an_as: Argument to pass with the signal. 558s # * @arg_an_ao: Argument to pass with the signal. 558s # * @arg_an_aay: Argument to pass with the signal. 558s # * @arg_an_asv: Argument to pass with the signal. 558s # * 558s # * Emits the "SignalWithManyArgs" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_signal_with_many_args ( 558s # OrgProjectSignalingIface *object, 558s # gboolean arg_an_b, 558s # guchar arg_an_y, 558s # gint16 arg_an_n, 558s # guint16 arg_an_q, 558s # gint arg_an_i, 558s # guint arg_an_u, 558s # gint64 arg_an_x, 558s # guint64 arg_an_t, 558s # gdouble arg_an_d, 558s # const gchar *arg_an_s, 558s # const gchar *arg_an_o, 558s # const gchar *arg_an_g, 558s # GVariant *arg_an_h, 558s # const gchar *arg_an_ay, 558s # const gchar *const *arg_an_as, 558s # const gchar *const *arg_an_ao, 558s # const gchar *const *arg_an_aay, 558s # GVariant *arg_an_asv) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS], 0, arg_an_b, arg_an_y, arg_an_n, arg_an_q, arg_an_i, arg_an_u, arg_an_x, arg_an_t, arg_an_d, arg_an_s, arg_an_o, arg_an_g, arg_an_h, arg_an_ay, arg_an_as, arg_an_ao, arg_an_aay, arg_an_asv); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 558s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #else 558s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 558s # #endif 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 558s # OrgProjectSignalingIface *object, 558s # gboolean arg_an_b, 558s # guchar arg_an_y, 558s # gint16 arg_an_n, 558s # guint16 arg_an_q, 558s # gint arg_an_i, 558s # guint arg_an_u, 558s # gint64 arg_an_x, 558s # guint64 arg_an_t, 558s # gdouble arg_an_d, 558s # const gchar *arg_an_s, 558s # const gchar *arg_an_o, 558s # const gchar *arg_an_g, 558s # GVariant *arg_an_h, 558s # const gchar *arg_an_ay, 558s # const gchar *const *arg_an_as, 558s # const gchar *const *arg_an_ao, 558s # const gchar *const *arg_an_aay, 558s # GVariant *arg_an_asv) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 558s # arg_an_b, 558s # arg_an_y, 558s # arg_an_n, 558s # arg_an_q, 558s # arg_an_i, 558s # arg_an_u, 558s # arg_an_x, 558s # arg_an_t, 558s # arg_an_d, 558s # arg_an_s, 558s # arg_an_o, 558s # arg_an_g, 558s # arg_an_h, 558s # arg_an_ay, 558s # arg_an_as, 558s # arg_an_ao, 558s # arg_an_aay, 558s # arg_an_asv)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # Error: 558s ok 25 __main__.TestCodegen.test_generate_valid_docbook 558s # gdbus-codegen: /usr/bin/gdbus-codegen 558s # tmpdir: /tmp/tmpv0zzc7o5 558s # /tmp/tmpv0zzc7o5/tmpraovxeil.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv0zzc7o5/tmpraovxeil.xml', '--generate-docbook', 'test'] 558s # Return code: 0 558s # Output: 558s # 558s # Error: 558s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 558s # gdbus-codegen: /usr/bin/gdbus-codegen 558s # tmpdir: /tmp/tmp_vkar0kx 558s # /tmp/tmp_vkar0kx/tmpo0ko2k6m.xml: 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_vkar0kx/tmpo0ko2k6m.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 558s # Return code: 1 558s # Output: 558s # 558s # Error: 558s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 558s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 558s # gdbus-codegen: /usr/bin/gdbus-codegen 558s # tmpdir: /tmp/tmpzxv_5q_w 558s # /tmp/tmpzxv_5q_w/tmppwtkfw2b.xml: 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzxv_5q_w/tmppwtkfw2b.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifndef __STDOUT__ 558s # #define __STDOUT__ 558s # 558s # #include 558s # 558s # G_BEGIN_DECLS 558s # 558s # 558s # G_END_DECLS 558s # 558s # #endif /* __STDOUT__ */ 558s # Error: 558s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 558s # gdbus-codegen: /usr/bin/gdbus-codegen 558s # tmpdir: /tmp/tmph3f98wzm 558s # /tmp/tmph3f98wzm/tmpz0ry979n.xml: 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph3f98wzm/tmpz0ry979n.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 558s # Return code: 1 558s # Output: 558s # 558s # Error: 558s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 558s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 558s # gdbus-codegen: /usr/bin/gdbus-codegen 558s # tmpdir: /tmp/tmpvjn53vgs 558s # /tmp/tmpvjn53vgs/tmprs6ag3bl.xml: 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvjn53vgs/tmprs6ag3bl.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifndef __STDOUT__ 558s # #define __STDOUT__ 558s # 558s # #include 558s # 558s # G_BEGIN_DECLS 558s # 558s # 558s # G_END_DECLS 558s # 558s # #endif /* __STDOUT__ */ 558s # Error: 558s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 558s # gdbus-codegen: /usr/bin/gdbus-codegen 558s # tmpdir: /tmp/tmp2adork6z 558s # /tmp/tmp2adork6z/tmp5ywer3na.xml: 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2adork6z/tmp5ywer3na.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifndef __STDOUT__ 558s # #define __STDOUT__ 558s # 558s # #include 558s # 558s # G_BEGIN_DECLS 558s # 558s # 558s # G_END_DECLS 558s # 558s # #endif /* __STDOUT__ */ 558s # Error: 558s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 558s # gdbus-codegen: /usr/bin/gdbus-codegen 558s # tmpdir: /tmp/tmprwmz8kzw 558s # /tmp/tmprwmz8kzw/tmpb9qphyv2.xml: 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprwmz8kzw/tmpb9qphyv2.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 558s # Return code: 1 558s # Output: 558s # 558s # Error: 558s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 558s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 558s # gdbus-codegen: /usr/bin/gdbus-codegen 558s # tmpdir: /tmp/tmpxeeonz1_ 558s # /tmp/tmpxeeonz1_/tmpjzss0ddr.xml: 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxeeonz1_/tmpjzss0ddr.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifndef __STDOUT__ 558s # #define __STDOUT__ 558s # 558s # #include 558s # 558s # G_BEGIN_DECLS 558s # 558s # 558s # G_END_DECLS 558s # 558s # #endif /* __STDOUT__ */ 558s # Error: 558s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 558s # gdbus-codegen: /usr/bin/gdbus-codegen 558s # tmpdir: /tmp/tmp556_a_99 558s # /tmp/tmp556_a_99/tmp6y_0ur83.xml: 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp556_a_99/tmp6y_0ur83.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 558s # Return code: 1 558s # Output: 558s # 558s # Error: 558s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 558s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 558s # gdbus-codegen: /usr/bin/gdbus-codegen 558s # tmpdir: /tmp/tmprrrv3ydl 558s # /tmp/tmprrrv3ydl/tmpd4dpn89o.xml: 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprrrv3ydl/tmpd4dpn89o.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifndef __STDOUT__ 558s # #define __STDOUT__ 558s # 558s # #include 558s # 558s # G_BEGIN_DECLS 558s # 558s # 558s # G_END_DECLS 558s # 558s # #endif /* __STDOUT__ */ 558s # Error: 558s ok 35 __main__.TestCodegen.test_help 558s # gdbus-codegen: /usr/bin/gdbus-codegen 558s # tmpdir: /tmp/tmpiroxu4w2 558s # Running: ['/usr/bin/gdbus-codegen', '--help'] 558s # Return code: 0 558s # Output: 558s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 558s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 558s # [--c-generate-autocleanup {none,objects,all}] 558s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 558s # [--generate-rst OUTFILES] [--pragma-once] 558s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 558s # [--glib-min-required VERSION] 558s # [--glib-max-allowed VERSION] 558s # [--symbol-decorator SYMBOL_DECORATOR] 558s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 558s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 558s # [--generate-c-code OUTFILES | --header | --body | 558s # --interface-info-header | --interface-info-body] 558s # [--output FILE | --output-directory OUTDIR] 558s # FILE [FILE ...] 558s # 558s # D-Bus code and documentation generator 558s # 558s # positional arguments: 558s # FILE D-Bus introspection XML file 558s # 558s # options: 558s # -h, --help show this help message and exit 558s # --interface-prefix PREFIX 558s # String to strip from D-Bus interface names for code 558s # and docs 558s # --c-namespace NAMESPACE 558s # The namespace to use for generated C code 558s # --c-generate-object-manager 558s # Generate a GDBusObjectManagerClient subclass when 558s # generating C code 558s # --c-generate-autocleanup {none,objects,all} 558s # Generate autocleanup support 558s # --generate-docbook OUTFILES 558s # Generate Docbook in OUTFILES-org.Project.IFace.xml 558s # --generate-md OUTFILES 558s # Generate Markdown in OUTFILES-org.Project.IFace.md 558s # --generate-rst OUTFILES 558s # Generate reStructuredText in OUTFILES- 558s # org.Project.IFace.rst 558s # --pragma-once Use "pragma once" as the inclusion guard 558s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 558s # Add annotation (may be used several times) 558s # --glib-min-required VERSION 558s # Minimum version of GLib to be supported by the 558s # outputted code (default: 2.30) 558s # --glib-max-allowed VERSION 558s # Maximum version of GLib to be used by the outputted 558s # code (default: current GLib version) 558s # --symbol-decorator SYMBOL_DECORATOR 558s # Macro used to decorate a symbol in the outputted 558s # header, possibly to export symbols 558s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 558s # Additional header required for decorator specified by 558s # --symbol-decorator 558s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 558s # Additional define required for decorator specified by 558s # --symbol-decorator 558s # --generate-c-code OUTFILES 558s # Generate C code in OUTFILES.[ch] 558s # --header Generate C headers 558s # --body Generate C code 558s # --interface-info-header 558s # Generate GDBusInterfaceInfo C header 558s # --interface-info-body 558s # Generate GDBusInterfaceInfo C code 558s # --output FILE Write output into the specified file 558s # --output-directory OUTDIR 558s # Location to output generated files 558s # Error: 558s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 558s # gdbus-codegen: /usr/bin/gdbus-codegen 558s # tmpdir: /tmp/tmplkihra0s 558s # /tmp/tmplkihra0s/tmpynq9bfwj.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplkihra0s/tmpynq9bfwj.xml', '--generate-rst', 'test'] 558s # Return code: 0 558s # Output: 558s # 558s # Error: 558s # 558s # /tmp/tmplkihra0s/tmpq76j63vp.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplkihra0s/tmpq76j63vp.xml', '--generate-md', 'test'] 558s # Return code: 0 558s # Output: 558s # 558s # Error: 558s # 558s # /tmp/tmplkihra0s/tmptnsby4mk.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplkihra0s/tmptnsby4mk.xml', '--generate-docbook', 'test'] 558s # Return code: 0 558s # Output: 558s # 558s # Error: 558s ok 37 __main__.TestCodegen.test_no_args 558s # gdbus-codegen: /usr/bin/gdbus-codegen 558s # tmpdir: /tmp/tmpx3997ptb 558s # Running: ['/usr/bin/gdbus-codegen'] 558s # Return code: 2 558s # Output: 558s # 558s # Error: 558s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 558s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 558s # [--c-generate-autocleanup {none,objects,all}] 558s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 558s # [--generate-rst OUTFILES] [--pragma-once] 558s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 558s # [--glib-min-required VERSION] 558s # [--glib-max-allowed VERSION] 558s # [--symbol-decorator SYMBOL_DECORATOR] 558s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 558s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 558s # [--generate-c-code OUTFILES | --header | --body | 558s # --interface-info-header | --interface-info-body] 558s # [--output FILE | --output-directory OUTDIR] 558s # FILE [FILE ...] 558s # gdbus-codegen: error: the following arguments are required: FILE 558s ok 38 __main__.TestCodegen.test_reproducible 558s # gdbus-codegen: /usr/bin/gdbus-codegen 558s # tmpdir: /tmp/tmpo_34w3dw 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo_34w3dw/tmpkxwb0xp31.xml', '/tmp/tmpo_34w3dw/tmpbxii22vy2.xml', '--output', '-', '--header'] 558s # Return code: 0 558s # Output: 558s # /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifndef __STDOUT__ 558s # #define __STDOUT__ 558s # 558s # #include 558s # 558s # G_BEGIN_DECLS 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # /* Declarations for org.project.Bar.Frobnicator */ 558s # 558s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 558s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 558s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 558s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 558s # 558s # struct _OrgProjectBarFrobnicator; 558s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 558s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 558s # 558s # struct _OrgProjectBarFrobnicatorIface 558s # { 558s # GTypeInterface parent_iface; 558s # 558s # gboolean (*handle_random_method) ( 558s # OrgProjectBarFrobnicator *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # }; 558s # 558s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 558s # 558s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 558s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 558s # 558s # 558s # /* D-Bus method call completion functions: */ 558s # void org_project_bar_frobnicator_complete_random_method ( 558s # OrgProjectBarFrobnicator *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # 558s # 558s # /* D-Bus method calls: */ 558s # void org_project_bar_frobnicator_call_random_method ( 558s # OrgProjectBarFrobnicator *proxy, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # 558s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 558s # OrgProjectBarFrobnicator *proxy, 558s # GAsyncResult *res, 558s # GError **error); 558s # 558s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 558s # OrgProjectBarFrobnicator *proxy, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # 558s # 558s # /* ---- */ 558s # 558s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 558s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 558s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 558s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 558s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 558s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 558s # 558s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 558s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 558s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 558s # 558s # struct _OrgProjectBarFrobnicatorProxy 558s # { 558s # /*< private >*/ 558s # GDBusProxy parent_instance; 559s # OrgProjectBarFrobnicatorProxyPrivate *priv; 559s # }; 559s # 559s # struct _OrgProjectBarFrobnicatorProxyClass 559s # { 559s # GDBusProxyClass parent_class; 559s # }; 559s # 559s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 559s # 559s # #if GLIB_CHECK_VERSION(2, 44, 0) 559s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 559s # #endif 559s # 559s # void org_project_bar_frobnicator_proxy_new ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 559s # GAsyncResult *res, 559s # GError **error); 559s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # void org_project_bar_frobnicator_proxy_new_for_bus ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 559s # GAsyncResult *res, 559s # GError **error); 559s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # 559s # /* ---- */ 559s # 559s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 559s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 559s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 559s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 559s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 559s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 559s # 559s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 559s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 559s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 559s # 559s # struct _OrgProjectBarFrobnicatorSkeleton 559s # { 559s # /*< private >*/ 559s # GDBusInterfaceSkeleton parent_instance; 559s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 559s # }; 559s # 559s # struct _OrgProjectBarFrobnicatorSkeletonClass 559s # { 559s # GDBusInterfaceSkeletonClass parent_class; 559s # }; 559s # 559s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 559s # 559s # #if GLIB_CHECK_VERSION(2, 44, 0) 559s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 559s # #endif 559s # 559s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 559s # 559s # 559s # /* ------------------------------------------------------------------------ */ 559s # /* Declarations for com.acme.Coyote */ 559s # 559s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 559s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 559s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 559s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 559s # 559s # struct _ComAcmeCoyote; 559s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 559s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 559s # 559s # struct _ComAcmeCoyoteIface 559s # { 559s # GTypeInterface parent_iface; 559s # 559s # 559s # 559s # gboolean (*handle_attack) ( 559s # ComAcmeCoyote *object, 559s # GDBusMethodInvocation *invocation); 559s # 559s # gboolean (*handle_run) ( 559s # ComAcmeCoyote *object, 559s # GDBusMethodInvocation *invocation); 559s # 559s # gboolean (*handle_sleep) ( 559s # ComAcmeCoyote *object, 559s # GDBusMethodInvocation *invocation); 559s # 559s # const gchar * (*get_mood) (ComAcmeCoyote *object); 559s # 559s # void (*surprised) ( 559s # ComAcmeCoyote *object); 559s # 559s # }; 559s # 559s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 559s # 559s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 559s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 559s # 559s # 559s # /* D-Bus method call completion functions: */ 559s # void com_acme_coyote_complete_run ( 559s # ComAcmeCoyote *object, 559s # GDBusMethodInvocation *invocation); 559s # 559s # void com_acme_coyote_complete_sleep ( 559s # ComAcmeCoyote *object, 559s # GDBusMethodInvocation *invocation); 559s # 559s # void com_acme_coyote_complete_attack ( 559s # ComAcmeCoyote *object, 559s # GDBusMethodInvocation *invocation); 559s # 559s # 559s # 559s # /* D-Bus signal emissions functions: */ 559s # void com_acme_coyote_emit_surprised ( 559s # ComAcmeCoyote *object); 559s # 559s # 559s # 559s # /* D-Bus method calls: */ 559s # void com_acme_coyote_call_run ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # 559s # gboolean com_acme_coyote_call_run_finish ( 559s # ComAcmeCoyote *proxy, 559s # GAsyncResult *res, 559s # GError **error); 559s # 559s # gboolean com_acme_coyote_call_run_sync ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # void com_acme_coyote_call_sleep ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # 559s # gboolean com_acme_coyote_call_sleep_finish ( 559s # ComAcmeCoyote *proxy, 559s # GAsyncResult *res, 559s # GError **error); 559s # 559s # gboolean com_acme_coyote_call_sleep_sync ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # void com_acme_coyote_call_attack ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # 559s # gboolean com_acme_coyote_call_attack_finish ( 559s # ComAcmeCoyote *proxy, 559s # GAsyncResult *res, 559s # GError **error); 559s # 559s # gboolean com_acme_coyote_call_attack_sync ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # 559s # 559s # /* D-Bus property accessors: */ 559s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 559s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 559s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 559s # 559s # 559s # /* ---- */ 559s # 559s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 559s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 559s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 559s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 559s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 559s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 559s # 559s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 559s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 559s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 559s # 559s # struct _ComAcmeCoyoteProxy 559s # { 559s # /*< private >*/ 559s # GDBusProxy parent_instance; 559s # ComAcmeCoyoteProxyPrivate *priv; 559s # }; 559s # 559s # struct _ComAcmeCoyoteProxyClass 559s # { 559s # GDBusProxyClass parent_class; 559s # }; 559s # 559s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 559s # 559s # #if GLIB_CHECK_VERSION(2, 44, 0) 559s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 559s # #endif 559s # 559s # void com_acme_coyote_proxy_new ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 559s # GAsyncResult *res, 559s # GError **error); 559s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # void com_acme_coyote_proxy_new_for_bus ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 559s # GAsyncResult *res, 559s # GError **error); 559s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # 559s # /* ---- */ 559s # 559s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 559s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 559s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 559s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 559s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 559s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 559s # 559s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 559s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 559s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 559s # 559s # struct _ComAcmeCoyoteSkeleton 559s # { 559s # /*< private >*/ 559s # GDBusInterfaceSkeleton parent_instance; 559s # ComAcmeCoyoteSkeletonPrivate *priv; 559s # }; 559s # 559s # struct _ComAcmeCoyoteSkeletonClass 559s # { 559s # GDBusInterfaceSkeletonClass parent_class; 559s # }; 559s # 559s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 559s # 559s # #if GLIB_CHECK_VERSION(2, 44, 0) 559s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 559s # #endif 559s # 559s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 559s # 559s # 559s # G_END_DECLS 559s # 559s # #endif /* __STDOUT__ */ 559s # Error: 559s # 559s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo_34w3dw/tmpbxii22vy2.xml', '/tmp/tmpo_34w3dw/tmpkxwb0xp31.xml', '--output', '-', '--header'] 559s # Return code: 0 559s # Output: 559s # /* 559s # * This file is generated by gdbus-codegen, do not modify it. 559s # * 559s # * The license of this code is the same as for the D-Bus interface description 559s # * it was derived from. Note that it links to GLib, so must comply with the 559s # * LGPL linking clauses. 559s # */ 559s # 559s # #ifndef __STDOUT__ 559s # #define __STDOUT__ 559s # 559s # #include 559s # 559s # G_BEGIN_DECLS 559s # 559s # 559s # /* ------------------------------------------------------------------------ */ 559s # /* Declarations for org.project.Bar.Frobnicator */ 559s # 559s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 559s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 559s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 559s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 559s # 559s # struct _OrgProjectBarFrobnicator; 559s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 559s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 559s # 559s # struct _OrgProjectBarFrobnicatorIface 559s # { 559s # GTypeInterface parent_iface; 559s # 559s # gboolean (*handle_random_method) ( 559s # OrgProjectBarFrobnicator *object, 559s # GDBusMethodInvocation *invocation); 559s # 559s # }; 559s # 559s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 559s # 559s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 559s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 559s # 559s # 559s # /* D-Bus method call completion functions: */ 559s # void org_project_bar_frobnicator_complete_random_method ( 559s # OrgProjectBarFrobnicator *object, 559s # GDBusMethodInvocation *invocation); 559s # 559s # 559s # 559s # /* D-Bus method calls: */ 559s # void org_project_bar_frobnicator_call_random_method ( 559s # OrgProjectBarFrobnicator *proxy, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # 559s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 559s # OrgProjectBarFrobnicator *proxy, 559s # GAsyncResult *res, 559s # GError **error); 559s # 559s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 559s # OrgProjectBarFrobnicator *proxy, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # 559s # 559s # /* ---- */ 559s # 559s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 559s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 559s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 559s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 559s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 559s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 559s # 559s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 559s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 559s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 559s # 559s # struct _OrgProjectBarFrobnicatorProxy 559s # { 559s # /*< private >*/ 559s # GDBusProxy parent_instance; 559s # OrgProjectBarFrobnicatorProxyPrivate *priv; 559s # }; 559s # 559s # struct _OrgProjectBarFrobnicatorProxyClass 559s # { 559s # GDBusProxyClass parent_class; 559s # }; 559s # 559s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 559s # 559s # #if GLIB_CHECK_VERSION(2, 44, 0) 559s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 559s # #endif 559s # 559s # void org_project_bar_frobnicator_proxy_new ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 559s # GAsyncResult *res, 559s # GError **error); 559s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # void org_project_bar_frobnicator_proxy_new_for_bus ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 559s # GAsyncResult *res, 559s # GError **error); 559s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # 559s # /* ---- */ 559s # 559s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 559s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 559s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 559s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 559s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 559s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 559s # 559s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 559s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 559s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 559s # 559s # struct _OrgProjectBarFrobnicatorSkeleton 559s # { 559s # /*< private >*/ 559s # GDBusInterfaceSkeleton parent_instance; 559s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 559s # }; 559s # 559s # struct _OrgProjectBarFrobnicatorSkeletonClass 559s # { 559s # GDBusInterfaceSkeletonClass parent_class; 559s # }; 559s # 559s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 559s # 559s # #if GLIB_CHECK_VERSION(2, 44, 0) 559s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 559s # #endif 559s # 559s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 559s # 559s # 559s # /* ------------------------------------------------------------------------ */ 559s # /* Declarations for com.acme.Coyote */ 559s # 559s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 559s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 559s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 559s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 559s # 559s # struct _ComAcmeCoyote; 559s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 559s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 559s # 559s # struct _ComAcmeCoyoteIface 559s # { 559s # GTypeInterface parent_iface; 559s # 559s # 559s # 559s # gboolean (*handle_attack) ( 559s # ComAcmeCoyote *object, 559s # GDBusMethodInvocation *invocation); 559s # 559s # gboolean (*handle_run) ( 559s # ComAcmeCoyote *object, 559s # GDBusMethodInvocation *invocation); 559s # 559s # gboolean (*handle_sleep) ( 559s # ComAcmeCoyote *object, 559s # GDBusMethodInvocation *invocation); 559s # 559s # const gchar * (*get_mood) (ComAcmeCoyote *object); 559s # 559s # void (*surprised) ( 559s # ComAcmeCoyote *object); 559s # 559s # }; 559s # 559s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 559s # 559s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 559s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 559s # 559s # 559s # /* D-Bus method call completion functions: */ 559s # void com_acme_coyote_complete_run ( 559s # ComAcmeCoyote *object, 559s # GDBusMethodInvocation *invocation); 559s # 559s # void com_acme_coyote_complete_sleep ( 559s # ComAcmeCoyote *object, 559s # GDBusMethodInvocation *invocation); 559s # 559s # void com_acme_coyote_complete_attack ( 559s # ComAcmeCoyote *object, 559s # GDBusMethodInvocation *invocation); 559s # 559s # 559s # 559s # /* D-Bus signal emissions functions: */ 559s # void com_acme_coyote_emit_surprised ( 559s # ComAcmeCoyote *object); 559s # 559s # 559s # 559s # /* D-Bus method calls: */ 559s # void com_acme_coyote_call_run ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # 559s # gboolean com_acme_coyote_call_run_finish ( 559s # ComAcmeCoyote *proxy, 559s # GAsyncResult *res, 559s # GError **error); 559s # 559s # gboolean com_acme_coyote_call_run_sync ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # void com_acme_coyote_call_sleep ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # 559s # gboolean com_acme_coyote_call_sleep_finish ( 559s # ComAcmeCoyote *proxy, 559s # GAsyncResult *res, 559s # GError **error); 559s # 559s # gboolean com_acme_coyote_call_sleep_sync ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # void com_acme_coyote_call_attack ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # 559s # gboolean com_acme_coyote_call_attack_finish ( 559s # ComAcmeCoyote *proxy, 559s # GAsyncResult *res, 559s # GError **error); 559s # 559s # gboolean com_acme_coyote_call_attack_sync ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # 559s # 559s # /* D-Bus property accessors: */ 559s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 559s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 559s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 559s # 559s # 559s # /* ---- */ 559s # 559s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 559s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 559s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 559s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 559s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 559s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 559s # 559s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 559s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 559s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 559s # 559s # struct _ComAcmeCoyoteProxy 559s # { 559s # /*< private >*/ 559s # GDBusProxy parent_instance; 559s # ComAcmeCoyoteProxyPrivate *priv; 559s # }; 559s # 559s # struct _ComAcmeCoyoteProxyClass 559s # { 559s # GDBusProxyClass parent_class; 559s # }; 559s # 559s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 559s # 559s # #if GLIB_CHECK_VERSION(2, 44, 0) 559s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 559s # #endif 559s # 559s # void com_acme_coyote_proxy_new ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 559s # GAsyncResult *res, 559s # GError **error); 559s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # void com_acme_coyote_proxy_new_for_bus ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 559s # GAsyncResult *res, 559s # GError **error); 559s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # 559s # /* ---- */ 559s # 559s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 559s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 559s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 559s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 559s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 559s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 559s # 559s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 559s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 559s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 559s # 559s # struct _ComAcmeCoyoteSkeleton 559s # { 559s # /*< private >*/ 559s # GDBusInterfaceSkeleton parent_instance; 559s # ComAcmeCoyoteSkeletonPrivate *priv; 559s # }; 559s # 559s # struct _ComAcmeCoyoteSkeletonClass 559s # { 559s # GDBusInterfaceSkeletonClass parent_class; 559s # }; 559s # 559s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 559s # 559s # #if GLIB_CHECK_VERSION(2, 44, 0) 559s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 559s # #endif 559s # 559s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 559s # 559s # 559s # G_END_DECLS 559s # 559s # #endif /* __STDOUT__ */ 559s # Error: 559s # 559s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo_34w3dw/tmpkxwb0xp31.xml', '/tmp/tmpo_34w3dw/tmpbxii22vy2.xml', '--output', '-', '--body'] 559s # Return code: 0 559s # Output: 559s # /* 559s # * This file is generated by gdbus-codegen, do not modify it. 559s # * 559s # * The license of this code is the same as for the D-Bus interface description 559s # * it was derived from. Note that it links to GLib, so must comply with the 559s # * LGPL linking clauses. 559s # */ 559s # 559s # #ifdef HAVE_CONFIG_H 559s # # include "config.h" 559s # #endif 559s # 559s # #include 559s # #ifdef G_OS_UNIX 559s # # include 559s # #endif 559s # 559s # #ifdef G_ENABLE_DEBUG 559s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 559s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 559s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 559s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 559s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 559s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 559s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 559s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 559s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 559s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 559s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 559s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 559s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 559s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 559s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 559s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 559s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 559s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 559s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 559s # #else /* !G_ENABLE_DEBUG */ 559s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 559s # * Do not access GValues directly in your code. Instead, use the 559s # * g_value_get_*() functions 559s # */ 559s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 559s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 559s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 559s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 559s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 559s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 559s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 559s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 559s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 559s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 559s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 559s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 559s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 559s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 559s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 559s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 559s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 559s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 559s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 559s # #endif /* !G_ENABLE_DEBUG */ 559s # 559s # typedef struct 559s # { 559s # GDBusArgInfo parent_struct; 559s # gboolean use_gvariant; 559s # } _ExtendedGDBusArgInfo; 559s # 559s # typedef struct 559s # { 559s # GDBusMethodInfo parent_struct; 559s # const gchar *signal_name; 559s # gboolean pass_fdlist; 559s # } _ExtendedGDBusMethodInfo; 559s # 559s # typedef struct 559s # { 559s # GDBusSignalInfo parent_struct; 559s # const gchar *signal_name; 559s # } _ExtendedGDBusSignalInfo; 559s # 559s # typedef struct 559s # { 559s # GDBusPropertyInfo parent_struct; 559s # const gchar *hyphen_name; 559s # guint use_gvariant : 1; 559s # guint emits_changed_signal : 1; 559s # } _ExtendedGDBusPropertyInfo; 559s # 559s # typedef struct 559s # { 559s # GDBusInterfaceInfo parent_struct; 559s # const gchar *hyphen_name; 559s # } _ExtendedGDBusInterfaceInfo; 559s # 559s # typedef struct 559s # { 559s # const _ExtendedGDBusPropertyInfo *info; 559s # guint prop_id; 559s # GValue orig_value; /* the value before the change */ 559s # } ChangedProperty; 559s # 559s # static void 559s # _changed_property_free (ChangedProperty *data) 559s # { 559s # g_value_unset (&data->orig_value); 559s # g_free (data); 559s # } 559s # 559s # static gboolean 559s # _g_strv_equal0 (gchar **a, gchar **b) 559s # { 559s # gboolean ret = FALSE; 559s # guint n; 559s # if (a == NULL && b == NULL) 559s # { 559s # ret = TRUE; 559s # goto out; 559s # } 559s # if (a == NULL || b == NULL) 559s # goto out; 559s # if (g_strv_length (a) != g_strv_length (b)) 559s # goto out; 559s # for (n = 0; a[n] != NULL; n++) 559s # if (g_strcmp0 (a[n], b[n]) != 0) 559s # goto out; 559s # ret = TRUE; 559s # out: 559s # return ret; 559s # } 559s # 559s # static gboolean 559s # _g_variant_equal0 (GVariant *a, GVariant *b) 559s # { 559s # gboolean ret = FALSE; 559s # if (a == NULL && b == NULL) 559s # { 559s # ret = TRUE; 559s # goto out; 559s # } 559s # if (a == NULL || b == NULL) 559s # goto out; 559s # ret = g_variant_equal (a, b); 559s # out: 559s # return ret; 559s # } 559s # 559s # G_GNUC_UNUSED static gboolean 559s # _g_value_equal (const GValue *a, const GValue *b) 559s # { 559s # gboolean ret = FALSE; 559s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 559s # switch (G_VALUE_TYPE (a)) 559s # { 559s # case G_TYPE_BOOLEAN: 559s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 559s # break; 559s # case G_TYPE_UCHAR: 559s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 559s # break; 559s # case G_TYPE_INT: 559s # ret = (g_value_get_int (a) == g_value_get_int (b)); 559s # break; 559s # case G_TYPE_UINT: 559s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 559s # break; 559s # case G_TYPE_INT64: 559s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 559s # break; 559s # case G_TYPE_UINT64: 559s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 559s # break; 559s # case G_TYPE_DOUBLE: 559s # { 559s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 559s # gdouble da = g_value_get_double (a); 559s # gdouble db = g_value_get_double (b); 559s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 559s # } 559s # break; 559s # case G_TYPE_STRING: 559s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 559s # break; 559s # case G_TYPE_VARIANT: 559s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 559s # break; 559s # default: 559s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 559s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 559s # else 559s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 559s # break; 559s # } 559s # return ret; 559s # } 559s # 559s # static void 559s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 559s # GClosure *closure, 559s # GValue *return_value, 559s # unsigned int n_param_values, 559s # const GValue *param_values, 559s # void *invocation_hint G_GNUC_UNUSED, 559s # void *marshal_data) 559s # { 559s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 559s # (void *data1, 559s # GDBusMethodInvocation *arg_method_invocation, 559s # void *data2); 559s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 559s # GCClosure *cc = (GCClosure*) closure; 559s # void *data1, *data2; 559s # gboolean v_return; 559s # 559s # g_return_if_fail (return_value != NULL); 559s # g_return_if_fail (n_param_values == 2); 559s # 559s # if (G_CCLOSURE_SWAP_DATA (closure)) 559s # { 559s # data1 = closure->data; 559s # data2 = g_value_peek_pointer (param_values + 0); 559s # } 559s # else 559s # { 559s # data1 = g_value_peek_pointer (param_values + 0); 559s # data2 = closure->data; 559s # } 559s # 559s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 559s # (marshal_data ? marshal_data : cc->callback); 559s # 559s # v_return = 559s # callback (data1, 559s # g_marshal_value_peek_object (param_values + 1), 559s # data2); 559s # 559s # g_value_set_boolean (return_value, v_return); 559s # } 559s # 559s # /* ------------------------------------------------------------------------ 559s # * Code for interface org.project.Bar.Frobnicator 559s # * ------------------------------------------------------------------------ 559s # */ 559s # 559s # /** 559s # * SECTION:OrgProjectBarFrobnicator 559s # * @title: OrgProjectBarFrobnicator 559s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 559s # * 559s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 559s # */ 559s # 559s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 559s # 559s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 559s # { 559s # { 559s # -1, 559s # (gchar *) "RandomMethod", 559s # NULL, 559s # NULL, 559s # NULL 559s # }, 559s # "handle-random-method", 559s # FALSE 559s # }; 559s # 559s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 559s # { 559s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 559s # NULL 559s # }; 559s # 559s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 559s # { 559s # { 559s # -1, 559s # (gchar *) "org.project.Bar.Frobnicator", 559s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 559s # NULL, 559s # NULL, 559s # NULL 559s # }, 559s # "org-project-bar-frobnicator", 559s # }; 559s # 559s # 559s # /** 559s # * org_project_bar_frobnicator_interface_info: 559s # * 559s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 559s # * 559s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 559s # */ 559s # GDBusInterfaceInfo * 559s # org_project_bar_frobnicator_interface_info (void) 559s # { 559s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_override_properties: 559s # * @klass: The class structure for a #GObject derived class. 559s # * @property_id_begin: The property id to assign to the first overridden property. 559s # * 559s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 559s # * The properties are overridden in the order they are defined. 559s # * 559s # * Returns: The last property id. 559s # */ 559s # guint 559s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 559s # { 559s # return property_id_begin - 1; 559s # } 559s # 559s # 559s # inline static void 559s # org_project_bar_frobnicator_method_marshal_random_method ( 559s # GClosure *closure, 559s # GValue *return_value, 559s # unsigned int n_param_values, 559s # const GValue *param_values, 559s # void *invocation_hint, 559s # void *marshal_data) 559s # { 559s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 559s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 559s # } 559s # 559s # 559s # /** 559s # * OrgProjectBarFrobnicator: 559s # * 559s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 559s # */ 559s # 559s # /** 559s # * OrgProjectBarFrobnicatorIface: 559s # * @parent_iface: The parent interface. 559s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 559s # * 559s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 559s # */ 559s # 559s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 559s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 559s # 559s # static void 559s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 559s # { 559s # /* GObject signals for incoming D-Bus method calls: */ 559s # /** 559s # * OrgProjectBarFrobnicator::handle-random-method: 559s # * @object: A #OrgProjectBarFrobnicator. 559s # * @invocation: A #GDBusMethodInvocation. 559s # * 559s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 559s # * 559s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_bar_frobnicator_complete_random_method() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 559s # * 559s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 559s # */ 559s # g_signal_new ("handle-random-method", 559s # G_TYPE_FROM_INTERFACE (iface), 559s # G_SIGNAL_RUN_LAST, 559s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 559s # g_signal_accumulator_true_handled, 559s # NULL, 559s # org_project_bar_frobnicator_method_marshal_random_method, 559s # G_TYPE_BOOLEAN, 559s # 1, 559s # G_TYPE_DBUS_METHOD_INVOCATION); 559s # 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_call_random_method: 559s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 559s # * @user_data: User data to pass to @callback. 559s # * 559s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 559s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 559s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 559s # * 559s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 559s # */ 559s # void 559s # org_project_bar_frobnicator_call_random_method ( 559s # OrgProjectBarFrobnicator *proxy, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data) 559s # { 559s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 559s # "RandomMethod", 559s # g_variant_new ("()"), 559s # G_DBUS_CALL_FLAGS_NONE, 559s # -1, 559s # cancellable, 559s # callback, 559s # user_data); 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_call_random_method_finish: 559s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 559s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 559s # * @error: Return location for error or %NULL. 559s # * 559s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 559s # * 559s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 559s # */ 559s # gboolean 559s # org_project_bar_frobnicator_call_random_method_finish ( 559s # OrgProjectBarFrobnicator *proxy, 559s # GAsyncResult *res, 559s # GError **error) 559s # { 559s # GVariant *_ret; 559s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 559s # if (_ret == NULL) 559s # goto _out; 559s # g_variant_get (_ret, 559s # "()"); 559s # g_variant_unref (_ret); 559s # _out: 559s # return _ret != NULL; 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_call_random_method_sync: 559s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @error: Return location for error or %NULL. 559s # * 559s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 559s # * 559s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 559s # * 559s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 559s # */ 559s # gboolean 559s # org_project_bar_frobnicator_call_random_method_sync ( 559s # OrgProjectBarFrobnicator *proxy, 559s # GCancellable *cancellable, 559s # GError **error) 559s # { 559s # GVariant *_ret; 559s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 559s # "RandomMethod", 559s # g_variant_new ("()"), 559s # G_DBUS_CALL_FLAGS_NONE, 559s # -1, 559s # cancellable, 559s # error); 559s # if (_ret == NULL) 559s # goto _out; 559s # g_variant_get (_ret, 559s # "()"); 559s # g_variant_unref (_ret); 559s # _out: 559s # return _ret != NULL; 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_complete_random_method: 559s # * @object: A #OrgProjectBarFrobnicator. 559s # * @invocation: (transfer full): A #GDBusMethodInvocation. 559s # * 559s # * Helper function used in service implementations to finish handling invocations of the RandomMethod() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 559s # * 559s # * This method will free @invocation, you cannot use it afterwards. 559s # */ 559s # void 559s # org_project_bar_frobnicator_complete_random_method ( 559s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 559s # GDBusMethodInvocation *invocation) 559s # { 559s # g_dbus_method_invocation_return_value (invocation, 559s # g_variant_new ("()")); 559s # } 559s # 559s # /* ------------------------------------------------------------------------ */ 559s # 559s # /** 559s # * OrgProjectBarFrobnicatorProxy: 559s # * 559s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 559s # */ 559s # 559s # /** 559s # * OrgProjectBarFrobnicatorProxyClass: 559s # * @parent_class: The parent class. 559s # * 559s # * Class structure for #OrgProjectBarFrobnicatorProxy. 559s # */ 559s # 559s # struct _OrgProjectBarFrobnicatorProxyPrivate 559s # { 559s # GData *qdata; 559s # }; 559s # 559s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 559s # 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 559s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 559s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 559s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 559s # 559s # #else 559s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 559s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 559s # 559s # #endif 559s # static void 559s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 559s # { 559s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 559s # g_datalist_clear (&proxy->priv->qdata); 559s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 559s # guint prop_id G_GNUC_UNUSED, 559s # GValue *value G_GNUC_UNUSED, 559s # GParamSpec *pspec G_GNUC_UNUSED) 559s # { 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 559s # guint prop_id G_GNUC_UNUSED, 559s # const GValue *value G_GNUC_UNUSED, 559s # GParamSpec *pspec G_GNUC_UNUSED) 559s # { 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 559s # const gchar *sender_name G_GNUC_UNUSED, 559s # const gchar *signal_name, 559s # GVariant *parameters) 559s # { 559s # _ExtendedGDBusSignalInfo *info; 559s # GVariantIter iter; 559s # GVariant *child; 559s # GValue *paramv; 559s # gsize num_params; 559s # gsize n; 559s # guint signal_id; 559s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 559s # if (info == NULL) 559s # return; 559s # num_params = g_variant_n_children (parameters); 559s # paramv = g_new0 (GValue, num_params + 1); 559s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 559s # g_value_set_object (¶mv[0], proxy); 559s # g_variant_iter_init (&iter, parameters); 559s # n = 1; 559s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 559s # { 559s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 559s # if (arg_info->use_gvariant) 559s # { 559s # g_value_init (¶mv[n], G_TYPE_VARIANT); 559s # g_value_set_variant (¶mv[n], child); 559s # n++; 559s # } 559s # else 559s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 559s # g_variant_unref (child); 559s # } 559s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 559s # g_signal_emitv (paramv, signal_id, 0, NULL); 559s # for (n = 0; n < num_params + 1; n++) 559s # g_value_unset (¶mv[n]); 559s # g_free (paramv); 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 559s # GVariant *changed_properties, 559s # const gchar *const *invalidated_properties) 559s # { 559s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 559s # guint n; 559s # const gchar *key; 559s # GVariantIter *iter; 559s # _ExtendedGDBusPropertyInfo *info; 559s # g_variant_get (changed_properties, "a{sv}", &iter); 559s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 559s # { 559s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 559s # g_datalist_remove_data (&proxy->priv->qdata, key); 559s # if (info != NULL) 559s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 559s # } 559s # g_variant_iter_free (iter); 559s # for (n = 0; invalidated_properties[n] != NULL; n++) 559s # { 559s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 559s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 559s # if (info != NULL) 559s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 559s # } 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 559s # { 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 559s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 559s # #else 559s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 559s # #endif 559s # 559s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 559s # { 559s # GObjectClass *gobject_class; 559s # GDBusProxyClass *proxy_class; 559s # 559s # gobject_class = G_OBJECT_CLASS (klass); 559s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 559s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 559s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 559s # 559s # proxy_class = G_DBUS_PROXY_CLASS (klass); 559s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 559s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 559s # 559s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 559s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 559s # #endif 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 559s # { 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_proxy_new: 559s # * @connection: A #GDBusConnection. 559s # * @flags: Flags from the #GDBusProxyFlags enumeration. 559s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 559s # * @object_path: An object path. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 559s # * @user_data: User data to pass to @callback. 559s # * 559s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 559s # * 559s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 559s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 559s # * 559s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 559s # */ 559s # void 559s # org_project_bar_frobnicator_proxy_new ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data) 559s # { 559s # g_async_initable_new_async (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_proxy_new_finish: 559s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 559s # * @error: Return location for error or %NULL 559s # * 559s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 559s # * 559s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 559s # */ 559s # OrgProjectBarFrobnicator * 559s # org_project_bar_frobnicator_proxy_new_finish ( 559s # GAsyncResult *res, 559s # GError **error) 559s # { 559s # GObject *ret; 559s # GObject *source_object; 559s # source_object = g_async_result_get_source_object (res); 559s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 559s # g_object_unref (source_object); 559s # if (ret != NULL) 559s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 559s # else 559s # return NULL; 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_proxy_new_sync: 559s # * @connection: A #GDBusConnection. 559s # * @flags: Flags from the #GDBusProxyFlags enumeration. 559s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 559s # * @object_path: An object path. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @error: Return location for error or %NULL 559s # * 559s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 559s # * 559s # * The calling thread is blocked until a reply is received. 559s # * 559s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 559s # * 559s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 559s # */ 559s # OrgProjectBarFrobnicator * 559s # org_project_bar_frobnicator_proxy_new_sync ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error) 559s # { 559s # GInitable *ret; 559s # ret = g_initable_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 559s # if (ret != NULL) 559s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 559s # else 559s # return NULL; 559s # } 559s # 559s # 559s # /** 559s # * org_project_bar_frobnicator_proxy_new_for_bus: 559s # * @bus_type: A #GBusType. 559s # * @flags: Flags from the #GDBusProxyFlags enumeration. 559s # * @name: A bus name (well-known or unique). 559s # * @object_path: An object path. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 559s # * @user_data: User data to pass to @callback. 559s # * 559s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 559s # * 559s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 559s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 559s # * 559s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 559s # */ 559s # void 559s # org_project_bar_frobnicator_proxy_new_for_bus ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data) 559s # { 559s # g_async_initable_new_async (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 559s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 559s # * @error: Return location for error or %NULL 559s # * 559s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 559s # * 559s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 559s # */ 559s # OrgProjectBarFrobnicator * 559s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 559s # GAsyncResult *res, 559s # GError **error) 559s # { 559s # GObject *ret; 559s # GObject *source_object; 559s # source_object = g_async_result_get_source_object (res); 559s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 559s # g_object_unref (source_object); 559s # if (ret != NULL) 559s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 559s # else 559s # return NULL; 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 559s # * @bus_type: A #GBusType. 559s # * @flags: Flags from the #GDBusProxyFlags enumeration. 559s # * @name: A bus name (well-known or unique). 559s # * @object_path: An object path. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @error: Return location for error or %NULL 559s # * 559s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 559s # * 559s # * The calling thread is blocked until a reply is received. 559s # * 559s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 559s # * 559s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 559s # */ 559s # OrgProjectBarFrobnicator * 559s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error) 559s # { 559s # GInitable *ret; 559s # ret = g_initable_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 559s # if (ret != NULL) 559s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 559s # else 559s # return NULL; 559s # } 559s # 559s # 559s # /* ------------------------------------------------------------------------ */ 559s # 559s # /** 559s # * OrgProjectBarFrobnicatorSkeleton: 559s # * 559s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 559s # */ 559s # 559s # /** 559s # * OrgProjectBarFrobnicatorSkeletonClass: 559s # * @parent_class: The parent class. 559s # * 559s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 559s # */ 559s # 559s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 559s # { 559s # GValue *properties; 559s # GList *changed_properties; 559s # GSource *changed_properties_idle_source; 559s # GMainContext *context; 559s # GMutex lock; 559s # }; 559s # 559s # static void 559s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 559s # GDBusConnection *connection G_GNUC_UNUSED, 559s # const gchar *sender G_GNUC_UNUSED, 559s # const gchar *object_path G_GNUC_UNUSED, 559s # const gchar *interface_name, 559s # const gchar *method_name, 559s # GVariant *parameters, 559s # GDBusMethodInvocation *invocation, 559s # gpointer user_data) 559s # { 559s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 559s # _ExtendedGDBusMethodInfo *info; 559s # GVariantIter iter; 559s # GVariant *child; 559s # GValue *paramv; 559s # gsize num_params; 559s # guint num_extra; 559s # gsize n; 559s # guint signal_id; 559s # GValue return_value = G_VALUE_INIT; 559s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 559s # g_assert (info != NULL); 559s # num_params = g_variant_n_children (parameters); 559s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 559s # n = 0; 559s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 559s # g_value_set_object (¶mv[n++], skeleton); 559s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 559s # g_value_set_object (¶mv[n++], invocation); 559s # if (info->pass_fdlist) 559s # { 559s # #ifdef G_OS_UNIX 559s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 559s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 559s # #else 559s # g_assert_not_reached (); 559s # #endif 559s # } 559s # g_variant_iter_init (&iter, parameters); 559s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 559s # { 559s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 559s # if (arg_info->use_gvariant) 559s # { 559s # g_value_init (¶mv[n], G_TYPE_VARIANT); 559s # g_value_set_variant (¶mv[n], child); 559s # n++; 559s # } 559s # else 559s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 559s # g_variant_unref (child); 559s # } 559s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 559s # g_value_init (&return_value, G_TYPE_BOOLEAN); 559s # g_signal_emitv (paramv, signal_id, 0, &return_value); 559s # if (!g_value_get_boolean (&return_value)) 559s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 559s # g_value_unset (&return_value); 559s # for (n = 0; n < num_params + num_extra; n++) 559s # g_value_unset (¶mv[n]); 559s # g_free (paramv); 559s # } 559s # 559s # static GVariant * 559s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 559s # GDBusConnection *connection G_GNUC_UNUSED, 559s # const gchar *sender G_GNUC_UNUSED, 559s # const gchar *object_path G_GNUC_UNUSED, 559s # const gchar *interface_name G_GNUC_UNUSED, 559s # const gchar *property_name, 559s # GError **error, 559s # gpointer user_data) 559s # { 559s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 559s # GValue value = G_VALUE_INIT; 559s # GParamSpec *pspec; 559s # _ExtendedGDBusPropertyInfo *info; 559s # GVariant *ret; 559s # ret = NULL; 559s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 559s # g_assert (info != NULL); 559s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 559s # if (pspec == NULL) 559s # { 559s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 559s # } 559s # else 559s # { 559s # g_value_init (&value, pspec->value_type); 559s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 559s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 559s # g_value_unset (&value); 559s # } 559s # return ret; 559s # } 559s # 559s # static gboolean 559s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 559s # GDBusConnection *connection G_GNUC_UNUSED, 559s # const gchar *sender G_GNUC_UNUSED, 559s # const gchar *object_path G_GNUC_UNUSED, 559s # const gchar *interface_name G_GNUC_UNUSED, 559s # const gchar *property_name, 559s # GVariant *variant, 559s # GError **error, 559s # gpointer user_data) 559s # { 559s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 559s # GValue value = G_VALUE_INIT; 559s # GParamSpec *pspec; 559s # _ExtendedGDBusPropertyInfo *info; 559s # gboolean ret; 559s # ret = FALSE; 559s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 559s # g_assert (info != NULL); 559s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 559s # if (pspec == NULL) 559s # { 559s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 559s # } 559s # else 559s # { 559s # if (info->use_gvariant) 559s # g_value_set_variant (&value, variant); 559s # else 559s # g_dbus_gvariant_to_gvalue (variant, &value); 559s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 559s # g_value_unset (&value); 559s # ret = TRUE; 559s # } 559s # return ret; 559s # } 559s # 559s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 559s # { 559s # _org_project_bar_frobnicator_skeleton_handle_method_call, 559s # _org_project_bar_frobnicator_skeleton_handle_get_property, 559s # _org_project_bar_frobnicator_skeleton_handle_set_property, 559s # {NULL} 559s # }; 559s # 559s # static GDBusInterfaceInfo * 559s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 559s # { 559s # return org_project_bar_frobnicator_interface_info (); 559s # } 559s # 559s # static GDBusInterfaceVTable * 559s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 559s # { 559s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 559s # } 559s # 559s # static GVariant * 559s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 559s # { 559s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 559s # 559s # GVariantBuilder builder; 559s # guint n; 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 559s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 559s # #else 559s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 559s # #endif 559s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 559s # goto out; 559s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 559s # { 559s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 559s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 559s # { 559s # GVariant *value; 559s # value = _org_project_bar_frobnicator_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.Bar.Frobnicator", info->name, NULL, skeleton); 559s # if (value != NULL) 559s # { 559s # g_variant_take_ref (value); 559s # g_variant_builder_add (&builder, "{sv}", info->name, value); 559s # g_variant_unref (value); 559s # } 559s # } 559s # } 559s # out: 559s # return g_variant_builder_end (&builder); 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 559s # { 559s # } 559s # 559s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 559s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 559s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 559s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 559s # 559s # #else 559s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 559s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 559s # 559s # #endif 559s # static void 559s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 559s # { 559s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 559s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 559s # if (skeleton->priv->changed_properties_idle_source != NULL) 559s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 559s # g_main_context_unref (skeleton->priv->context); 559s # g_mutex_clear (&skeleton->priv->lock); 559s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 559s # { 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 559s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 559s # #else 559s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 559s # #endif 559s # 559s # g_mutex_init (&skeleton->priv->lock); 559s # skeleton->priv->context = g_main_context_ref_thread_default (); 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 559s # { 559s # GObjectClass *gobject_class; 559s # GDBusInterfaceSkeletonClass *skeleton_class; 559s # 559s # gobject_class = G_OBJECT_CLASS (klass); 559s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 559s # 559s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 559s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 559s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 559s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 559s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 559s # 559s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 559s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 559s # #endif 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 559s # { 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_skeleton_new: 559s # * 559s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 559s # * 559s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 559s # */ 559s # OrgProjectBarFrobnicator * 559s # org_project_bar_frobnicator_skeleton_new (void) 559s # { 559s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 559s # } 559s # 559s # /* ------------------------------------------------------------------------ 559s # * Code for interface com.acme.Coyote 559s # * ------------------------------------------------------------------------ 559s # */ 559s # 559s # /** 559s # * SECTION:ComAcmeCoyote 559s # * @title: ComAcmeCoyote 559s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 559s # * 559s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 559s # */ 559s # 559s # enum 559s # { 559s # _COM_ACME_COYOTE_SURPRISED, 559s # }; 559s # 559s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 559s # 559s # /* ---- Introspection data for com.acme.Coyote ---- */ 559s # 559s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 559s # { 559s # { 559s # -1, 559s # (gchar *) "Run", 559s # NULL, 559s # NULL, 559s # NULL 559s # }, 559s # "handle-run", 559s # FALSE 559s # }; 559s # 559s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 559s # { 559s # { 559s # -1, 559s # (gchar *) "Sleep", 559s # NULL, 559s # NULL, 559s # NULL 559s # }, 559s # "handle-sleep", 559s # FALSE 559s # }; 559s # 559s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 559s # { 559s # { 559s # -1, 559s # (gchar *) "Attack", 559s # NULL, 559s # NULL, 559s # NULL 559s # }, 559s # "handle-attack", 559s # FALSE 559s # }; 559s # 559s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 559s # { 559s # &_com_acme_coyote_method_info_run.parent_struct, 559s # &_com_acme_coyote_method_info_sleep.parent_struct, 559s # &_com_acme_coyote_method_info_attack.parent_struct, 559s # NULL 559s # }; 559s # 559s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 559s # { 559s # { 559s # -1, 559s # (gchar *) "Surprised", 559s # NULL, 559s # NULL 559s # }, 559s # "surprised" 559s # }; 559s # 559s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 559s # { 559s # &_com_acme_coyote_signal_info_surprised.parent_struct, 559s # NULL 559s # }; 559s # 559s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 559s # { 559s # { 559s # -1, 559s # (gchar *) "Mood", 559s # (gchar *) "s", 559s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 559s # NULL 559s # }, 559s # "mood", 559s # FALSE, 559s # TRUE 559s # }; 559s # 559s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 559s # { 559s # &_com_acme_coyote_property_info_mood.parent_struct, 559s # NULL 559s # }; 559s # 559s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 559s # { 559s # { 559s # -1, 559s # (gchar *) "com.acme.Coyote", 559s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 559s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 559s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 559s # NULL 559s # }, 559s # "com-acme-coyote", 559s # }; 559s # 559s # 559s # /** 559s # * com_acme_coyote_interface_info: 559s # * 559s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 559s # * 559s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 559s # */ 559s # GDBusInterfaceInfo * 559s # com_acme_coyote_interface_info (void) 559s # { 559s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_override_properties: 559s # * @klass: The class structure for a #GObject derived class. 559s # * @property_id_begin: The property id to assign to the first overridden property. 559s # * 559s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 559s # * The properties are overridden in the order they are defined. 559s # * 559s # * Returns: The last property id. 559s # */ 559s # guint 559s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 559s # { 559s # g_object_class_override_property (klass, property_id_begin++, "mood"); 559s # return property_id_begin - 1; 559s # } 559s # 559s # 559s # inline static void 559s # com_acme_coyote_signal_marshal_surprised ( 559s # GClosure *closure, 559s # GValue *return_value, 559s # unsigned int n_param_values, 559s # const GValue *param_values, 559s # void *invocation_hint, 559s # void *marshal_data) 559s # { 559s # g_cclosure_marshal_VOID__VOID (closure, 559s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 559s # } 559s # 559s # inline static void 559s # com_acme_coyote_method_marshal_run ( 559s # GClosure *closure, 559s # GValue *return_value, 559s # unsigned int n_param_values, 559s # const GValue *param_values, 559s # void *invocation_hint, 559s # void *marshal_data) 559s # { 559s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 559s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 559s # } 559s # 559s # inline static void 559s # com_acme_coyote_method_marshal_sleep ( 559s # GClosure *closure, 559s # GValue *return_value, 559s # unsigned int n_param_values, 559s # const GValue *param_values, 559s # void *invocation_hint, 559s # void *marshal_data) 559s # { 559s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 559s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 559s # } 559s # 559s # inline static void 559s # com_acme_coyote_method_marshal_attack ( 559s # GClosure *closure, 559s # GValue *return_value, 559s # unsigned int n_param_values, 559s # const GValue *param_values, 559s # void *invocation_hint, 559s # void *marshal_data) 559s # { 559s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 559s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 559s # } 559s # 559s # 559s # /** 559s # * ComAcmeCoyote: 559s # * 559s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 559s # */ 559s # 559s # /** 559s # * ComAcmeCoyoteIface: 559s # * @parent_iface: The parent interface. 559s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 559s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 559s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 559s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 559s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 559s # * 559s # * Virtual table for the D-Bus interface com.acme.Coyote. 559s # */ 559s # 559s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 559s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 559s # 559s # static void 559s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 559s # { 559s # /* GObject signals for incoming D-Bus method calls: */ 559s # /** 559s # * ComAcmeCoyote::handle-run: 559s # * @object: A #ComAcmeCoyote. 559s # * @invocation: A #GDBusMethodInvocation. 559s # * 559s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 559s # * 559s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call com_acme_coyote_complete_run() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 559s # * 559s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 559s # */ 559s # g_signal_new ("handle-run", 559s # G_TYPE_FROM_INTERFACE (iface), 559s # G_SIGNAL_RUN_LAST, 559s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 559s # g_signal_accumulator_true_handled, 559s # NULL, 559s # com_acme_coyote_method_marshal_run, 559s # G_TYPE_BOOLEAN, 559s # 1, 559s # G_TYPE_DBUS_METHOD_INVOCATION); 559s # 559s # /** 559s # * ComAcmeCoyote::handle-sleep: 559s # * @object: A #ComAcmeCoyote. 559s # * @invocation: A #GDBusMethodInvocation. 559s # * 559s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 559s # * 559s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call com_acme_coyote_complete_sleep() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 559s # * 559s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 559s # */ 559s # g_signal_new ("handle-sleep", 559s # G_TYPE_FROM_INTERFACE (iface), 559s # G_SIGNAL_RUN_LAST, 559s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 559s # g_signal_accumulator_true_handled, 559s # NULL, 559s # com_acme_coyote_method_marshal_sleep, 559s # G_TYPE_BOOLEAN, 559s # 1, 559s # G_TYPE_DBUS_METHOD_INVOCATION); 559s # 559s # /** 559s # * ComAcmeCoyote::handle-attack: 559s # * @object: A #ComAcmeCoyote. 559s # * @invocation: A #GDBusMethodInvocation. 559s # * 559s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 559s # * 559s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call com_acme_coyote_complete_attack() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 559s # * 559s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 559s # */ 559s # g_signal_new ("handle-attack", 559s # G_TYPE_FROM_INTERFACE (iface), 559s # G_SIGNAL_RUN_LAST, 559s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 559s # g_signal_accumulator_true_handled, 559s # NULL, 559s # com_acme_coyote_method_marshal_attack, 559s # G_TYPE_BOOLEAN, 559s # 1, 559s # G_TYPE_DBUS_METHOD_INVOCATION); 559s # 559s # /* GObject signals for received D-Bus signals: */ 559s # /** 559s # * ComAcmeCoyote::surprised: 559s # * @object: A #ComAcmeCoyote. 559s # * 559s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 559s # * 559s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 559s # */ 559s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 559s # g_signal_new ("surprised", 559s # G_TYPE_FROM_INTERFACE (iface), 559s # G_SIGNAL_RUN_LAST, 559s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 559s # NULL, 559s # NULL, 559s # com_acme_coyote_signal_marshal_surprised, 559s # G_TYPE_NONE, 559s # 0); 559s # 559s # /* GObject properties for D-Bus properties: */ 559s # /** 559s # * ComAcmeCoyote:mood: 559s # * 559s # * Represents the D-Bus property "Mood". 559s # * 559s # * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side. 559s # */ 559s # g_object_interface_install_property (iface, 559s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_get_mood: (skip) 559s # * @object: A #ComAcmeCoyote. 559s # * 559s # * Gets the value of the "Mood" D-Bus property. 559s # * 559s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 559s # * 559s # * The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use com_acme_coyote_dup_mood() if on another thread. 559s # * 559s # * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. 559s # */ 559s # const gchar * 559s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 559s # { 559s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 559s # 559s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_dup_mood: (skip) 559s # * @object: A #ComAcmeCoyote. 559s # * 559s # * Gets a copy of the "Mood" D-Bus property. 559s # * 559s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 559s # * 559s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 559s # */ 559s # gchar * 559s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 559s # { 559s # gchar *value; 559s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 559s # return value; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_set_mood: (skip) 559s # * @object: A #ComAcmeCoyote. 559s # * @value: The value to set. 559s # * 559s # * Sets the "Mood" D-Bus property to @value. 559s # * 559s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 559s # */ 559s # void 559s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 559s # { 559s # g_object_set (G_OBJECT (object), "mood", value, NULL); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_emit_surprised: 559s # * @object: A #ComAcmeCoyote. 559s # * 559s # * Emits the "Surprised" D-Bus signal. 559s # */ 559s # void 559s # com_acme_coyote_emit_surprised ( 559s # ComAcmeCoyote *object) 559s # { 559s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_call_run: 559s # * @proxy: A #ComAcmeCoyoteProxy. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 559s # * @user_data: User data to pass to @callback. 559s # * 559s # * Asynchronously invokes the Run() D-Bus method on @proxy. 559s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 559s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 559s # * 559s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 559s # */ 559s # void 559s # com_acme_coyote_call_run ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data) 559s # { 559s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 559s # "Run", 559s # g_variant_new ("()"), 559s # G_DBUS_CALL_FLAGS_NONE, 559s # -1, 559s # cancellable, 559s # callback, 559s # user_data); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_call_run_finish: 559s # * @proxy: A #ComAcmeCoyoteProxy. 559s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 559s # * @error: Return location for error or %NULL. 559s # * 559s # * Finishes an operation started with com_acme_coyote_call_run(). 559s # * 559s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 559s # */ 559s # gboolean 559s # com_acme_coyote_call_run_finish ( 559s # ComAcmeCoyote *proxy, 559s # GAsyncResult *res, 559s # GError **error) 559s # { 559s # GVariant *_ret; 559s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 559s # if (_ret == NULL) 559s # goto _out; 559s # g_variant_get (_ret, 559s # "()"); 559s # g_variant_unref (_ret); 559s # _out: 559s # return _ret != NULL; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_call_run_sync: 559s # * @proxy: A #ComAcmeCoyoteProxy. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @error: Return location for error or %NULL. 559s # * 559s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 559s # * 559s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 559s # * 559s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 559s # */ 559s # gboolean 559s # com_acme_coyote_call_run_sync ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GError **error) 559s # { 559s # GVariant *_ret; 559s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 559s # "Run", 559s # g_variant_new ("()"), 559s # G_DBUS_CALL_FLAGS_NONE, 559s # -1, 559s # cancellable, 559s # error); 559s # if (_ret == NULL) 559s # goto _out; 559s # g_variant_get (_ret, 559s # "()"); 559s # g_variant_unref (_ret); 559s # _out: 559s # return _ret != NULL; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_call_sleep: 559s # * @proxy: A #ComAcmeCoyoteProxy. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 559s # * @user_data: User data to pass to @callback. 559s # * 559s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 559s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 559s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 559s # * 559s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 559s # */ 559s # void 559s # com_acme_coyote_call_sleep ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data) 559s # { 559s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 559s # "Sleep", 559s # g_variant_new ("()"), 559s # G_DBUS_CALL_FLAGS_NONE, 559s # -1, 559s # cancellable, 559s # callback, 559s # user_data); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_call_sleep_finish: 559s # * @proxy: A #ComAcmeCoyoteProxy. 559s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 559s # * @error: Return location for error or %NULL. 559s # * 559s # * Finishes an operation started with com_acme_coyote_call_sleep(). 559s # * 559s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 559s # */ 559s # gboolean 559s # com_acme_coyote_call_sleep_finish ( 559s # ComAcmeCoyote *proxy, 559s # GAsyncResult *res, 559s # GError **error) 559s # { 559s # GVariant *_ret; 559s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 559s # if (_ret == NULL) 559s # goto _out; 559s # g_variant_get (_ret, 559s # "()"); 559s # g_variant_unref (_ret); 559s # _out: 559s # return _ret != NULL; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_call_sleep_sync: 559s # * @proxy: A #ComAcmeCoyoteProxy. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @error: Return location for error or %NULL. 559s # * 559s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 559s # * 559s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 559s # * 559s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 559s # */ 559s # gboolean 559s # com_acme_coyote_call_sleep_sync ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GError **error) 559s # { 559s # GVariant *_ret; 559s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 559s # "Sleep", 559s # g_variant_new ("()"), 559s # G_DBUS_CALL_FLAGS_NONE, 559s # -1, 559s # cancellable, 559s # error); 559s # if (_ret == NULL) 559s # goto _out; 559s # g_variant_get (_ret, 559s # "()"); 559s # g_variant_unref (_ret); 559s # _out: 559s # return _ret != NULL; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_call_attack: 559s # * @proxy: A #ComAcmeCoyoteProxy. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 559s # * @user_data: User data to pass to @callback. 559s # * 559s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 559s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 559s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 559s # * 559s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 559s # */ 559s # void 559s # com_acme_coyote_call_attack ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data) 559s # { 559s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 559s # "Attack", 559s # g_variant_new ("()"), 559s # G_DBUS_CALL_FLAGS_NONE, 559s # -1, 559s # cancellable, 559s # callback, 559s # user_data); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_call_attack_finish: 559s # * @proxy: A #ComAcmeCoyoteProxy. 559s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 559s # * @error: Return location for error or %NULL. 559s # * 559s # * Finishes an operation started with com_acme_coyote_call_attack(). 559s # * 559s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 559s # */ 559s # gboolean 559s # com_acme_coyote_call_attack_finish ( 559s # ComAcmeCoyote *proxy, 559s # GAsyncResult *res, 559s # GError **error) 559s # { 559s # GVariant *_ret; 559s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 559s # if (_ret == NULL) 559s # goto _out; 559s # g_variant_get (_ret, 559s # "()"); 559s # g_variant_unref (_ret); 559s # _out: 559s # return _ret != NULL; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_call_attack_sync: 559s # * @proxy: A #ComAcmeCoyoteProxy. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @error: Return location for error or %NULL. 559s # * 559s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 559s # * 559s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 559s # * 559s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 559s # */ 559s # gboolean 559s # com_acme_coyote_call_attack_sync ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GError **error) 559s # { 559s # GVariant *_ret; 559s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 559s # "Attack", 559s # g_variant_new ("()"), 559s # G_DBUS_CALL_FLAGS_NONE, 559s # -1, 559s # cancellable, 559s # error); 559s # if (_ret == NULL) 559s # goto _out; 559s # g_variant_get (_ret, 559s # "()"); 559s # g_variant_unref (_ret); 559s # _out: 559s # return _ret != NULL; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_complete_run: 559s # * @object: A #ComAcmeCoyote. 559s # * @invocation: (transfer full): A #GDBusMethodInvocation. 559s # * 559s # * Helper function used in service implementations to finish handling invocations of the Run() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 559s # * 559s # * This method will free @invocation, you cannot use it afterwards. 559s # */ 559s # void 559s # com_acme_coyote_complete_run ( 559s # ComAcmeCoyote *object G_GNUC_UNUSED, 559s # GDBusMethodInvocation *invocation) 559s # { 559s # g_dbus_method_invocation_return_value (invocation, 559s # g_variant_new ("()")); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_complete_sleep: 559s # * @object: A #ComAcmeCoyote. 559s # * @invocation: (transfer full): A #GDBusMethodInvocation. 559s # * 559s # * Helper function used in service implementations to finish handling invocations of the Sleep() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 559s # * 559s # * This method will free @invocation, you cannot use it afterwards. 559s # */ 559s # void 559s # com_acme_coyote_complete_sleep ( 559s # ComAcmeCoyote *object G_GNUC_UNUSED, 559s # GDBusMethodInvocation *invocation) 559s # { 559s # g_dbus_method_invocation_return_value (invocation, 559s # g_variant_new ("()")); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_complete_attack: 559s # * @object: A #ComAcmeCoyote. 559s # * @invocation: (transfer full): A #GDBusMethodInvocation. 559s # * 559s # * Helper function used in service implementations to finish handling invocations of the Attack() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 559s # * 559s # * This method will free @invocation, you cannot use it afterwards. 559s # */ 559s # void 559s # com_acme_coyote_complete_attack ( 559s # ComAcmeCoyote *object G_GNUC_UNUSED, 559s # GDBusMethodInvocation *invocation) 559s # { 559s # g_dbus_method_invocation_return_value (invocation, 559s # g_variant_new ("()")); 559s # } 559s # 559s # /* ------------------------------------------------------------------------ */ 559s # 559s # /** 559s # * ComAcmeCoyoteProxy: 559s # * 559s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 559s # */ 559s # 559s # /** 559s # * ComAcmeCoyoteProxyClass: 559s # * @parent_class: The parent class. 559s # * 559s # * Class structure for #ComAcmeCoyoteProxy. 559s # */ 559s # 559s # struct _ComAcmeCoyoteProxyPrivate 559s # { 559s # GData *qdata; 559s # }; 559s # 559s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 559s # 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 559s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 559s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 559s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 559s # 559s # #else 559s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 559s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 559s # 559s # #endif 559s # static void 559s # com_acme_coyote_proxy_finalize (GObject *object) 559s # { 559s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 559s # g_datalist_clear (&proxy->priv->qdata); 559s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 559s # } 559s # 559s # static void 559s # com_acme_coyote_proxy_get_property (GObject *object, 559s # guint prop_id, 559s # GValue *value, 559s # GParamSpec *pspec G_GNUC_UNUSED) 559s # { 559s # const _ExtendedGDBusPropertyInfo *info; 559s # GVariant *variant; 559s # g_assert (prop_id != 0 && prop_id - 1 < 1); 559s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 559s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 559s # if (info->use_gvariant) 559s # { 559s # g_value_set_variant (value, variant); 559s # } 559s # else 559s # { 559s # if (variant != NULL) 559s # g_dbus_gvariant_to_gvalue (variant, value); 559s # } 559s # if (variant != NULL) 559s # g_variant_unref (variant); 559s # } 559s # 559s # static void 559s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 559s # GAsyncResult *res, 559s # gpointer user_data) 559s # { 559s # const _ExtendedGDBusPropertyInfo *info = user_data; 559s # GError *error; 559s # GVariant *_ret; 559s # error = NULL; 559s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 559s # if (!_ret) 559s # { 559s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 559s # info->parent_struct.name, 559s # error->message, g_quark_to_string (error->domain), error->code); 559s # g_error_free (error); 559s # } 559s # else 559s # { 559s # g_variant_unref (_ret); 559s # } 559s # } 559s # 559s # static void 559s # com_acme_coyote_proxy_set_property (GObject *object, 559s # guint prop_id, 559s # const GValue *value, 559s # GParamSpec *pspec G_GNUC_UNUSED) 559s # { 559s # const _ExtendedGDBusPropertyInfo *info; 559s # GVariant *variant; 559s # g_assert (prop_id != 0 && prop_id - 1 < 1); 559s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 559s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 559s # g_dbus_proxy_call (G_DBUS_PROXY (object), 559s # "org.freedesktop.DBus.Properties.Set", 559s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 559s # G_DBUS_CALL_FLAGS_NONE, 559s # -1, 559s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 559s # g_variant_unref (variant); 559s # } 559s # 559s # static void 559s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 559s # const gchar *sender_name G_GNUC_UNUSED, 559s # const gchar *signal_name, 559s # GVariant *parameters) 559s # { 559s # _ExtendedGDBusSignalInfo *info; 559s # GVariantIter iter; 559s # GVariant *child; 559s # GValue *paramv; 559s # gsize num_params; 559s # gsize n; 559s # guint signal_id; 559s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 559s # if (info == NULL) 559s # return; 559s # num_params = g_variant_n_children (parameters); 559s # paramv = g_new0 (GValue, num_params + 1); 559s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 559s # g_value_set_object (¶mv[0], proxy); 559s # g_variant_iter_init (&iter, parameters); 559s # n = 1; 559s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 559s # { 559s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 559s # if (arg_info->use_gvariant) 559s # { 559s # g_value_init (¶mv[n], G_TYPE_VARIANT); 559s # g_value_set_variant (¶mv[n], child); 559s # n++; 559s # } 559s # else 559s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 559s # g_variant_unref (child); 559s # } 559s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 559s # g_signal_emitv (paramv, signal_id, 0, NULL); 559s # for (n = 0; n < num_params + 1; n++) 559s # g_value_unset (¶mv[n]); 559s # g_free (paramv); 559s # } 559s # 559s # static void 559s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 559s # GVariant *changed_properties, 559s # const gchar *const *invalidated_properties) 559s # { 559s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 559s # guint n; 559s # const gchar *key; 559s # GVariantIter *iter; 559s # _ExtendedGDBusPropertyInfo *info; 559s # g_variant_get (changed_properties, "a{sv}", &iter); 559s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 559s # { 559s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 559s # g_datalist_remove_data (&proxy->priv->qdata, key); 559s # if (info != NULL) 559s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 559s # } 559s # g_variant_iter_free (iter); 559s # for (n = 0; invalidated_properties[n] != NULL; n++) 559s # { 559s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 559s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 559s # if (info != NULL) 559s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 559s # } 559s # } 559s # 559s # static const gchar * 559s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 559s # { 559s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 559s # GVariant *variant; 559s # const gchar *value = NULL; 559s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 559s # if (variant != NULL) 559s # { 559s # value = g_variant_get_string (variant, NULL); 559s # g_variant_unref (variant); 559s # } 559s # return value; 559s # } 559s # 559s # static void 559s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 559s # { 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 559s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 559s # #else 559s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 559s # #endif 559s # 559s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 559s # } 559s # 559s # static void 559s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 559s # { 559s # GObjectClass *gobject_class; 559s # GDBusProxyClass *proxy_class; 559s # 559s # gobject_class = G_OBJECT_CLASS (klass); 559s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 559s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 559s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 559s # 559s # proxy_class = G_DBUS_PROXY_CLASS (klass); 559s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 559s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 559s # 559s # com_acme_coyote_override_properties (gobject_class, 1); 559s # 559s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 559s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 559s # #endif 559s # } 559s # 559s # static void 559s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 559s # { 559s # iface->get_mood = com_acme_coyote_proxy_get_mood; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_proxy_new: 559s # * @connection: A #GDBusConnection. 559s # * @flags: Flags from the #GDBusProxyFlags enumeration. 559s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 559s # * @object_path: An object path. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 559s # * @user_data: User data to pass to @callback. 559s # * 559s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 559s # * 559s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 559s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 559s # * 559s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 559s # */ 559s # void 559s # com_acme_coyote_proxy_new ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data) 559s # { 559s # g_async_initable_new_async (TYPE_COM_ACME_COYOTE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_proxy_new_finish: 559s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 559s # * @error: Return location for error or %NULL 559s # * 559s # * Finishes an operation started with com_acme_coyote_proxy_new(). 559s # * 559s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 559s # */ 559s # ComAcmeCoyote * 559s # com_acme_coyote_proxy_new_finish ( 559s # GAsyncResult *res, 559s # GError **error) 559s # { 559s # GObject *ret; 559s # GObject *source_object; 559s # source_object = g_async_result_get_source_object (res); 559s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 559s # g_object_unref (source_object); 559s # if (ret != NULL) 559s # return COM_ACME_COYOTE (ret); 559s # else 559s # return NULL; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_proxy_new_sync: 559s # * @connection: A #GDBusConnection. 559s # * @flags: Flags from the #GDBusProxyFlags enumeration. 559s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 559s # * @object_path: An object path. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @error: Return location for error or %NULL 559s # * 559s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 559s # * 559s # * The calling thread is blocked until a reply is received. 559s # * 559s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 559s # * 559s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 559s # */ 559s # ComAcmeCoyote * 559s # com_acme_coyote_proxy_new_sync ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error) 559s # { 559s # GInitable *ret; 559s # ret = g_initable_new (TYPE_COM_ACME_COYOTE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 559s # if (ret != NULL) 559s # return COM_ACME_COYOTE (ret); 559s # else 559s # return NULL; 559s # } 559s # 559s # 559s # /** 559s # * com_acme_coyote_proxy_new_for_bus: 559s # * @bus_type: A #GBusType. 559s # * @flags: Flags from the #GDBusProxyFlags enumeration. 559s # * @name: A bus name (well-known or unique). 559s # * @object_path: An object path. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 559s # * @user_data: User data to pass to @callback. 559s # * 559s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 559s # * 559s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 559s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 559s # * 559s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 559s # */ 559s # void 559s # com_acme_coyote_proxy_new_for_bus ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data) 559s # { 559s # g_async_initable_new_async (TYPE_COM_ACME_COYOTE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_proxy_new_for_bus_finish: 559s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 559s # * @error: Return location for error or %NULL 559s # * 559s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 559s # * 559s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 559s # */ 559s # ComAcmeCoyote * 559s # com_acme_coyote_proxy_new_for_bus_finish ( 559s # GAsyncResult *res, 559s # GError **error) 559s # { 559s # GObject *ret; 559s # GObject *source_object; 559s # source_object = g_async_result_get_source_object (res); 559s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 559s # g_object_unref (source_object); 559s # if (ret != NULL) 559s # return COM_ACME_COYOTE (ret); 559s # else 559s # return NULL; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_proxy_new_for_bus_sync: 559s # * @bus_type: A #GBusType. 559s # * @flags: Flags from the #GDBusProxyFlags enumeration. 559s # * @name: A bus name (well-known or unique). 559s # * @object_path: An object path. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @error: Return location for error or %NULL 559s # * 559s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 559s # * 559s # * The calling thread is blocked until a reply is received. 559s # * 559s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 559s # * 559s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 559s # */ 559s # ComAcmeCoyote * 559s # com_acme_coyote_proxy_new_for_bus_sync ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error) 559s # { 559s # GInitable *ret; 559s # ret = g_initable_new (TYPE_COM_ACME_COYOTE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 559s # if (ret != NULL) 559s # return COM_ACME_COYOTE (ret); 559s # else 559s # return NULL; 559s # } 559s # 559s # 559s # /* ------------------------------------------------------------------------ */ 559s # 559s # /** 559s # * ComAcmeCoyoteSkeleton: 559s # * 559s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 559s # */ 559s # 559s # /** 559s # * ComAcmeCoyoteSkeletonClass: 559s # * @parent_class: The parent class. 559s # * 559s # * Class structure for #ComAcmeCoyoteSkeleton. 559s # */ 559s # 559s # struct _ComAcmeCoyoteSkeletonPrivate 559s # { 559s # GValue *properties; 559s # GList *changed_properties; 559s # GSource *changed_properties_idle_source; 559s # GMainContext *context; 559s # GMutex lock; 559s # }; 559s # 559s # static void 559s # _com_acme_coyote_skeleton_handle_method_call ( 559s # GDBusConnection *connection G_GNUC_UNUSED, 559s # const gchar *sender G_GNUC_UNUSED, 559s # const gchar *object_path G_GNUC_UNUSED, 559s # const gchar *interface_name, 559s # const gchar *method_name, 559s # GVariant *parameters, 559s # GDBusMethodInvocation *invocation, 559s # gpointer user_data) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 559s # _ExtendedGDBusMethodInfo *info; 559s # GVariantIter iter; 559s # GVariant *child; 559s # GValue *paramv; 559s # gsize num_params; 559s # guint num_extra; 559s # gsize n; 559s # guint signal_id; 559s # GValue return_value = G_VALUE_INIT; 559s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 559s # g_assert (info != NULL); 559s # num_params = g_variant_n_children (parameters); 559s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 559s # n = 0; 559s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 559s # g_value_set_object (¶mv[n++], skeleton); 559s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 559s # g_value_set_object (¶mv[n++], invocation); 559s # if (info->pass_fdlist) 559s # { 559s # #ifdef G_OS_UNIX 559s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 559s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 559s # #else 559s # g_assert_not_reached (); 559s # #endif 559s # } 559s # g_variant_iter_init (&iter, parameters); 559s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 559s # { 559s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 559s # if (arg_info->use_gvariant) 559s # { 559s # g_value_init (¶mv[n], G_TYPE_VARIANT); 559s # g_value_set_variant (¶mv[n], child); 559s # n++; 559s # } 559s # else 559s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 559s # g_variant_unref (child); 559s # } 559s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 559s # g_value_init (&return_value, G_TYPE_BOOLEAN); 559s # g_signal_emitv (paramv, signal_id, 0, &return_value); 559s # if (!g_value_get_boolean (&return_value)) 559s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 559s # g_value_unset (&return_value); 559s # for (n = 0; n < num_params + num_extra; n++) 559s # g_value_unset (¶mv[n]); 559s # g_free (paramv); 559s # } 559s # 559s # static GVariant * 559s # _com_acme_coyote_skeleton_handle_get_property ( 559s # GDBusConnection *connection G_GNUC_UNUSED, 559s # const gchar *sender G_GNUC_UNUSED, 559s # const gchar *object_path G_GNUC_UNUSED, 559s # const gchar *interface_name G_GNUC_UNUSED, 559s # const gchar *property_name, 559s # GError **error, 559s # gpointer user_data) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 559s # GValue value = G_VALUE_INIT; 559s # GParamSpec *pspec; 559s # _ExtendedGDBusPropertyInfo *info; 559s # GVariant *ret; 559s # ret = NULL; 559s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 559s # g_assert (info != NULL); 559s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 559s # if (pspec == NULL) 559s # { 559s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 559s # } 559s # else 559s # { 559s # g_value_init (&value, pspec->value_type); 559s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 559s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 559s # g_value_unset (&value); 559s # } 559s # return ret; 559s # } 559s # 559s # static gboolean 559s # _com_acme_coyote_skeleton_handle_set_property ( 559s # GDBusConnection *connection G_GNUC_UNUSED, 559s # const gchar *sender G_GNUC_UNUSED, 559s # const gchar *object_path G_GNUC_UNUSED, 559s # const gchar *interface_name G_GNUC_UNUSED, 559s # const gchar *property_name, 559s # GVariant *variant, 559s # GError **error, 559s # gpointer user_data) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 559s # GValue value = G_VALUE_INIT; 559s # GParamSpec *pspec; 559s # _ExtendedGDBusPropertyInfo *info; 559s # gboolean ret; 559s # ret = FALSE; 559s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 559s # g_assert (info != NULL); 559s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 559s # if (pspec == NULL) 559s # { 559s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 559s # } 559s # else 559s # { 559s # if (info->use_gvariant) 559s # g_value_set_variant (&value, variant); 559s # else 559s # g_dbus_gvariant_to_gvalue (variant, &value); 559s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 559s # g_value_unset (&value); 559s # ret = TRUE; 559s # } 559s # return ret; 559s # } 559s # 559s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 559s # { 559s # _com_acme_coyote_skeleton_handle_method_call, 559s # _com_acme_coyote_skeleton_handle_get_property, 559s # _com_acme_coyote_skeleton_handle_set_property, 559s # {NULL} 559s # }; 559s # 559s # static GDBusInterfaceInfo * 559s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 559s # { 559s # return com_acme_coyote_interface_info (); 559s # } 559s # 559s # static GDBusInterfaceVTable * 559s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 559s # { 559s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 559s # } 559s # 559s # static GVariant * 559s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 559s # 559s # GVariantBuilder builder; 559s # guint n; 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 559s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 559s # #else 559s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 559s # #endif 559s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 559s # goto out; 559s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 559s # { 559s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 559s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 559s # { 559s # GVariant *value; 559s # value = _com_acme_coyote_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", info->name, NULL, skeleton); 559s # if (value != NULL) 559s # { 559s # g_variant_take_ref (value); 559s # g_variant_builder_add (&builder, "{sv}", info->name, value); 559s # g_variant_unref (value); 559s # } 559s # } 559s # } 559s # out: 559s # return g_variant_builder_end (&builder); 559s # } 559s # 559s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 559s # 559s # static void 559s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 559s # gboolean emit_changed = FALSE; 559s # 559s # g_mutex_lock (&skeleton->priv->lock); 559s # if (skeleton->priv->changed_properties_idle_source != NULL) 559s # { 559s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 559s # skeleton->priv->changed_properties_idle_source = NULL; 559s # emit_changed = TRUE; 559s # } 559s # g_mutex_unlock (&skeleton->priv->lock); 559s # 559s # if (emit_changed) 559s # _com_acme_coyote_emit_changed (skeleton); 559s # } 559s # 559s # static void 559s # _com_acme_coyote_on_signal_surprised ( 559s # ComAcmeCoyote *object) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 559s # 559s # GList *connections, *l; 559s # GVariant *signal_variant; 559s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 559s # 559s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 559s # for (l = connections; l != NULL; l = l->next) 559s # { 559s # GDBusConnection *connection = l->data; 559s # g_dbus_connection_emit_signal (connection, 559s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 559s # signal_variant, NULL); 559s # } 559s # g_variant_unref (signal_variant); 559s # g_list_free_full (connections, g_object_unref); 559s # } 559s # 559s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 559s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 559s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 559s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 559s # 559s # #else 559s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 559s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 559s # 559s # #endif 559s # static void 559s # com_acme_coyote_skeleton_finalize (GObject *object) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 559s # guint n; 559s # for (n = 0; n < 1; n++) 559s # g_value_unset (&skeleton->priv->properties[n]); 559s # g_free (skeleton->priv->properties); 559s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 559s # if (skeleton->priv->changed_properties_idle_source != NULL) 559s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 559s # g_main_context_unref (skeleton->priv->context); 559s # g_mutex_clear (&skeleton->priv->lock); 559s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 559s # } 559s # 559s # static void 559s # com_acme_coyote_skeleton_get_property (GObject *object, 559s # guint prop_id, 559s # GValue *value, 559s # GParamSpec *pspec G_GNUC_UNUSED) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 559s # g_assert (prop_id != 0 && prop_id - 1 < 1); 559s # g_mutex_lock (&skeleton->priv->lock); 559s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 559s # g_mutex_unlock (&skeleton->priv->lock); 559s # } 559s # 559s # static gboolean 559s # _com_acme_coyote_emit_changed (gpointer user_data) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 559s # GList *l; 559s # GVariantBuilder builder; 559s # GVariantBuilder invalidated_builder; 559s # guint num_changes; 559s # 559s # g_mutex_lock (&skeleton->priv->lock); 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 559s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 559s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 559s # #else 559s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 559s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 559s # #endif 559s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 559s # { 559s # ChangedProperty *cp = l->data; 559s # GVariant *variant; 559s # const GValue *cur_value; 559s # 559s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 559s # if (!_g_value_equal (cur_value, &cp->orig_value)) 559s # { 559s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 559s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 559s # g_variant_unref (variant); 559s # num_changes++; 559s # } 559s # } 559s # if (num_changes > 0) 559s # { 559s # GList *connections, *ll; 559s # GVariant *signal_variant; 559s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 559s # &builder, &invalidated_builder)); 559s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 559s # for (ll = connections; ll != NULL; ll = ll->next) 559s # { 559s # GDBusConnection *connection = ll->data; 559s # 559s # g_dbus_connection_emit_signal (connection, 559s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 559s # "org.freedesktop.DBus.Properties", 559s # "PropertiesChanged", 559s # signal_variant, 559s # NULL); 559s # } 559s # g_variant_unref (signal_variant); 559s # g_list_free_full (connections, g_object_unref); 559s # } 559s # else 559s # { 559s # g_variant_builder_clear (&builder); 559s # g_variant_builder_clear (&invalidated_builder); 559s # } 559s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 559s # skeleton->priv->changed_properties = NULL; 559s # skeleton->priv->changed_properties_idle_source = NULL; 559s # g_mutex_unlock (&skeleton->priv->lock); 559s # return FALSE; 559s # } 559s # 559s # static void 559s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 559s # { 559s # ChangedProperty *cp; 559s # GList *l; 559s # cp = NULL; 559s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 559s # { 559s # ChangedProperty *i_cp = l->data; 559s # if (i_cp->info == info) 559s # { 559s # cp = i_cp; 559s # break; 559s # } 559s # } 559s # if (cp == NULL) 559s # { 559s # cp = g_new0 (ChangedProperty, 1); 559s # cp->prop_id = prop_id; 559s # cp->info = info; 559s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 559s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 559s # g_value_copy (orig_value, &cp->orig_value); 559s # } 559s # } 559s # 559s # static void 559s # com_acme_coyote_skeleton_notify (GObject *object, 559s # GParamSpec *pspec G_GNUC_UNUSED) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 559s # g_mutex_lock (&skeleton->priv->lock); 559s # if (skeleton->priv->changed_properties != NULL && 559s # skeleton->priv->changed_properties_idle_source == NULL) 559s # { 559s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 559s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 559s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 559s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 559s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 559s # g_source_unref (skeleton->priv->changed_properties_idle_source); 559s # } 559s # g_mutex_unlock (&skeleton->priv->lock); 559s # } 559s # 559s # static void 559s # com_acme_coyote_skeleton_set_property (GObject *object, 559s # guint prop_id, 559s # const GValue *value, 559s # GParamSpec *pspec) 559s # { 559s # const _ExtendedGDBusPropertyInfo *info; 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 559s # g_assert (prop_id != 0 && prop_id - 1 < 1); 559s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 559s # g_mutex_lock (&skeleton->priv->lock); 559s # g_object_freeze_notify (object); 559s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 559s # { 559s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 559s # info->emits_changed_signal) 559s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 559s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 559s # g_object_notify_by_pspec (object, pspec); 559s # } 559s # g_mutex_unlock (&skeleton->priv->lock); 559s # g_object_thaw_notify (object); 559s # } 559s # 559s # static void 559s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 559s # { 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 559s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 559s # #else 559s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 559s # #endif 559s # 559s # g_mutex_init (&skeleton->priv->lock); 559s # skeleton->priv->context = g_main_context_ref_thread_default (); 559s # skeleton->priv->properties = g_new0 (GValue, 1); 559s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 559s # } 559s # 559s # static const gchar * 559s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 559s # const gchar *value; 559s # g_mutex_lock (&skeleton->priv->lock); 559s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 559s # g_mutex_unlock (&skeleton->priv->lock); 559s # return value; 559s # } 559s # 559s # static void 559s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 559s # { 559s # GObjectClass *gobject_class; 559s # GDBusInterfaceSkeletonClass *skeleton_class; 559s # 559s # gobject_class = G_OBJECT_CLASS (klass); 559s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 559s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 559s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 559s # gobject_class->notify = com_acme_coyote_skeleton_notify; 559s # 559s # 559s # com_acme_coyote_override_properties (gobject_class, 1); 559s # 559s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 559s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 559s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 559s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 559s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 559s # 559s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 559s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 559s # #endif 559s # } 559s # 559s # static void 559s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 559s # { 559s # iface->surprised = _com_acme_coyote_on_signal_surprised; 559s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_skeleton_new: 559s # * 559s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 559s # * 559s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 559s # */ 559s # ComAcmeCoyote * 559s # com_acme_coyote_skeleton_new (void) 559s # { 559s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 559s # } 559s # Error: 559s # 559s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo_34w3dw/tmpbxii22vy2.xml', '/tmp/tmpo_34w3dw/tmpkxwb0xp31.xml', '--output', '-', '--body'] 559s # Return code: 0 559s # Output: 559s # /* 559s # * This file is generated by gdbus-codegen, do not modify it. 559s # * 559s # * The license of this code is the same as for the D-Bus interface description 559s # * it was derived from. Note that it links to GLib, so must comply with the 559s # * LGPL linking clauses. 559s # */ 559s # 559s # #ifdef HAVE_CONFIG_H 559s # # include "config.h" 559s # #endif 559s # 559s # #include 559s # #ifdef G_OS_UNIX 559s # # include 559s # #endif 559s # 559s # #ifdef G_ENABLE_DEBUG 559s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 559s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 559s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 559s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 559s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 559s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 559s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 559s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 559s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 559s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 559s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 559s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 559s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 559s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 559s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 559s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 559s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 559s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 559s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 559s # #else /* !G_ENABLE_DEBUG */ 559s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 559s # * Do not access GValues directly in your code. Instead, use the 559s # * g_value_get_*() functions 559s # */ 559s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 559s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 559s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 559s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 559s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 559s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 559s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 559s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 559s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 559s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 559s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 559s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 559s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 559s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 559s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 559s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 559s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 559s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 559s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 559s # #endif /* !G_ENABLE_DEBUG */ 559s # 559s # typedef struct 559s # { 559s # GDBusArgInfo parent_struct; 559s # gboolean use_gvariant; 559s # } _ExtendedGDBusArgInfo; 559s # 559s # typedef struct 559s # { 559s # GDBusMethodInfo parent_struct; 559s # const gchar *signal_name; 559s # gboolean pass_fdlist; 559s # } _ExtendedGDBusMethodInfo; 559s # 559s # typedef struct 559s # { 559s # GDBusSignalInfo parent_struct; 559s # const gchar *signal_name; 559s # } _ExtendedGDBusSignalInfo; 559s # 559s # typedef struct 559s # { 559s # GDBusPropertyInfo parent_struct; 559s # const gchar *hyphen_name; 559s # guint use_gvariant : 1; 559s # guint emits_changed_signal : 1; 559s # } _ExtendedGDBusPropertyInfo; 559s # 559s # typedef struct 559s # { 559s # GDBusInterfaceInfo parent_struct; 559s # const gchar *hyphen_name; 559s # } _ExtendedGDBusInterfaceInfo; 559s # 559s # typedef struct 559s # { 559s # const _ExtendedGDBusPropertyInfo *info; 559s # guint prop_id; 559s # GValue orig_value; /* the value before the change */ 559s # } ChangedProperty; 559s # 559s # static void 559s # _changed_property_free (ChangedProperty *data) 559s # { 559s # g_value_unset (&data->orig_value); 559s # g_free (data); 559s # } 559s # 559s # static gboolean 559s # _g_strv_equal0 (gchar **a, gchar **b) 559s # { 559s # gboolean ret = FALSE; 559s # guint n; 559s # if (a == NULL && b == NULL) 559s # { 559s # ret = TRUE; 559s # goto out; 559s # } 559s # if (a == NULL || b == NULL) 559s # goto out; 559s # if (g_strv_length (a) != g_strv_length (b)) 559s # goto out; 559s # for (n = 0; a[n] != NULL; n++) 559s # if (g_strcmp0 (a[n], b[n]) != 0) 559s # goto out; 559s # ret = TRUE; 559s # out: 559s # return ret; 559s # } 559s # 559s # static gboolean 559s # _g_variant_equal0 (GVariant *a, GVariant *b) 559s # { 559s # gboolean ret = FALSE; 559s # if (a == NULL && b == NULL) 559s # { 559s # ret = TRUE; 559s # goto out; 559s # } 559s # if (a == NULL || b == NULL) 559s # goto out; 559s # ret = g_variant_equal (a, b); 559s # out: 559s # return ret; 559s # } 559s # 559s # G_GNUC_UNUSED static gboolean 559s # _g_value_equal (const GValue *a, const GValue *b) 559s # { 559s # gboolean ret = FALSE; 559s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 559s # switch (G_VALUE_TYPE (a)) 559s # { 559s # case G_TYPE_BOOLEAN: 559s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 559s # break; 559s # case G_TYPE_UCHAR: 559s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 559s # break; 559s # case G_TYPE_INT: 559s # ret = (g_value_get_int (a) == g_value_get_int (b)); 559s # break; 559s # case G_TYPE_UINT: 559s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 559s # break; 559s # case G_TYPE_INT64: 559s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 559s # break; 559s # case G_TYPE_UINT64: 559s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 559s # break; 559s # case G_TYPE_DOUBLE: 559s # { 559s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 559s # gdouble da = g_value_get_double (a); 559s # gdouble db = g_value_get_double (b); 559s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 559s # } 559s # break; 559s # case G_TYPE_STRING: 559s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 559s # break; 559s # case G_TYPE_VARIANT: 559s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 559s # break; 559s # default: 559s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 559s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 559s # else 559s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 559s # break; 559s # } 559s # return ret; 559s # } 559s # 559s # static void 559s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 559s # GClosure *closure, 559s # GValue *return_value, 559s # unsigned int n_param_values, 559s # const GValue *param_values, 559s # void *invocation_hint G_GNUC_UNUSED, 559s # void *marshal_data) 559s # { 559s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 559s # (void *data1, 559s # GDBusMethodInvocation *arg_method_invocation, 559s # void *data2); 559s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 559s # GCClosure *cc = (GCClosure*) closure; 559s # void *data1, *data2; 559s # gboolean v_return; 559s # 559s # g_return_if_fail (return_value != NULL); 559s # g_return_if_fail (n_param_values == 2); 559s # 559s # if (G_CCLOSURE_SWAP_DATA (closure)) 559s # { 559s # data1 = closure->data; 559s # data2 = g_value_peek_pointer (param_values + 0); 559s # } 559s # else 559s # { 559s # data1 = g_value_peek_pointer (param_values + 0); 559s # data2 = closure->data; 559s # } 559s # 559s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 559s # (marshal_data ? marshal_data : cc->callback); 559s # 559s # v_return = 559s # callback (data1, 559s # g_marshal_value_peek_object (param_values + 1), 559s # data2); 559s # 559s # g_value_set_boolean (return_value, v_return); 559s # } 559s # 559s # /* ------------------------------------------------------------------------ 559s # * Code for interface org.project.Bar.Frobnicator 559s # * ------------------------------------------------------------------------ 559s # */ 559s # 559s # /** 559s # * SECTION:OrgProjectBarFrobnicator 559s # * @title: OrgProjectBarFrobnicator 559s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 559s # * 559s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 559s # */ 559s # 559s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 559s # 559s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 559s # { 559s # { 559s # -1, 559s # (gchar *) "RandomMethod", 559s # NULL, 559s # NULL, 559s # NULL 559s # }, 559s # "handle-random-method", 559s # FALSE 559s # }; 559s # 559s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 559s # { 559s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 559s # NULL 559s # }; 559s # 559s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 559s # { 559s # { 559s # -1, 559s # (gchar *) "org.project.Bar.Frobnicator", 559s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 559s # NULL, 559s # NULL, 559s # NULL 559s # }, 559s # "org-project-bar-frobnicator", 559s # }; 559s # 559s # 559s # /** 559s # * org_project_bar_frobnicator_interface_info: 559s # * 559s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 559s # * 559s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 559s # */ 559s # GDBusInterfaceInfo * 559s # org_project_bar_frobnicator_interface_info (void) 559s # { 559s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_override_properties: 559s # * @klass: The class structure for a #GObject derived class. 559s # * @property_id_begin: The property id to assign to the first overridden property. 559s # * 559s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 559s # * The properties are overridden in the order they are defined. 559s # * 559s # * Returns: The last property id. 559s # */ 559s # guint 559s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 559s # { 559s # return property_id_begin - 1; 559s # } 559s # 559s # 559s # inline static void 559s # org_project_bar_frobnicator_method_marshal_random_method ( 559s # GClosure *closure, 559s # GValue *return_value, 559s # unsigned int n_param_values, 559s # const GValue *param_values, 559s # void *invocation_hint, 559s # void *marshal_data) 559s # { 559s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 559s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 559s # } 559s # 559s # 559s # /** 559s # * OrgProjectBarFrobnicator: 559s # * 559s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 559s # */ 559s # 559s # /** 559s # * OrgProjectBarFrobnicatorIface: 559s # * @parent_iface: The parent interface. 559s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 559s # * 559s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 559s # */ 559s # 559s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 559s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 559s # 559s # static void 559s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 559s # { 559s # /* GObject signals for incoming D-Bus method calls: */ 559s # /** 559s # * OrgProjectBarFrobnicator::handle-random-method: 559s # * @object: A #OrgProjectBarFrobnicator. 559s # * @invocation: A #GDBusMethodInvocation. 559s # * 559s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 559s # * 559s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_bar_frobnicator_complete_random_method() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 559s # * 559s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 559s # */ 559s # g_signal_new ("handle-random-method", 559s # G_TYPE_FROM_INTERFACE (iface), 559s # G_SIGNAL_RUN_LAST, 559s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 559s # g_signal_accumulator_true_handled, 559s # NULL, 559s # org_project_bar_frobnicator_method_marshal_random_method, 559s # G_TYPE_BOOLEAN, 559s # 1, 559s # G_TYPE_DBUS_METHOD_INVOCATION); 559s # 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_call_random_method: 559s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 559s # * @user_data: User data to pass to @callback. 559s # * 559s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 559s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 559s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 559s # * 559s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 559s # */ 559s # void 559s # org_project_bar_frobnicator_call_random_method ( 559s # OrgProjectBarFrobnicator *proxy, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data) 559s # { 559s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 559s # "RandomMethod", 559s # g_variant_new ("()"), 559s # G_DBUS_CALL_FLAGS_NONE, 559s # -1, 559s # cancellable, 559s # callback, 559s # user_data); 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_call_random_method_finish: 559s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 559s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 559s # * @error: Return location for error or %NULL. 559s # * 559s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 559s # * 559s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 559s # */ 559s # gboolean 559s # org_project_bar_frobnicator_call_random_method_finish ( 559s # OrgProjectBarFrobnicator *proxy, 559s # GAsyncResult *res, 559s # GError **error) 559s # { 559s # GVariant *_ret; 559s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 559s # if (_ret == NULL) 559s # goto _out; 559s # g_variant_get (_ret, 559s # "()"); 559s # g_variant_unref (_ret); 559s # _out: 559s # return _ret != NULL; 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_call_random_method_sync: 559s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @error: Return location for error or %NULL. 559s # * 559s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 559s # * 559s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 559s # * 559s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 559s # */ 559s # gboolean 559s # org_project_bar_frobnicator_call_random_method_sync ( 559s # OrgProjectBarFrobnicator *proxy, 559s # GCancellable *cancellable, 559s # GError **error) 559s # { 559s # GVariant *_ret; 559s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 559s # "RandomMethod", 559s # g_variant_new ("()"), 559s # G_DBUS_CALL_FLAGS_NONE, 559s # -1, 559s # cancellable, 559s # error); 559s # if (_ret == NULL) 559s # goto _out; 559s # g_variant_get (_ret, 559s # "()"); 559s # g_variant_unref (_ret); 559s # _out: 559s # return _ret != NULL; 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_complete_random_method: 559s # * @object: A #OrgProjectBarFrobnicator. 559s # * @invocation: (transfer full): A #GDBusMethodInvocation. 559s # * 559s # * Helper function used in service implementations to finish handling invocations of the RandomMethod() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 559s # * 559s # * This method will free @invocation, you cannot use it afterwards. 559s # */ 559s # void 559s # org_project_bar_frobnicator_complete_random_method ( 559s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 559s # GDBusMethodInvocation *invocation) 559s # { 559s # g_dbus_method_invocation_return_value (invocation, 559s # g_variant_new ("()")); 559s # } 559s # 559s # /* ------------------------------------------------------------------------ */ 559s # 559s # /** 559s # * OrgProjectBarFrobnicatorProxy: 559s # * 559s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 559s # */ 559s # 559s # /** 559s # * OrgProjectBarFrobnicatorProxyClass: 559s # * @parent_class: The parent class. 559s # * 559s # * Class structure for #OrgProjectBarFrobnicatorProxy. 559s # */ 559s # 559s # struct _OrgProjectBarFrobnicatorProxyPrivate 559s # { 559s # GData *qdata; 559s # }; 559s # 559s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 559s # 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 559s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 559s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 559s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 559s # 559s # #else 559s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 559s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 559s # 559s # #endif 559s # static void 559s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 559s # { 559s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 559s # g_datalist_clear (&proxy->priv->qdata); 559s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 559s # guint prop_id G_GNUC_UNUSED, 559s # GValue *value G_GNUC_UNUSED, 559s # GParamSpec *pspec G_GNUC_UNUSED) 559s # { 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 559s # guint prop_id G_GNUC_UNUSED, 559s # const GValue *value G_GNUC_UNUSED, 559s # GParamSpec *pspec G_GNUC_UNUSED) 559s # { 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 559s # const gchar *sender_name G_GNUC_UNUSED, 559s # const gchar *signal_name, 559s # GVariant *parameters) 559s # { 559s # _ExtendedGDBusSignalInfo *info; 559s # GVariantIter iter; 559s # GVariant *child; 559s # GValue *paramv; 559s # gsize num_params; 559s # gsize n; 559s # guint signal_id; 559s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 559s # if (info == NULL) 559s # return; 559s # num_params = g_variant_n_children (parameters); 559s # paramv = g_new0 (GValue, num_params + 1); 559s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 559s # g_value_set_object (¶mv[0], proxy); 559s # g_variant_iter_init (&iter, parameters); 559s # n = 1; 559s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 559s # { 559s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 559s # if (arg_info->use_gvariant) 559s # { 559s # g_value_init (¶mv[n], G_TYPE_VARIANT); 559s # g_value_set_variant (¶mv[n], child); 559s # n++; 559s # } 559s # else 559s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 559s # g_variant_unref (child); 559s # } 559s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 559s # g_signal_emitv (paramv, signal_id, 0, NULL); 559s # for (n = 0; n < num_params + 1; n++) 559s # g_value_unset (¶mv[n]); 559s # g_free (paramv); 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 559s # GVariant *changed_properties, 559s # const gchar *const *invalidated_properties) 559s # { 559s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 559s # guint n; 559s # const gchar *key; 559s # GVariantIter *iter; 559s # _ExtendedGDBusPropertyInfo *info; 559s # g_variant_get (changed_properties, "a{sv}", &iter); 559s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 559s # { 559s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 559s # g_datalist_remove_data (&proxy->priv->qdata, key); 559s # if (info != NULL) 559s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 559s # } 559s # g_variant_iter_free (iter); 559s # for (n = 0; invalidated_properties[n] != NULL; n++) 559s # { 559s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 559s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 559s # if (info != NULL) 559s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 559s # } 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 559s # { 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 559s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 559s # #else 559s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 559s # #endif 559s # 559s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 559s # { 559s # GObjectClass *gobject_class; 559s # GDBusProxyClass *proxy_class; 559s # 559s # gobject_class = G_OBJECT_CLASS (klass); 559s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 559s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 559s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 559s # 559s # proxy_class = G_DBUS_PROXY_CLASS (klass); 559s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 559s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 559s # 559s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 559s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 559s # #endif 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 559s # { 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_proxy_new: 559s # * @connection: A #GDBusConnection. 559s # * @flags: Flags from the #GDBusProxyFlags enumeration. 559s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 559s # * @object_path: An object path. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 559s # * @user_data: User data to pass to @callback. 559s # * 559s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 559s # * 559s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 559s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 559s # * 559s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 559s # */ 559s # void 559s # org_project_bar_frobnicator_proxy_new ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data) 559s # { 559s # g_async_initable_new_async (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_proxy_new_finish: 559s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 559s # * @error: Return location for error or %NULL 559s # * 559s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 559s # * 559s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 559s # */ 559s # OrgProjectBarFrobnicator * 559s # org_project_bar_frobnicator_proxy_new_finish ( 559s # GAsyncResult *res, 559s # GError **error) 559s # { 559s # GObject *ret; 559s # GObject *source_object; 559s # source_object = g_async_result_get_source_object (res); 559s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 559s # g_object_unref (source_object); 559s # if (ret != NULL) 559s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 559s # else 559s # return NULL; 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_proxy_new_sync: 559s # * @connection: A #GDBusConnection. 559s # * @flags: Flags from the #GDBusProxyFlags enumeration. 559s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 559s # * @object_path: An object path. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @error: Return location for error or %NULL 559s # * 559s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 559s # * 559s # * The calling thread is blocked until a reply is received. 559s # * 559s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 559s # * 559s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 559s # */ 559s # OrgProjectBarFrobnicator * 559s # org_project_bar_frobnicator_proxy_new_sync ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error) 559s # { 559s # GInitable *ret; 559s # ret = g_initable_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 559s # if (ret != NULL) 559s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 559s # else 559s # return NULL; 559s # } 559s # 559s # 559s # /** 559s # * org_project_bar_frobnicator_proxy_new_for_bus: 559s # * @bus_type: A #GBusType. 559s # * @flags: Flags from the #GDBusProxyFlags enumeration. 559s # * @name: A bus name (well-known or unique). 559s # * @object_path: An object path. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 559s # * @user_data: User data to pass to @callback. 559s # * 559s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 559s # * 559s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 559s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 559s # * 559s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 559s # */ 559s # void 559s # org_project_bar_frobnicator_proxy_new_for_bus ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data) 559s # { 559s # g_async_initable_new_async (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 559s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 559s # * @error: Return location for error or %NULL 559s # * 559s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 559s # * 559s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 559s # */ 559s # OrgProjectBarFrobnicator * 559s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 559s # GAsyncResult *res, 559s # GError **error) 559s # { 559s # GObject *ret; 559s # GObject *source_object; 559s # source_object = g_async_result_get_source_object (res); 559s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 559s # g_object_unref (source_object); 559s # if (ret != NULL) 559s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 559s # else 559s # return NULL; 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 559s # * @bus_type: A #GBusType. 559s # * @flags: Flags from the #GDBusProxyFlags enumeration. 559s # * @name: A bus name (well-known or unique). 559s # * @object_path: An object path. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @error: Return location for error or %NULL 559s # * 559s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 559s # * 559s # * The calling thread is blocked until a reply is received. 559s # * 559s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 559s # * 559s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 559s # */ 559s # OrgProjectBarFrobnicator * 559s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error) 559s # { 559s # GInitable *ret; 559s # ret = g_initable_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 559s # if (ret != NULL) 559s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 559s # else 559s # return NULL; 559s # } 559s # 559s # 559s # /* ------------------------------------------------------------------------ */ 559s # 559s # /** 559s # * OrgProjectBarFrobnicatorSkeleton: 559s # * 559s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 559s # */ 559s # 559s # /** 559s # * OrgProjectBarFrobnicatorSkeletonClass: 559s # * @parent_class: The parent class. 559s # * 559s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 559s # */ 559s # 559s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 559s # { 559s # GValue *properties; 559s # GList *changed_properties; 559s # GSource *changed_properties_idle_source; 559s # GMainContext *context; 559s # GMutex lock; 559s # }; 559s # 559s # static void 559s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 559s # GDBusConnection *connection G_GNUC_UNUSED, 559s # const gchar *sender G_GNUC_UNUSED, 559s # const gchar *object_path G_GNUC_UNUSED, 559s # const gchar *interface_name, 559s # const gchar *method_name, 559s # GVariant *parameters, 559s # GDBusMethodInvocation *invocation, 559s # gpointer user_data) 559s # { 559s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 559s # _ExtendedGDBusMethodInfo *info; 559s # GVariantIter iter; 559s # GVariant *child; 559s # GValue *paramv; 559s # gsize num_params; 559s # guint num_extra; 559s # gsize n; 559s # guint signal_id; 559s # GValue return_value = G_VALUE_INIT; 559s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 559s # g_assert (info != NULL); 559s # num_params = g_variant_n_children (parameters); 559s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 559s # n = 0; 559s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 559s # g_value_set_object (¶mv[n++], skeleton); 559s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 559s # g_value_set_object (¶mv[n++], invocation); 559s # if (info->pass_fdlist) 559s # { 559s # #ifdef G_OS_UNIX 559s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 559s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 559s # #else 559s # g_assert_not_reached (); 559s # #endif 559s # } 559s # g_variant_iter_init (&iter, parameters); 559s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 559s # { 559s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 559s # if (arg_info->use_gvariant) 559s # { 559s # g_value_init (¶mv[n], G_TYPE_VARIANT); 559s # g_value_set_variant (¶mv[n], child); 559s # n++; 559s # } 559s # else 559s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 559s # g_variant_unref (child); 559s # } 559s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 559s # g_value_init (&return_value, G_TYPE_BOOLEAN); 559s # g_signal_emitv (paramv, signal_id, 0, &return_value); 559s # if (!g_value_get_boolean (&return_value)) 559s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 559s # g_value_unset (&return_value); 559s # for (n = 0; n < num_params + num_extra; n++) 559s # g_value_unset (¶mv[n]); 559s # g_free (paramv); 559s # } 559s # 559s # static GVariant * 559s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 559s # GDBusConnection *connection G_GNUC_UNUSED, 559s # const gchar *sender G_GNUC_UNUSED, 559s # const gchar *object_path G_GNUC_UNUSED, 559s # const gchar *interface_name G_GNUC_UNUSED, 559s # const gchar *property_name, 559s # GError **error, 559s # gpointer user_data) 559s # { 559s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 559s # GValue value = G_VALUE_INIT; 559s # GParamSpec *pspec; 559s # _ExtendedGDBusPropertyInfo *info; 559s # GVariant *ret; 559s # ret = NULL; 559s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 559s # g_assert (info != NULL); 559s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 559s # if (pspec == NULL) 559s # { 559s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 559s # } 559s # else 559s # { 559s # g_value_init (&value, pspec->value_type); 559s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 559s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 559s # g_value_unset (&value); 559s # } 559s # return ret; 559s # } 559s # 559s # static gboolean 559s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 559s # GDBusConnection *connection G_GNUC_UNUSED, 559s # const gchar *sender G_GNUC_UNUSED, 559s # const gchar *object_path G_GNUC_UNUSED, 559s # const gchar *interface_name G_GNUC_UNUSED, 559s # const gchar *property_name, 559s # GVariant *variant, 559s # GError **error, 559s # gpointer user_data) 559s # { 559s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 559s # GValue value = G_VALUE_INIT; 559s # GParamSpec *pspec; 559s # _ExtendedGDBusPropertyInfo *info; 559s # gboolean ret; 559s # ret = FALSE; 559s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 559s # g_assert (info != NULL); 559s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 559s # if (pspec == NULL) 559s # { 559s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 559s # } 559s # else 559s # { 559s # if (info->use_gvariant) 559s # g_value_set_variant (&value, variant); 559s # else 559s # g_dbus_gvariant_to_gvalue (variant, &value); 559s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 559s # g_value_unset (&value); 559s # ret = TRUE; 559s # } 559s # return ret; 559s # } 559s # 559s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 559s # { 559s # _org_project_bar_frobnicator_skeleton_handle_method_call, 559s # _org_project_bar_frobnicator_skeleton_handle_get_property, 559s # _org_project_bar_frobnicator_skeleton_handle_set_property, 559s # {NULL} 559s # }; 559s # 559s # static GDBusInterfaceInfo * 559s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 559s # { 559s # return org_project_bar_frobnicator_interface_info (); 559s # } 559s # 559s # static GDBusInterfaceVTable * 559s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 559s # { 559s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 559s # } 559s # 559s # static GVariant * 559s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 559s # { 559s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 559s # 559s # GVariantBuilder builder; 559s # guint n; 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 559s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 559s # #else 559s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 559s # #endif 559s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 559s # goto out; 559s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 559s # { 559s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 559s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 559s # { 559s # GVariant *value; 559s # value = _org_project_bar_frobnicator_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.Bar.Frobnicator", info->name, NULL, skeleton); 559s # if (value != NULL) 559s # { 559s # g_variant_take_ref (value); 559s # g_variant_builder_add (&builder, "{sv}", info->name, value); 559s # g_variant_unref (value); 559s # } 559s # } 559s # } 559s # out: 559s # return g_variant_builder_end (&builder); 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 559s # { 559s # } 559s # 559s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 559s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 559s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 559s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 559s # 559s # #else 559s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 559s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 559s # 559s # #endif 559s # static void 559s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 559s # { 559s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 559s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 559s # if (skeleton->priv->changed_properties_idle_source != NULL) 559s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 559s # g_main_context_unref (skeleton->priv->context); 559s # g_mutex_clear (&skeleton->priv->lock); 559s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 559s # { 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 559s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 559s # #else 559s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 559s # #endif 559s # 559s # g_mutex_init (&skeleton->priv->lock); 559s # skeleton->priv->context = g_main_context_ref_thread_default (); 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 559s # { 559s # GObjectClass *gobject_class; 559s # GDBusInterfaceSkeletonClass *skeleton_class; 559s # 559s # gobject_class = G_OBJECT_CLASS (klass); 559s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 559s # 559s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 559s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 559s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 559s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 559s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 559s # 559s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 559s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 559s # #endif 559s # } 559s # 559s # static void 559s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 559s # { 559s # } 559s # 559s # /** 559s # * org_project_bar_frobnicator_skeleton_new: 559s # * 559s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 559s # * 559s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 559s # */ 559s # OrgProjectBarFrobnicator * 559s # org_project_bar_frobnicator_skeleton_new (void) 559s # { 559s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 559s # } 559s # 559s # /* ------------------------------------------------------------------------ 559s # * Code for interface com.acme.Coyote 559s # * ------------------------------------------------------------------------ 559s # */ 559s # 559s # /** 559s # * SECTION:ComAcmeCoyote 559s # * @title: ComAcmeCoyote 559s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 559s # * 559s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 559s # */ 559s # 559s # enum 559s # { 559s # _COM_ACME_COYOTE_SURPRISED, 559s # }; 559s # 559s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 559s # 559s # /* ---- Introspection data for com.acme.Coyote ---- */ 559s # 559s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 559s # { 559s # { 559s # -1, 559s # (gchar *) "Run", 559s # NULL, 559s # NULL, 559s # NULL 559s # }, 559s # "handle-run", 559s # FALSE 559s # }; 559s # 559s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 559s # { 559s # { 559s # -1, 559s # (gchar *) "Sleep", 559s # NULL, 559s # NULL, 559s # NULL 559s # }, 559s # "handle-sleep", 559s # FALSE 559s # }; 559s # 559s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 559s # { 559s # { 559s # -1, 559s # (gchar *) "Attack", 559s # NULL, 559s # NULL, 559s # NULL 559s # }, 559s # "handle-attack", 559s # FALSE 559s # }; 559s # 559s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 559s # { 559s # &_com_acme_coyote_method_info_run.parent_struct, 559s # &_com_acme_coyote_method_info_sleep.parent_struct, 559s # &_com_acme_coyote_method_info_attack.parent_struct, 559s # NULL 559s # }; 559s # 559s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 559s # { 559s # { 559s # -1, 559s # (gchar *) "Surprised", 559s # NULL, 559s # NULL 559s # }, 559s # "surprised" 559s # }; 559s # 559s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 559s # { 559s # &_com_acme_coyote_signal_info_surprised.parent_struct, 559s # NULL 559s # }; 559s # 559s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 559s # { 559s # { 559s # -1, 559s # (gchar *) "Mood", 559s # (gchar *) "s", 559s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 559s # NULL 559s # }, 559s # "mood", 559s # FALSE, 559s # TRUE 559s # }; 559s # 559s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 559s # { 559s # &_com_acme_coyote_property_info_mood.parent_struct, 559s # NULL 559s # }; 559s # 559s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 559s # { 559s # { 559s # -1, 559s # (gchar *) "com.acme.Coyote", 559s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 559s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 559s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 559s # NULL 559s # }, 559s # "com-acme-coyote", 559s # }; 559s # 559s # 559s # /** 559s # * com_acme_coyote_interface_info: 559s # * 559s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 559s # * 559s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 559s # */ 559s # GDBusInterfaceInfo * 559s # com_acme_coyote_interface_info (void) 559s # { 559s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_override_properties: 559s # * @klass: The class structure for a #GObject derived class. 559s # * @property_id_begin: The property id to assign to the first overridden property. 559s # * 559s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 559s # * The properties are overridden in the order they are defined. 559s # * 559s # * Returns: The last property id. 559s # */ 559s # guint 559s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 559s # { 559s # g_object_class_override_property (klass, property_id_begin++, "mood"); 559s # return property_id_begin - 1; 559s # } 559s # 559s # 559s # inline static void 559s # com_acme_coyote_signal_marshal_surprised ( 559s # GClosure *closure, 559s # GValue *return_value, 559s # unsigned int n_param_values, 559s # const GValue *param_values, 559s # void *invocation_hint, 559s # void *marshal_data) 559s # { 559s # g_cclosure_marshal_VOID__VOID (closure, 559s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 559s # } 559s # 559s # inline static void 559s # com_acme_coyote_method_marshal_run ( 559s # GClosure *closure, 559s # GValue *return_value, 559s # unsigned int n_param_values, 559s # const GValue *param_values, 559s # void *invocation_hint, 559s # void *marshal_data) 559s # { 559s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 559s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 559s # } 559s # 559s # inline static void 559s # com_acme_coyote_method_marshal_sleep ( 559s # GClosure *closure, 559s # GValue *return_value, 559s # unsigned int n_param_values, 559s # const GValue *param_values, 559s # void *invocation_hint, 559s # void *marshal_data) 559s # { 559s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 559s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 559s # } 559s # 559s # inline static void 559s # com_acme_coyote_method_marshal_attack ( 559s # GClosure *closure, 559s # GValue *return_value, 559s # unsigned int n_param_values, 559s # const GValue *param_values, 559s # void *invocation_hint, 559s # void *marshal_data) 559s # { 559s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 559s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 559s # } 559s # 559s # 559s # /** 559s # * ComAcmeCoyote: 559s # * 559s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 559s # */ 559s # 559s # /** 559s # * ComAcmeCoyoteIface: 559s # * @parent_iface: The parent interface. 559s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 559s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 559s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 559s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 559s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 559s # * 559s # * Virtual table for the D-Bus interface com.acme.Coyote. 559s # */ 559s # 559s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 559s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 559s # 559s # static void 559s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 559s # { 559s # /* GObject signals for incoming D-Bus method calls: */ 559s # /** 559s # * ComAcmeCoyote::handle-run: 559s # * @object: A #ComAcmeCoyote. 559s # * @invocation: A #GDBusMethodInvocation. 559s # * 559s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 559s # * 559s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call com_acme_coyote_complete_run() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 559s # * 559s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 559s # */ 559s # g_signal_new ("handle-run", 559s # G_TYPE_FROM_INTERFACE (iface), 559s # G_SIGNAL_RUN_LAST, 559s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 559s # g_signal_accumulator_true_handled, 559s # NULL, 559s # com_acme_coyote_method_marshal_run, 559s # G_TYPE_BOOLEAN, 559s # 1, 559s # G_TYPE_DBUS_METHOD_INVOCATION); 559s # 559s # /** 559s # * ComAcmeCoyote::handle-sleep: 559s # * @object: A #ComAcmeCoyote. 559s # * @invocation: A #GDBusMethodInvocation. 559s # * 559s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 559s # * 559s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call com_acme_coyote_complete_sleep() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 559s # * 559s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 559s # */ 559s # g_signal_new ("handle-sleep", 559s # G_TYPE_FROM_INTERFACE (iface), 559s # G_SIGNAL_RUN_LAST, 559s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 559s # g_signal_accumulator_true_handled, 559s # NULL, 559s # com_acme_coyote_method_marshal_sleep, 559s # G_TYPE_BOOLEAN, 559s # 1, 559s # G_TYPE_DBUS_METHOD_INVOCATION); 559s # 559s # /** 559s # * ComAcmeCoyote::handle-attack: 559s # * @object: A #ComAcmeCoyote. 559s # * @invocation: A #GDBusMethodInvocation. 559s # * 559s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 559s # * 559s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call com_acme_coyote_complete_attack() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 559s # * 559s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 559s # */ 559s # g_signal_new ("handle-attack", 559s # G_TYPE_FROM_INTERFACE (iface), 559s # G_SIGNAL_RUN_LAST, 559s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 559s # g_signal_accumulator_true_handled, 559s # NULL, 559s # com_acme_coyote_method_marshal_attack, 559s # G_TYPE_BOOLEAN, 559s # 1, 559s # G_TYPE_DBUS_METHOD_INVOCATION); 559s # 559s # /* GObject signals for received D-Bus signals: */ 559s # /** 559s # * ComAcmeCoyote::surprised: 559s # * @object: A #ComAcmeCoyote. 559s # * 559s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 559s # * 559s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 559s # */ 559s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 559s # g_signal_new ("surprised", 559s # G_TYPE_FROM_INTERFACE (iface), 559s # G_SIGNAL_RUN_LAST, 559s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 559s # NULL, 559s # NULL, 559s # com_acme_coyote_signal_marshal_surprised, 559s # G_TYPE_NONE, 559s # 0); 559s # 559s # /* GObject properties for D-Bus properties: */ 559s # /** 559s # * ComAcmeCoyote:mood: 559s # * 559s # * Represents the D-Bus property "Mood". 559s # * 559s # * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side. 559s # */ 559s # g_object_interface_install_property (iface, 559s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_get_mood: (skip) 559s # * @object: A #ComAcmeCoyote. 559s # * 559s # * Gets the value of the "Mood" D-Bus property. 559s # * 559s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 559s # * 559s # * The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use com_acme_coyote_dup_mood() if on another thread. 559s # * 559s # * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. 559s # */ 559s # const gchar * 559s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 559s # { 559s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 559s # 559s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_dup_mood: (skip) 559s # * @object: A #ComAcmeCoyote. 559s # * 559s # * Gets a copy of the "Mood" D-Bus property. 559s # * 559s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 559s # * 559s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 559s # */ 559s # gchar * 559s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 559s # { 559s # gchar *value; 559s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 559s # return value; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_set_mood: (skip) 559s # * @object: A #ComAcmeCoyote. 559s # * @value: The value to set. 559s # * 559s # * Sets the "Mood" D-Bus property to @value. 559s # * 559s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 559s # */ 559s # void 559s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 559s # { 559s # g_object_set (G_OBJECT (object), "mood", value, NULL); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_emit_surprised: 559s # * @object: A #ComAcmeCoyote. 559s # * 559s # * Emits the "Surprised" D-Bus signal. 559s # */ 559s # void 559s # com_acme_coyote_emit_surprised ( 559s # ComAcmeCoyote *object) 559s # { 559s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_call_run: 559s # * @proxy: A #ComAcmeCoyoteProxy. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 559s # * @user_data: User data to pass to @callback. 559s # * 559s # * Asynchronously invokes the Run() D-Bus method on @proxy. 559s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 559s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 559s # * 559s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 559s # */ 559s # void 559s # com_acme_coyote_call_run ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data) 559s # { 559s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 559s # "Run", 559s # g_variant_new ("()"), 559s # G_DBUS_CALL_FLAGS_NONE, 559s # -1, 559s # cancellable, 559s # callback, 559s # user_data); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_call_run_finish: 559s # * @proxy: A #ComAcmeCoyoteProxy. 559s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 559s # * @error: Return location for error or %NULL. 559s # * 559s # * Finishes an operation started with com_acme_coyote_call_run(). 559s # * 559s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 559s # */ 559s # gboolean 559s # com_acme_coyote_call_run_finish ( 559s # ComAcmeCoyote *proxy, 559s # GAsyncResult *res, 559s # GError **error) 559s # { 559s # GVariant *_ret; 559s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 559s # if (_ret == NULL) 559s # goto _out; 559s # g_variant_get (_ret, 559s # "()"); 559s # g_variant_unref (_ret); 559s # _out: 559s # return _ret != NULL; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_call_run_sync: 559s # * @proxy: A #ComAcmeCoyoteProxy. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @error: Return location for error or %NULL. 559s # * 559s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 559s # * 559s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 559s # * 559s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 559s # */ 559s # gboolean 559s # com_acme_coyote_call_run_sync ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GError **error) 559s # { 559s # GVariant *_ret; 559s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 559s # "Run", 559s # g_variant_new ("()"), 559s # G_DBUS_CALL_FLAGS_NONE, 559s # -1, 559s # cancellable, 559s # error); 559s # if (_ret == NULL) 559s # goto _out; 559s # g_variant_get (_ret, 559s # "()"); 559s # g_variant_unref (_ret); 559s # _out: 559s # return _ret != NULL; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_call_sleep: 559s # * @proxy: A #ComAcmeCoyoteProxy. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 559s # * @user_data: User data to pass to @callback. 559s # * 559s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 559s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 559s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 559s # * 559s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 559s # */ 559s # void 559s # com_acme_coyote_call_sleep ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data) 559s # { 559s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 559s # "Sleep", 559s # g_variant_new ("()"), 559s # G_DBUS_CALL_FLAGS_NONE, 559s # -1, 559s # cancellable, 559s # callback, 559s # user_data); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_call_sleep_finish: 559s # * @proxy: A #ComAcmeCoyoteProxy. 559s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 559s # * @error: Return location for error or %NULL. 559s # * 559s # * Finishes an operation started with com_acme_coyote_call_sleep(). 559s # * 559s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 559s # */ 559s # gboolean 559s # com_acme_coyote_call_sleep_finish ( 559s # ComAcmeCoyote *proxy, 559s # GAsyncResult *res, 559s # GError **error) 559s # { 559s # GVariant *_ret; 559s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 559s # if (_ret == NULL) 559s # goto _out; 559s # g_variant_get (_ret, 559s # "()"); 559s # g_variant_unref (_ret); 559s # _out: 559s # return _ret != NULL; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_call_sleep_sync: 559s # * @proxy: A #ComAcmeCoyoteProxy. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @error: Return location for error or %NULL. 559s # * 559s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 559s # * 559s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 559s # * 559s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 559s # */ 559s # gboolean 559s # com_acme_coyote_call_sleep_sync ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GError **error) 559s # { 559s # GVariant *_ret; 559s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 559s # "Sleep", 559s # g_variant_new ("()"), 559s # G_DBUS_CALL_FLAGS_NONE, 559s # -1, 559s # cancellable, 559s # error); 559s # if (_ret == NULL) 559s # goto _out; 559s # g_variant_get (_ret, 559s # "()"); 559s # g_variant_unref (_ret); 559s # _out: 559s # return _ret != NULL; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_call_attack: 559s # * @proxy: A #ComAcmeCoyoteProxy. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 559s # * @user_data: User data to pass to @callback. 559s # * 559s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 559s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 559s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 559s # * 559s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 559s # */ 559s # void 559s # com_acme_coyote_call_attack ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data) 559s # { 559s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 559s # "Attack", 559s # g_variant_new ("()"), 559s # G_DBUS_CALL_FLAGS_NONE, 559s # -1, 559s # cancellable, 559s # callback, 559s # user_data); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_call_attack_finish: 559s # * @proxy: A #ComAcmeCoyoteProxy. 559s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 559s # * @error: Return location for error or %NULL. 559s # * 559s # * Finishes an operation started with com_acme_coyote_call_attack(). 559s # * 559s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 559s # */ 559s # gboolean 559s # com_acme_coyote_call_attack_finish ( 559s # ComAcmeCoyote *proxy, 559s # GAsyncResult *res, 559s # GError **error) 559s # { 559s # GVariant *_ret; 559s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 559s # if (_ret == NULL) 559s # goto _out; 559s # g_variant_get (_ret, 559s # "()"); 559s # g_variant_unref (_ret); 559s # _out: 559s # return _ret != NULL; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_call_attack_sync: 559s # * @proxy: A #ComAcmeCoyoteProxy. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @error: Return location for error or %NULL. 559s # * 559s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 559s # * 559s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 559s # * 559s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 559s # */ 559s # gboolean 559s # com_acme_coyote_call_attack_sync ( 559s # ComAcmeCoyote *proxy, 559s # GCancellable *cancellable, 559s # GError **error) 559s # { 559s # GVariant *_ret; 559s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 559s # "Attack", 559s # g_variant_new ("()"), 559s # G_DBUS_CALL_FLAGS_NONE, 559s # -1, 559s # cancellable, 559s # error); 559s # if (_ret == NULL) 559s # goto _out; 559s # g_variant_get (_ret, 559s # "()"); 559s # g_variant_unref (_ret); 559s # _out: 559s # return _ret != NULL; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_complete_run: 559s # * @object: A #ComAcmeCoyote. 559s # * @invocation: (transfer full): A #GDBusMethodInvocation. 559s # * 559s # * Helper function used in service implementations to finish handling invocations of the Run() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 559s # * 559s # * This method will free @invocation, you cannot use it afterwards. 559s # */ 559s # void 559s # com_acme_coyote_complete_run ( 559s # ComAcmeCoyote *object G_GNUC_UNUSED, 559s # GDBusMethodInvocation *invocation) 559s # { 559s # g_dbus_method_invocation_return_value (invocation, 559s # g_variant_new ("()")); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_complete_sleep: 559s # * @object: A #ComAcmeCoyote. 559s # * @invocation: (transfer full): A #GDBusMethodInvocation. 559s # * 559s # * Helper function used in service implementations to finish handling invocations of the Sleep() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 559s # * 559s # * This method will free @invocation, you cannot use it afterwards. 559s # */ 559s # void 559s # com_acme_coyote_complete_sleep ( 559s # ComAcmeCoyote *object G_GNUC_UNUSED, 559s # GDBusMethodInvocation *invocation) 559s # { 559s # g_dbus_method_invocation_return_value (invocation, 559s # g_variant_new ("()")); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_complete_attack: 559s # * @object: A #ComAcmeCoyote. 559s # * @invocation: (transfer full): A #GDBusMethodInvocation. 559s # * 559s # * Helper function used in service implementations to finish handling invocations of the Attack() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 559s # * 559s # * This method will free @invocation, you cannot use it afterwards. 559s # */ 559s # void 559s # com_acme_coyote_complete_attack ( 559s # ComAcmeCoyote *object G_GNUC_UNUSED, 559s # GDBusMethodInvocation *invocation) 559s # { 559s # g_dbus_method_invocation_return_value (invocation, 559s # g_variant_new ("()")); 559s # } 559s # 559s # /* ------------------------------------------------------------------------ */ 559s # 559s # /** 559s # * ComAcmeCoyoteProxy: 559s # * 559s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 559s # */ 559s # 559s # /** 559s # * ComAcmeCoyoteProxyClass: 559s # * @parent_class: The parent class. 559s # * 559s # * Class structure for #ComAcmeCoyoteProxy. 559s # */ 559s # 559s # struct _ComAcmeCoyoteProxyPrivate 559s # { 559s # GData *qdata; 559s # }; 559s # 559s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 559s # 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 559s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 559s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 559s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 559s # 559s # #else 559s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 559s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 559s # 559s # #endif 559s # static void 559s # com_acme_coyote_proxy_finalize (GObject *object) 559s # { 559s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 559s # g_datalist_clear (&proxy->priv->qdata); 559s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 559s # } 559s # 559s # static void 559s # com_acme_coyote_proxy_get_property (GObject *object, 559s # guint prop_id, 559s # GValue *value, 559s # GParamSpec *pspec G_GNUC_UNUSED) 559s # { 559s # const _ExtendedGDBusPropertyInfo *info; 559s # GVariant *variant; 559s # g_assert (prop_id != 0 && prop_id - 1 < 1); 559s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 559s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 559s # if (info->use_gvariant) 559s # { 559s # g_value_set_variant (value, variant); 559s # } 559s # else 559s # { 559s # if (variant != NULL) 559s # g_dbus_gvariant_to_gvalue (variant, value); 559s # } 559s # if (variant != NULL) 559s # g_variant_unref (variant); 559s # } 559s # 559s # static void 559s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 559s # GAsyncResult *res, 559s # gpointer user_data) 559s # { 559s # const _ExtendedGDBusPropertyInfo *info = user_data; 559s # GError *error; 559s # GVariant *_ret; 559s # error = NULL; 559s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 559s # if (!_ret) 559s # { 559s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 559s # info->parent_struct.name, 559s # error->message, g_quark_to_string (error->domain), error->code); 559s # g_error_free (error); 559s # } 559s # else 559s # { 559s # g_variant_unref (_ret); 559s # } 559s # } 559s # 559s # static void 559s # com_acme_coyote_proxy_set_property (GObject *object, 559s # guint prop_id, 559s # const GValue *value, 559s # GParamSpec *pspec G_GNUC_UNUSED) 559s # { 559s # const _ExtendedGDBusPropertyInfo *info; 559s # GVariant *variant; 559s # g_assert (prop_id != 0 && prop_id - 1 < 1); 559s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 559s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 559s # g_dbus_proxy_call (G_DBUS_PROXY (object), 559s # "org.freedesktop.DBus.Properties.Set", 559s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 559s # G_DBUS_CALL_FLAGS_NONE, 559s # -1, 559s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 559s # g_variant_unref (variant); 559s # } 559s # 559s # static void 559s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 559s # const gchar *sender_name G_GNUC_UNUSED, 559s # const gchar *signal_name, 559s # GVariant *parameters) 559s # { 559s # _ExtendedGDBusSignalInfo *info; 559s # GVariantIter iter; 559s # GVariant *child; 559s # GValue *paramv; 559s # gsize num_params; 559s # gsize n; 559s # guint signal_id; 559s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 559s # if (info == NULL) 559s # return; 559s # num_params = g_variant_n_children (parameters); 559s # paramv = g_new0 (GValue, num_params + 1); 559s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 559s # g_value_set_object (¶mv[0], proxy); 559s # g_variant_iter_init (&iter, parameters); 559s # n = 1; 559s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 559s # { 559s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 559s # if (arg_info->use_gvariant) 559s # { 559s # g_value_init (¶mv[n], G_TYPE_VARIANT); 559s # g_value_set_variant (¶mv[n], child); 559s # n++; 559s # } 559s # else 559s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 559s # g_variant_unref (child); 559s # } 559s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 559s # g_signal_emitv (paramv, signal_id, 0, NULL); 559s # for (n = 0; n < num_params + 1; n++) 559s # g_value_unset (¶mv[n]); 559s # g_free (paramv); 559s # } 559s # 559s # static void 559s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 559s # GVariant *changed_properties, 559s # const gchar *const *invalidated_properties) 559s # { 559s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 559s # guint n; 559s # const gchar *key; 559s # GVariantIter *iter; 559s # _ExtendedGDBusPropertyInfo *info; 559s # g_variant_get (changed_properties, "a{sv}", &iter); 559s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 559s # { 559s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 559s # g_datalist_remove_data (&proxy->priv->qdata, key); 559s # if (info != NULL) 559s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 559s # } 559s # g_variant_iter_free (iter); 559s # for (n = 0; invalidated_properties[n] != NULL; n++) 559s # { 559s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 559s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 559s # if (info != NULL) 559s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 559s # } 559s # } 559s # 559s # static const gchar * 559s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 559s # { 559s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 559s # GVariant *variant; 559s # const gchar *value = NULL; 559s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 559s # if (variant != NULL) 559s # { 559s # value = g_variant_get_string (variant, NULL); 559s # g_variant_unref (variant); 559s # } 559s # return value; 559s # } 559s # 559s # static void 559s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 559s # { 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 559s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 559s # #else 559s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 559s # #endif 559s # 559s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 559s # } 559s # 559s # static void 559s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 559s # { 559s # GObjectClass *gobject_class; 559s # GDBusProxyClass *proxy_class; 559s # 559s # gobject_class = G_OBJECT_CLASS (klass); 559s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 559s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 559s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 559s # 559s # proxy_class = G_DBUS_PROXY_CLASS (klass); 559s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 559s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 559s # 559s # com_acme_coyote_override_properties (gobject_class, 1); 559s # 559s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 559s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 559s # #endif 559s # } 559s # 559s # static void 559s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 559s # { 559s # iface->get_mood = com_acme_coyote_proxy_get_mood; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_proxy_new: 559s # * @connection: A #GDBusConnection. 559s # * @flags: Flags from the #GDBusProxyFlags enumeration. 559s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 559s # * @object_path: An object path. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 559s # * @user_data: User data to pass to @callback. 559s # * 559s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 559s # * 559s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 559s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 559s # * 559s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 559s # */ 559s # void 559s # com_acme_coyote_proxy_new ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data) 559s # { 559s # g_async_initable_new_async (TYPE_COM_ACME_COYOTE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_proxy_new_finish: 559s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 559s # * @error: Return location for error or %NULL 559s # * 559s # * Finishes an operation started with com_acme_coyote_proxy_new(). 559s # * 559s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 559s # */ 559s # ComAcmeCoyote * 559s # com_acme_coyote_proxy_new_finish ( 559s # GAsyncResult *res, 559s # GError **error) 559s # { 559s # GObject *ret; 559s # GObject *source_object; 559s # source_object = g_async_result_get_source_object (res); 559s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 559s # g_object_unref (source_object); 559s # if (ret != NULL) 559s # return COM_ACME_COYOTE (ret); 559s # else 559s # return NULL; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_proxy_new_sync: 559s # * @connection: A #GDBusConnection. 559s # * @flags: Flags from the #GDBusProxyFlags enumeration. 559s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 559s # * @object_path: An object path. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @error: Return location for error or %NULL 559s # * 559s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 559s # * 559s # * The calling thread is blocked until a reply is received. 559s # * 559s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 559s # * 559s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 559s # */ 559s # ComAcmeCoyote * 559s # com_acme_coyote_proxy_new_sync ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error) 559s # { 559s # GInitable *ret; 559s # ret = g_initable_new (TYPE_COM_ACME_COYOTE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 559s # if (ret != NULL) 559s # return COM_ACME_COYOTE (ret); 559s # else 559s # return NULL; 559s # } 559s # 559s # 559s # /** 559s # * com_acme_coyote_proxy_new_for_bus: 559s # * @bus_type: A #GBusType. 559s # * @flags: Flags from the #GDBusProxyFlags enumeration. 559s # * @name: A bus name (well-known or unique). 559s # * @object_path: An object path. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 559s # * @user_data: User data to pass to @callback. 559s # * 559s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 559s # * 559s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 559s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 559s # * 559s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 559s # */ 559s # void 559s # com_acme_coyote_proxy_new_for_bus ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data) 559s # { 559s # g_async_initable_new_async (TYPE_COM_ACME_COYOTE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 559s # } 559s # 559s # /** 559s # * com_acme_coyote_proxy_new_for_bus_finish: 559s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 559s # * @error: Return location for error or %NULL 559s # * 559s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 559s # * 559s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 559s # */ 559s # ComAcmeCoyote * 559s # com_acme_coyote_proxy_new_for_bus_finish ( 559s # GAsyncResult *res, 559s # GError **error) 559s # { 559s # GObject *ret; 559s # GObject *source_object; 559s # source_object = g_async_result_get_source_object (res); 559s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 559s # g_object_unref (source_object); 559s # if (ret != NULL) 559s # return COM_ACME_COYOTE (ret); 559s # else 559s # return NULL; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_proxy_new_for_bus_sync: 559s # * @bus_type: A #GBusType. 559s # * @flags: Flags from the #GDBusProxyFlags enumeration. 559s # * @name: A bus name (well-known or unique). 559s # * @object_path: An object path. 559s # * @cancellable: (nullable): A #GCancellable or %NULL. 559s # * @error: Return location for error or %NULL 559s # * 559s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 559s # * 559s # * The calling thread is blocked until a reply is received. 559s # * 559s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 559s # * 559s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 559s # */ 559s # ComAcmeCoyote * 559s # com_acme_coyote_proxy_new_for_bus_sync ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error) 559s # { 559s # GInitable *ret; 559s # ret = g_initable_new (TYPE_COM_ACME_COYOTE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 559s # if (ret != NULL) 559s # return COM_ACME_COYOTE (ret); 559s # else 559s # return NULL; 559s # } 559s # 559s # 559s # /* ------------------------------------------------------------------------ */ 559s # 559s # /** 559s # * ComAcmeCoyoteSkeleton: 559s # * 559s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 559s # */ 559s # 559s # /** 559s # * ComAcmeCoyoteSkeletonClass: 559s # * @parent_class: The parent class. 559s # * 559s # * Class structure for #ComAcmeCoyoteSkeleton. 559s # */ 559s # 559s # struct _ComAcmeCoyoteSkeletonPrivate 559s # { 559s # GValue *properties; 559s # GList *changed_properties; 559s # GSource *changed_properties_idle_source; 559s # GMainContext *context; 559s # GMutex lock; 559s # }; 559s # 559s # static void 559s # _com_acme_coyote_skeleton_handle_method_call ( 559s # GDBusConnection *connection G_GNUC_UNUSED, 559s # const gchar *sender G_GNUC_UNUSED, 559s # const gchar *object_path G_GNUC_UNUSED, 559s # const gchar *interface_name, 559s # const gchar *method_name, 559s # GVariant *parameters, 559s # GDBusMethodInvocation *invocation, 559s # gpointer user_data) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 559s # _ExtendedGDBusMethodInfo *info; 559s # GVariantIter iter; 559s # GVariant *child; 559s # GValue *paramv; 559s # gsize num_params; 559s # guint num_extra; 559s # gsize n; 559s # guint signal_id; 559s # GValue return_value = G_VALUE_INIT; 559s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 559s # g_assert (info != NULL); 559s # num_params = g_variant_n_children (parameters); 559s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 559s # n = 0; 559s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 559s # g_value_set_object (¶mv[n++], skeleton); 559s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 559s # g_value_set_object (¶mv[n++], invocation); 559s # if (info->pass_fdlist) 559s # { 559s # #ifdef G_OS_UNIX 559s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 559s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 559s # #else 559s # g_assert_not_reached (); 559s # #endif 559s # } 559s # g_variant_iter_init (&iter, parameters); 559s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 559s # { 559s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 559s # if (arg_info->use_gvariant) 559s # { 559s # g_value_init (¶mv[n], G_TYPE_VARIANT); 559s # g_value_set_variant (¶mv[n], child); 559s # n++; 559s # } 559s # else 559s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 559s # g_variant_unref (child); 559s # } 559s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 559s # g_value_init (&return_value, G_TYPE_BOOLEAN); 559s # g_signal_emitv (paramv, signal_id, 0, &return_value); 559s # if (!g_value_get_boolean (&return_value)) 559s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 559s # g_value_unset (&return_value); 559s # for (n = 0; n < num_params + num_extra; n++) 559s # g_value_unset (¶mv[n]); 559s # g_free (paramv); 559s # } 559s # 559s # static GVariant * 559s # _com_acme_coyote_skeleton_handle_get_property ( 559s # GDBusConnection *connection G_GNUC_UNUSED, 559s # const gchar *sender G_GNUC_UNUSED, 559s # const gchar *object_path G_GNUC_UNUSED, 559s # const gchar *interface_name G_GNUC_UNUSED, 559s # const gchar *property_name, 559s # GError **error, 559s # gpointer user_data) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 559s # GValue value = G_VALUE_INIT; 559s # GParamSpec *pspec; 559s # _ExtendedGDBusPropertyInfo *info; 559s # GVariant *ret; 559s # ret = NULL; 559s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 559s # g_assert (info != NULL); 559s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 559s # if (pspec == NULL) 559s # { 559s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 559s # } 559s # else 559s # { 559s # g_value_init (&value, pspec->value_type); 559s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 559s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 559s # g_value_unset (&value); 559s # } 559s # return ret; 559s # } 559s # 559s # static gboolean 559s # _com_acme_coyote_skeleton_handle_set_property ( 559s # GDBusConnection *connection G_GNUC_UNUSED, 559s # const gchar *sender G_GNUC_UNUSED, 559s # const gchar *object_path G_GNUC_UNUSED, 559s # const gchar *interface_name G_GNUC_UNUSED, 559s # const gchar *property_name, 559s # GVariant *variant, 559s # GError **error, 559s # gpointer user_data) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 559s # GValue value = G_VALUE_INIT; 559s # GParamSpec *pspec; 559s # _ExtendedGDBusPropertyInfo *info; 559s # gboolean ret; 559s # ret = FALSE; 559s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 559s # g_assert (info != NULL); 559s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 559s # if (pspec == NULL) 559s # { 559s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 559s # } 559s # else 559s # { 559s # if (info->use_gvariant) 559s # g_value_set_variant (&value, variant); 559s # else 559s # g_dbus_gvariant_to_gvalue (variant, &value); 559s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 559s # g_value_unset (&value); 559s # ret = TRUE; 559s # } 559s # return ret; 559s # } 559s # 559s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 559s # { 559s # _com_acme_coyote_skeleton_handle_method_call, 559s # _com_acme_coyote_skeleton_handle_get_property, 559s # _com_acme_coyote_skeleton_handle_set_property, 559s # {NULL} 559s # }; 559s # 559s # static GDBusInterfaceInfo * 559s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 559s # { 559s # return com_acme_coyote_interface_info (); 559s # } 559s # 559s # static GDBusInterfaceVTable * 559s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 559s # { 559s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 559s # } 559s # 559s # static GVariant * 559s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 559s # 559s # GVariantBuilder builder; 559s # guint n; 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 559s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 559s # #else 559s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 559s # #endif 559s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 559s # goto out; 559s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 559s # { 559s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 559s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 559s # { 559s # GVariant *value; 559s # value = _com_acme_coyote_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", info->name, NULL, skeleton); 559s # if (value != NULL) 559s # { 559s # g_variant_take_ref (value); 559s # g_variant_builder_add (&builder, "{sv}", info->name, value); 559s # g_variant_unref (value); 559s # } 559s # } 559s # } 559s # out: 559s # return g_variant_builder_end (&builder); 559s # } 559s # 559s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 559s # 559s # static void 559s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 559s # gboolean emit_changed = FALSE; 559s # 559s # g_mutex_lock (&skeleton->priv->lock); 559s # if (skeleton->priv->changed_properties_idle_source != NULL) 559s # { 559s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 559s # skeleton->priv->changed_properties_idle_source = NULL; 559s # emit_changed = TRUE; 559s # } 559s # g_mutex_unlock (&skeleton->priv->lock); 559s # 559s # if (emit_changed) 559s # _com_acme_coyote_emit_changed (skeleton); 559s # } 559s # 559s # static void 559s # _com_acme_coyote_on_signal_surprised ( 559s # ComAcmeCoyote *object) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 559s # 559s # GList *connections, *l; 559s # GVariant *signal_variant; 559s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 559s # 559s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 559s # for (l = connections; l != NULL; l = l->next) 559s # { 559s # GDBusConnection *connection = l->data; 559s # g_dbus_connection_emit_signal (connection, 559s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 559s # signal_variant, NULL); 559s # } 559s # g_variant_unref (signal_variant); 559s # g_list_free_full (connections, g_object_unref); 559s # } 559s # 559s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 559s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 559s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 559s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 559s # 559s # #else 559s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 559s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 559s # 559s # #endif 559s # static void 559s # com_acme_coyote_skeleton_finalize (GObject *object) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 559s # guint n; 559s # for (n = 0; n < 1; n++) 559s # g_value_unset (&skeleton->priv->properties[n]); 559s # g_free (skeleton->priv->properties); 559s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 559s # if (skeleton->priv->changed_properties_idle_source != NULL) 559s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 559s # g_main_context_unref (skeleton->priv->context); 559s # g_mutex_clear (&skeleton->priv->lock); 559s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 559s # } 559s # 559s # static void 559s # com_acme_coyote_skeleton_get_property (GObject *object, 559s # guint prop_id, 559s # GValue *value, 559s # GParamSpec *pspec G_GNUC_UNUSED) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 559s # g_assert (prop_id != 0 && prop_id - 1 < 1); 559s # g_mutex_lock (&skeleton->priv->lock); 559s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 559s # g_mutex_unlock (&skeleton->priv->lock); 559s # } 559s # 559s # static gboolean 559s # _com_acme_coyote_emit_changed (gpointer user_data) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 559s # GList *l; 559s # GVariantBuilder builder; 559s # GVariantBuilder invalidated_builder; 559s # guint num_changes; 559s # 559s # g_mutex_lock (&skeleton->priv->lock); 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 559s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 559s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 559s # #else 559s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 559s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 559s # #endif 559s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 559s # { 559s # ChangedProperty *cp = l->data; 559s # GVariant *variant; 559s # const GValue *cur_value; 559s # 559s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 559s # if (!_g_value_equal (cur_value, &cp->orig_value)) 559s # { 559s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 559s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 559s # g_variant_unref (variant); 559s # num_changes++; 559s # } 559s # } 559s # if (num_changes > 0) 559s # { 559s # GList *connections, *ll; 559s # GVariant *signal_variant; 559s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 559s # &builder, &invalidated_builder)); 559s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 559s # for (ll = connections; ll != NULL; ll = ll->next) 559s # { 559s # GDBusConnection *connection = ll->data; 559s # 559s # g_dbus_connection_emit_signal (connection, 559s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 559s # "org.freedesktop.DBus.Properties", 559s # "PropertiesChanged", 559s # signal_variant, 559s # NULL); 559s # } 559s # g_variant_unref (signal_variant); 559s # g_list_free_full (connections, g_object_unref); 559s # } 559s # else 559s # { 559s # g_variant_builder_clear (&builder); 559s # g_variant_builder_clear (&invalidated_builder); 559s # } 559s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 559s # skeleton->priv->changed_properties = NULL; 559s # skeleton->priv->changed_properties_idle_source = NULL; 559s # g_mutex_unlock (&skeleton->priv->lock); 559s # return FALSE; 559s # } 559s # 559s # static void 559s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 559s # { 559s # ChangedProperty *cp; 559s # GList *l; 559s # cp = NULL; 559s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 559s # { 559s # ChangedProperty *i_cp = l->data; 559s # if (i_cp->info == info) 559s # { 559s # cp = i_cp; 559s # break; 559s # } 559s # } 559s # if (cp == NULL) 559s # { 559s # cp = g_new0 (ChangedProperty, 1); 559s # cp->prop_id = prop_id; 559s # cp->info = info; 559s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 559s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 559s # g_value_copy (orig_value, &cp->orig_value); 559s # } 559s # } 559s # 559s # static void 559s # com_acme_coyote_skeleton_notify (GObject *object, 559s # GParamSpec *pspec G_GNUC_UNUSED) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 559s # g_mutex_lock (&skeleton->priv->lock); 559s # if (skeleton->priv->changed_properties != NULL && 559s # skeleton->priv->changed_properties_idle_source == NULL) 559s # { 559s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 559s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 559s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 559s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 559s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 559s # g_source_unref (skeleton->priv->changed_properties_idle_source); 559s # } 559s # g_mutex_unlock (&skeleton->priv->lock); 559s # } 559s # 559s # static void 559s # com_acme_coyote_skeleton_set_property (GObject *object, 559s # guint prop_id, 559s # const GValue *value, 559s # GParamSpec *pspec) 559s # { 559s # const _ExtendedGDBusPropertyInfo *info; 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 559s # g_assert (prop_id != 0 && prop_id - 1 < 1); 559s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 559s # g_mutex_lock (&skeleton->priv->lock); 559s # g_object_freeze_notify (object); 559s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 559s # { 559s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 559s # info->emits_changed_signal) 559s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 559s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 559s # g_object_notify_by_pspec (object, pspec); 559s # } 559s # g_mutex_unlock (&skeleton->priv->lock); 559s # g_object_thaw_notify (object); 559s # } 559s # 559s # static void 559s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 559s # { 559s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 559s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 559s # #else 559s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 559s # #endif 559s # 559s # g_mutex_init (&skeleton->priv->lock); 559s # skeleton->priv->context = g_main_context_ref_thread_default (); 559s # skeleton->priv->properties = g_new0 (GValue, 1); 559s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 559s # } 559s # 559s # static const gchar * 559s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 559s # { 559s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 559s # const gchar *value; 559s # g_mutex_lock (&skeleton->priv->lock); 559s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 559s # g_mutex_unlock (&skeleton->priv->lock); 559s # return value; 559s # } 559s # 559s # static void 559s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 559s # { 559s # GObjectClass *gobject_class; 559s # GDBusInterfaceSkeletonClass *skeleton_class; 559s # 559s # gobject_class = G_OBJECT_CLASS (klass); 559s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 559s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 559s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 559s # gobject_class->notify = com_acme_coyote_skeleton_notify; 559s # 559s # 559s # com_acme_coyote_override_properties (gobject_class, 1); 559s # 559s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 559s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 559s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 559s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 559s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 559s # 559s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 559s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 559s # #endif 559s # } 559s # 559s # static void 559s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 559s # { 559s # iface->surprised = _com_acme_coyote_on_signal_surprised; 559s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 559s # } 559s # 559s # /** 559s # * com_acme_coyote_skeleton_new: 559s # * 559s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 559s # * 559s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 559s # */ 559s # ComAcmeCoyote * 559s # com_acme_coyote_skeleton_new (void) 559s # { 559s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 559s # } 559s # Error: 559s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 559s # gdbus-codegen: /usr/bin/gdbus-codegen 559s # tmpdir: /tmp/tmprt5st5si 559s # /tmp/tmprt5st5si/tmpkt8axjbu.xml: 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprt5st5si/tmpkt8axjbu.xml', '--output', '-', '--header'] 559s # Return code: 0 559s # Output: 559s # /* 559s # * This file is generated by gdbus-codegen, do not modify it. 559s # * 559s # * The license of this code is the same as for the D-Bus interface description 559s # * it was derived from. Note that it links to GLib, so must comply with the 559s # * LGPL linking clauses. 559s # */ 559s # 559s # #ifndef __STDOUT__ 559s # #define __STDOUT__ 559s # 559s # #include 559s # 559s # G_BEGIN_DECLS 559s # 559s # 559s # /* ------------------------------------------------------------------------ */ 559s # /* Declarations for FDPassing */ 559s # 559s # #define TYPE_FDPASSING (fdpassing_get_type ()) 559s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 559s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 559s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 559s # 559s # struct _FDPassing; 559s # typedef struct _FDPassing FDPassing; 559s # typedef struct _FDPassingIface FDPassingIface; 559s # 559s # struct _FDPassingIface 559s # { 559s # GTypeInterface parent_iface; 559s # 559s # gboolean (*handle_hello_fd) ( 559s # FDPassing *object, 559s # GDBusMethodInvocation *invocation, 559s # GUnixFDList *fd_list, 559s # const gchar *arg_greeting); 559s # 559s # gboolean (*handle_no_annotation) ( 559s # FDPassing *object, 559s # GDBusMethodInvocation *invocation, 559s # GVariant *arg_greeting, 559s # const gchar *arg_greeting_locale); 559s # 559s # gboolean (*handle_no_annotation_nested) ( 559s # FDPassing *object, 559s # GDBusMethodInvocation *invocation, 559s # GVariant *arg_files); 559s # 559s # }; 559s # 559s # GType fdpassing_get_type (void) G_GNUC_CONST; 559s # 559s # GDBusInterfaceInfo *fdpassing_interface_info (void); 559s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 559s # 559s # 559s # /* D-Bus method call completion functions: */ 559s # void fdpassing_complete_hello_fd ( 559s # FDPassing *object, 559s # GDBusMethodInvocation *invocation, 559s # GUnixFDList *fd_list, 559s # const gchar *response); 559s # 559s # void fdpassing_complete_no_annotation ( 559s # FDPassing *object, 559s # GDBusMethodInvocation *invocation, 559s # GVariant *response, 559s # const gchar *response_locale); 559s # 559s # void fdpassing_complete_no_annotation_nested ( 559s # FDPassing *object, 559s # GDBusMethodInvocation *invocation); 559s # 559s # 559s # 559s # /* D-Bus method calls: */ 559s # void fdpassing_call_hello_fd ( 559s # FDPassing *proxy, 559s # const gchar *arg_greeting, 559s # GUnixFDList *fd_list, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # 559s # gboolean fdpassing_call_hello_fd_finish ( 559s # FDPassing *proxy, 559s # gchar **out_response, 559s # GUnixFDList **out_fd_list, 559s # GAsyncResult *res, 559s # GError **error); 559s # 559s # gboolean fdpassing_call_hello_fd_sync ( 559s # FDPassing *proxy, 559s # const gchar *arg_greeting, 559s # GUnixFDList *fd_list, 559s # gchar **out_response, 559s # GUnixFDList **out_fd_list, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # void fdpassing_call_no_annotation ( 559s # FDPassing *proxy, 559s # GVariant *arg_greeting, 559s # const gchar *arg_greeting_locale, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # 559s # gboolean fdpassing_call_no_annotation_finish ( 559s # FDPassing *proxy, 559s # GVariant **out_response, 559s # gchar **out_response_locale, 559s # GAsyncResult *res, 559s # GError **error); 559s # 559s # gboolean fdpassing_call_no_annotation_sync ( 559s # FDPassing *proxy, 559s # GVariant *arg_greeting, 559s # const gchar *arg_greeting_locale, 559s # GVariant **out_response, 559s # gchar **out_response_locale, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # void fdpassing_call_no_annotation_nested ( 559s # FDPassing *proxy, 559s # GVariant *arg_files, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # 559s # gboolean fdpassing_call_no_annotation_nested_finish ( 559s # FDPassing *proxy, 559s # GAsyncResult *res, 559s # GError **error); 559s # 559s # gboolean fdpassing_call_no_annotation_nested_sync ( 559s # FDPassing *proxy, 559s # GVariant *arg_files, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # 559s # 559s # /* ---- */ 559s # 559s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 559s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 559s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 559s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 559s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 559s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 559s # 559s # typedef struct _FDPassingProxy FDPassingProxy; 559s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 559s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 559s # 559s # struct _FDPassingProxy 559s # { 559s # /*< private >*/ 559s # GDBusProxy parent_instance; 559s # FDPassingProxyPrivate *priv; 559s # }; 559s # 559s # struct _FDPassingProxyClass 559s # { 559s # GDBusProxyClass parent_class; 559s # }; 559s # 559s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 559s # 559s # #if GLIB_CHECK_VERSION(2, 44, 0) 559s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 559s # #endif 559s # 559s # void fdpassing_proxy_new ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # FDPassing *fdpassing_proxy_new_finish ( 559s # GAsyncResult *res, 559s # GError **error); 559s # FDPassing *fdpassing_proxy_new_sync ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # void fdpassing_proxy_new_for_bus ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 559s # GAsyncResult *res, 559s # GError **error); 559s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # 559s # /* ---- */ 559s # 559s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 559s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 559s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 559s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 559s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 559s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 559s # 559s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 559s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 559s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 559s # 559s # struct _FDPassingSkeleton 559s # { 559s # /*< private >*/ 559s # GDBusInterfaceSkeleton parent_instance; 559s # FDPassingSkeletonPrivate *priv; 559s # }; 559s # 559s # struct _FDPassingSkeletonClass 559s # { 559s # GDBusInterfaceSkeletonClass parent_class; 559s # }; 559s # 559s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 559s # 559s # #if GLIB_CHECK_VERSION(2, 44, 0) 559s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 559s # #endif 559s # 559s # FDPassing *fdpassing_skeleton_new (void); 559s # 559s # 559s # G_END_DECLS 559s # 559s # #endif /* __STDOUT__ */ 559s # Error: 559s # 559s # /tmp/tmprt5st5si/tmptau7deaw.xml: 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprt5st5si/tmptau7deaw.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 559s # Return code: 0 559s # Output: 559s # /* 559s # * This file is generated by gdbus-codegen, do not modify it. 559s # * 559s # * The license of this code is the same as for the D-Bus interface description 559s # * it was derived from. Note that it links to GLib, so must comply with the 559s # * LGPL linking clauses. 559s # */ 559s # 559s # #ifndef __STDOUT__ 559s # #define __STDOUT__ 559s # 559s # #include 559s # 559s # G_BEGIN_DECLS 559s # 559s # 559s # /* ------------------------------------------------------------------------ */ 559s # /* Declarations for FDPassing */ 559s # 559s # #define TYPE_FDPASSING (fdpassing_get_type ()) 559s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 559s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 559s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 559s # 559s # struct _FDPassing; 559s # typedef struct _FDPassing FDPassing; 559s # typedef struct _FDPassingIface FDPassingIface; 559s # 559s # struct _FDPassingIface 559s # { 559s # GTypeInterface parent_iface; 559s # 559s # gboolean (*handle_hello_fd) ( 559s # FDPassing *object, 559s # GDBusMethodInvocation *invocation, 559s # GUnixFDList *fd_list, 559s # const gchar *arg_greeting); 559s # 559s # gboolean (*handle_no_annotation) ( 559s # FDPassing *object, 559s # GDBusMethodInvocation *invocation, 559s # GVariant *arg_greeting, 559s # const gchar *arg_greeting_locale); 559s # 559s # gboolean (*handle_no_annotation_nested) ( 559s # FDPassing *object, 559s # GDBusMethodInvocation *invocation, 559s # GVariant *arg_files); 559s # 559s # }; 559s # 559s # GType fdpassing_get_type (void) G_GNUC_CONST; 559s # 559s # GDBusInterfaceInfo *fdpassing_interface_info (void); 559s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 559s # 559s # 559s # /* D-Bus method call completion functions: */ 559s # void fdpassing_complete_hello_fd ( 559s # FDPassing *object, 559s # GDBusMethodInvocation *invocation, 559s # GUnixFDList *fd_list, 559s # const gchar *response); 559s # 559s # void fdpassing_complete_no_annotation ( 559s # FDPassing *object, 559s # GDBusMethodInvocation *invocation, 559s # GVariant *response, 559s # const gchar *response_locale); 559s # 559s # void fdpassing_complete_no_annotation_nested ( 559s # FDPassing *object, 559s # GDBusMethodInvocation *invocation); 559s # 559s # 559s # 559s # /* D-Bus method calls: */ 559s # void fdpassing_call_hello_fd ( 559s # FDPassing *proxy, 559s # const gchar *arg_greeting, 559s # GUnixFDList *fd_list, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # 559s # gboolean fdpassing_call_hello_fd_finish ( 559s # FDPassing *proxy, 559s # gchar **out_response, 559s # GUnixFDList **out_fd_list, 559s # GAsyncResult *res, 559s # GError **error); 559s # 559s # gboolean fdpassing_call_hello_fd_sync ( 559s # FDPassing *proxy, 559s # const gchar *arg_greeting, 559s # GUnixFDList *fd_list, 559s # gchar **out_response, 559s # GUnixFDList **out_fd_list, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # void fdpassing_call_no_annotation ( 559s # FDPassing *proxy, 559s # GVariant *arg_greeting, 559s # const gchar *arg_greeting_locale, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # 559s # gboolean fdpassing_call_no_annotation_finish ( 559s # FDPassing *proxy, 559s # GVariant **out_response, 559s # gchar **out_response_locale, 559s # GAsyncResult *res, 559s # GError **error); 559s # 559s # gboolean fdpassing_call_no_annotation_sync ( 559s # FDPassing *proxy, 559s # GVariant *arg_greeting, 559s # const gchar *arg_greeting_locale, 559s # GVariant **out_response, 559s # gchar **out_response_locale, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # void fdpassing_call_no_annotation_nested ( 559s # FDPassing *proxy, 559s # GVariant *arg_files, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # 559s # gboolean fdpassing_call_no_annotation_nested_finish ( 559s # FDPassing *proxy, 559s # GAsyncResult *res, 559s # GError **error); 559s # 559s # gboolean fdpassing_call_no_annotation_nested_sync ( 559s # FDPassing *proxy, 559s # GVariant *arg_files, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # 559s # 559s # /* ---- */ 559s # 559s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 559s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 559s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 559s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 559s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 559s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 559s # 559s # typedef struct _FDPassingProxy FDPassingProxy; 559s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 559s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 559s # 559s # struct _FDPassingProxy 559s # { 559s # /*< private >*/ 559s # GDBusProxy parent_instance; 559s # FDPassingProxyPrivate *priv; 559s # }; 559s # 559s # struct _FDPassingProxyClass 559s # { 559s # GDBusProxyClass parent_class; 559s # }; 559s # 559s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 559s # 559s # #if GLIB_CHECK_VERSION(2, 44, 0) 559s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 559s # #endif 559s # 559s # void fdpassing_proxy_new ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # FDPassing *fdpassing_proxy_new_finish ( 559s # GAsyncResult *res, 559s # GError **error); 559s # FDPassing *fdpassing_proxy_new_sync ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # void fdpassing_proxy_new_for_bus ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 559s # GAsyncResult *res, 559s # GError **error); 559s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # 559s # /* ---- */ 559s # 559s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 559s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 559s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 559s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 559s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 559s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 559s # 559s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 559s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 559s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 559s # 559s # struct _FDPassingSkeleton 559s # { 559s # /*< private >*/ 559s # GDBusInterfaceSkeleton parent_instance; 559s # FDPassingSkeletonPrivate *priv; 559s # }; 559s # 559s # struct _FDPassingSkeletonClass 559s # { 559s # GDBusInterfaceSkeletonClass parent_class; 559s # }; 559s # 559s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 559s # 559s # #if GLIB_CHECK_VERSION(2, 44, 0) 559s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 559s # #endif 559s # 559s # FDPassing *fdpassing_skeleton_new (void); 559s # 559s # 559s # G_END_DECLS 559s # 559s # #endif /* __STDOUT__ */ 559s # Error: 559s # 559s # /tmp/tmprt5st5si/tmp3ciryif8.xml: 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # 559s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprt5st5si/tmp3ciryif8.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 559s # Return code: 0 559s # Output: 559s # /* 559s # * This file is generated by gdbus-codegen, do not modify it. 559s # * 559s # * The license of this code is the same as for the D-Bus interface description 559s # * it was derived from. Note that it links to GLib, so must comply with the 559s # * LGPL linking clauses. 559s # */ 559s # 559s # #ifndef __STDOUT__ 559s # #define __STDOUT__ 559s # 559s # #include 559s # 559s # G_BEGIN_DECLS 559s # 559s # 559s # /* ------------------------------------------------------------------------ */ 559s # /* Declarations for FDPassing */ 559s # 559s # #define TYPE_FDPASSING (fdpassing_get_type ()) 559s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 559s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 559s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 559s # 559s # struct _FDPassing; 559s # typedef struct _FDPassing FDPassing; 559s # typedef struct _FDPassingIface FDPassingIface; 559s # 559s # struct _FDPassingIface 559s # { 559s # GTypeInterface parent_iface; 559s # 559s # gboolean (*handle_hello_fd) ( 559s # FDPassing *object, 559s # GDBusMethodInvocation *invocation, 559s # GUnixFDList *fd_list, 559s # const gchar *arg_greeting); 559s # 559s # gboolean (*handle_no_annotation) ( 559s # FDPassing *object, 559s # GDBusMethodInvocation *invocation, 559s # GUnixFDList *fd_list, 559s # GVariant *arg_greeting, 559s # const gchar *arg_greeting_locale); 559s # 559s # gboolean (*handle_no_annotation_nested) ( 559s # FDPassing *object, 559s # GDBusMethodInvocation *invocation, 559s # GUnixFDList *fd_list, 559s # GVariant *arg_files); 559s # 559s # }; 559s # 559s # GType fdpassing_get_type (void) G_GNUC_CONST; 559s # 559s # GDBusInterfaceInfo *fdpassing_interface_info (void); 559s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 559s # 559s # 559s # /* D-Bus method call completion functions: */ 559s # void fdpassing_complete_hello_fd ( 559s # FDPassing *object, 559s # GDBusMethodInvocation *invocation, 559s # GUnixFDList *fd_list, 559s # const gchar *response); 559s # 559s # void fdpassing_complete_no_annotation ( 559s # FDPassing *object, 559s # GDBusMethodInvocation *invocation, 559s # GUnixFDList *fd_list, 559s # GVariant *response, 559s # const gchar *response_locale); 559s # 559s # void fdpassing_complete_no_annotation_nested ( 559s # FDPassing *object, 559s # GDBusMethodInvocation *invocation, 559s # GUnixFDList *fd_list); 559s # 559s # 559s # 559s # /* D-Bus method calls: */ 559s # void fdpassing_call_hello_fd ( 559s # FDPassing *proxy, 559s # const gchar *arg_greeting, 559s # GDBusCallFlags call_flags, 559s # gint timeout_msec, 559s # GUnixFDList *fd_list, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # 559s # gboolean fdpassing_call_hello_fd_finish ( 559s # FDPassing *proxy, 559s # gchar **out_response, 559s # GUnixFDList **out_fd_list, 559s # GAsyncResult *res, 559s # GError **error); 559s # 559s # gboolean fdpassing_call_hello_fd_sync ( 559s # FDPassing *proxy, 559s # const gchar *arg_greeting, 559s # GDBusCallFlags call_flags, 559s # gint timeout_msec, 559s # GUnixFDList *fd_list, 559s # gchar **out_response, 559s # GUnixFDList **out_fd_list, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # void fdpassing_call_no_annotation ( 559s # FDPassing *proxy, 559s # GVariant *arg_greeting, 559s # const gchar *arg_greeting_locale, 559s # GDBusCallFlags call_flags, 559s # gint timeout_msec, 559s # GUnixFDList *fd_list, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # 559s # gboolean fdpassing_call_no_annotation_finish ( 559s # FDPassing *proxy, 559s # GVariant **out_response, 559s # gchar **out_response_locale, 559s # GUnixFDList **out_fd_list, 559s # GAsyncResult *res, 559s # GError **error); 559s # 559s # gboolean fdpassing_call_no_annotation_sync ( 559s # FDPassing *proxy, 559s # GVariant *arg_greeting, 559s # const gchar *arg_greeting_locale, 559s # GDBusCallFlags call_flags, 559s # gint timeout_msec, 559s # GUnixFDList *fd_list, 559s # GVariant **out_response, 559s # gchar **out_response_locale, 559s # GUnixFDList **out_fd_list, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # void fdpassing_call_no_annotation_nested ( 559s # FDPassing *proxy, 559s # GVariant *arg_files, 559s # GDBusCallFlags call_flags, 559s # gint timeout_msec, 559s # GUnixFDList *fd_list, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # 559s # gboolean fdpassing_call_no_annotation_nested_finish ( 559s # FDPassing *proxy, 559s # GUnixFDList **out_fd_list, 559s # GAsyncResult *res, 559s # GError **error); 559s # 559s # gboolean fdpassing_call_no_annotation_nested_sync ( 559s # FDPassing *proxy, 559s # GVariant *arg_files, 559s # GDBusCallFlags call_flags, 559s # gint timeout_msec, 559s # GUnixFDList *fd_list, 559s # GUnixFDList **out_fd_list, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # 559s # 559s # /* ---- */ 559s # 559s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 559s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 559s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 559s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 559s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 559s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 559s # 559s # typedef struct _FDPassingProxy FDPassingProxy; 559s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 559s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 559s # 559s # struct _FDPassingProxy 559s # { 559s # /*< private >*/ 559s # GDBusProxy parent_instance; 559s # FDPassingProxyPrivate *priv; 559s # }; 559s # 559s # struct _FDPassingProxyClass 559s # { 559s # GDBusProxyClass parent_class; 559s # }; 559s # 559s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 559s # 559s # #if GLIB_CHECK_VERSION(2, 44, 0) 559s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 559s # #endif 559s # 559s # void fdpassing_proxy_new ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # FDPassing *fdpassing_proxy_new_finish ( 559s # GAsyncResult *res, 559s # GError **error); 559s # FDPassing *fdpassing_proxy_new_sync ( 559s # GDBusConnection *connection, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # void fdpassing_proxy_new_for_bus ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GAsyncReadyCallback callback, 559s # gpointer user_data); 559s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 559s # GAsyncResult *res, 559s # GError **error); 559s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 559s # GBusType bus_type, 559s # GDBusProxyFlags flags, 559s # const gchar *name, 559s # const gchar *object_path, 559s # GCancellable *cancellable, 559s # GError **error); 559s # 559s # 559s # /* ---- */ 559s # 559s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 559s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 559s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 559s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 559s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 559s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 559s # 559s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 559s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 559s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 559s # 559s # struct _FDPassingSkeleton 559s # { 559s # /*< private >*/ 559s # GDBusInterfaceSkeleton parent_instance; 559s # FDPassingSkeletonPrivate *priv; 559s # }; 559s # 559s # struct _FDPassingSkeletonClass 559s # { 559s # GDBusInterfaceSkeletonClass parent_class; 559s # }; 559s # 559s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 559s # 559s # #if GLIB_CHECK_VERSION(2, 44, 0) 559s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 559s # #endif 559s # 559s # FDPassing *fdpassing_skeleton_new (void); 559s # 559s # 559s # G_END_DECLS 559s # 559s # #endif /* __STDOUT__ */ 559s # Error: 559s 1..39 559s ok - glib/codegen.py.test 559s # Running test: glib/module-test-library.test 559s TAP version 14 559s # random seed: R02Sc4c057505346a6736712d64f1efa6f22 559s 1..3 559s # Start of module tests 559s ok 1 /module/basics 559s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 559s ok 2 /module/invalid-libtool-archive 559s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 559s ok 3 /module/local-binding 559s # End of module tests 559s ok - glib/module-test-library.test 559s # Running test: glib/string.test 559s TAP version 14 559s # random seed: R02Sc99e698420cdfbf63fb14d74b33da2e1 559s 1..25 559s # Start of string tests 559s ok 1 /string/chunks 559s ok 2 /string/chunk-insert 559s ok 3 /string/new 559s ok 4 /string/printf 559s ok 5 /string/assign 559s ok 6 /string/append-c 559s ok 7 /string/append 559s ok 8 /string/append-vprintf 559s ok 9 /string/prepend-c 559s ok 10 /string/prepend 559s ok 11 /string/insert 559s ok 12 /string/insert-unichar 559s ok 13 /string/equal 559s ok 14 /string/truncate 559s ok 15 /string/overwrite 559s ok 16 /string/nul-handling 559s ok 17 /string/up-down 559s ok 18 /string/set-size 559s ok 19 /string/to-bytes 559s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 559s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 559s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 559s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 559s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 559s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 559s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 559s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 559s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 559s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 559s # 5: Replacing "o" with "" (limit 0) in "food for foals" 559s # -> 4 replacements, "fd fr fals" 559s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 559s # -> 3 replacements, "aaaaaaaaa" 559s # 7: Replacing "a" with "" (limit 0) in "aaa" 559s # -> 3 replacements, "" 559s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 559s # -> 1 replacements, "bba" 559s # 9: Replacing "" with "bar" (limit 0) in "foo" 559s # -> 4 replacements, "barfbarobarobar" 559s # 10: Replacing "" with "bar" (limit 1) in "foo" 559s # -> 1 replacements, "barfoo" 559s # 11: Replacing "" with "bar" (limit 2) in "foo" 559s # -> 2 replacements, "barfbaroo" 559s # 12: Replacing "" with "bar" (limit 3) in "foo" 559s # -> 3 replacements, "barfbarobaro" 559s # 13: Replacing "" with "bar" (limit 4) in "foo" 559s # -> 4 replacements, "barfbarobarobar" 559s # 14: Replacing "" with "bar" (limit 5) in "foo" 559s # -> 4 replacements, "barfbarobarobar" 559s # 15: Replacing "" with "x" (limit 0) in "" 559s # -> 1 replacements, "x" 559s # 16: Replacing "" with "" (limit 0) in "" 559s # -> 1 replacements, "" 559s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 559s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 559s ok 20 /string/replace 559s ok 21 /string/steal 559s ok 22 /string/new-take 559s ok 23 /string/copy 559s ok 24 /string/sized-new 559s # Start of new-take tests 559s ok 25 /string/new-take/null 559s # End of new-take tests 559s # End of string tests 559s ok - glib/string.test 559s # Running test: glib/callable-info.test 559s TAP version 14 559s # random seed: R02Sa8eeebcb85d9e10d9be63f2d6b443386 559s 1..6 559s # Start of callable-info tests 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_ZC92J3/callable-info/sync-function/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_ZC92J3/callable-info/sync-function/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_ZC92J3/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_ZC92J3/callable-info/sync-function/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_ZC92J3/callable-info/sync-function/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_ZC92J3/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_ZC92J3/callable-info/sync-function/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_ZC92J3/callable-info/sync-function/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_ZC92J3/callable-info/sync-function/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_ZC92J3/callable-info/sync-function/.dirs/runtime 559s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 559s ok 1 /callable-info/sync-function 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_ZC92J3/callable-info/async-function/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_ZC92J3/callable-info/async-function/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_ZC92J3/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_ZC92J3/callable-info/async-function/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_ZC92J3/callable-info/async-function/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_ZC92J3/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_ZC92J3/callable-info/async-function/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_ZC92J3/callable-info/async-function/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_ZC92J3/callable-info/async-function/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_ZC92J3/callable-info/async-function/.dirs/runtime 559s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 559s ok 2 /callable-info/async-function 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_ZC92J3/callable-info/is-method/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_ZC92J3/callable-info/is-method/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_ZC92J3/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_ZC92J3/callable-info/is-method/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_ZC92J3/callable-info/is-method/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_ZC92J3/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_ZC92J3/callable-info/is-method/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_ZC92J3/callable-info/is-method/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_ZC92J3/callable-info/is-method/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_ZC92J3/callable-info/is-method/.dirs/runtime 559s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 559s ok 3 /callable-info/is-method 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_ZC92J3/callable-info/static-method/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_ZC92J3/callable-info/static-method/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_ZC92J3/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_ZC92J3/callable-info/static-method/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_ZC92J3/callable-info/static-method/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_ZC92J3/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_ZC92J3/callable-info/static-method/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_ZC92J3/callable-info/static-method/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_ZC92J3/callable-info/static-method/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_ZC92J3/callable-info/static-method/.dirs/runtime 559s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 559s ok 4 /callable-info/static-method 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_ZC92J3/callable-info/static-vfunc/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_ZC92J3/callable-info/static-vfunc/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_ZC92J3/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_ZC92J3/callable-info/static-vfunc/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_ZC92J3/callable-info/static-vfunc/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_ZC92J3/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_ZC92J3/callable-info/static-vfunc/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_ZC92J3/callable-info/static-vfunc/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_ZC92J3/callable-info/static-vfunc/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_ZC92J3/callable-info/static-vfunc/.dirs/runtime 559s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 559s ok - glib/callable-info.test 559s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 559s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 559s # Start of platform tests 559s # Start of unix tests 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_ZC92J3/callable-info/platform/unix/is-method/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_ZC92J3/callable-info/platform/unix/is-method/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_ZC92J3/callable-info/platform/unix/is-method/.dirs/system-config1:/tmp/test_callable-info_ZC92J3/callable-info/platform/unix/is-method/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_ZC92J3/callable-info/platform/unix/is-method/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_ZC92J3/callable-info/platform/unix/is-method/.dirs/system-data1:/tmp/test_callable-info_ZC92J3/callable-info/platform/unix/is-method/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_ZC92J3/callable-info/platform/unix/is-method/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_ZC92J3/callable-info/platform/unix/is-method/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_ZC92J3/callable-info/platform/unix/is-method/.dirs/runtime 559s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 559s # Checking DesktopAppInfo in Gio 559s # Checking DesktopAppInfo in GioUnix 559s ok 6 /callable-info/platform/unix/is-method 559s # End of unix tests 559s # End of platform tests 559s # End of callable-info tests 559s # Running test: glib/deftype.test 559s ok - glib/deftype.test 559s # Running test: glib/power-profile-monitor-dbus.test 559s TAP version 13 559s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 559s 1..1 559s ok - glib/power-profile-monitor-dbus.test 559s # Running test: glib/portal-support-flatpak-none.test 559s TAP version 14 559s # random seed: R02S415c9ebe54fa596cf97039031c0dc8f2 559s 1..1 559s # Start of portal-support tests 559s # Start of flatpak tests 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_0QQPJ3/portal-support/flatpak/none/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_0QQPJ3/portal-support/flatpak/none/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_0QQPJ3/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_0QQPJ3/portal-support/flatpak/none/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_0QQPJ3/portal-support/flatpak/none/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_0QQPJ3/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_0QQPJ3/portal-support/flatpak/none/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_0QQPJ3/portal-support/flatpak/none/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_0QQPJ3/portal-support/flatpak/none/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_0QQPJ3/portal-support/flatpak/none/.dirs/runtime 559s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_0QQPJ3/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 559s ok 1 /portal-support/flatpak/none 559s # End of flatpak tests 559s # End of portal-support tests 559s ok - glib/portal-support-flatpak-none.test 559s # Running test: glib/object.test 559s ok - glib/object.test 559s TAP version 14 559s # random seed: R02S1b31a0803d110a39534d9cbc587cc205 559s 1..2 559s # Start of object tests 559s # Start of constructor tests 559s ok 1 /object/constructor/singleton 559s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 559s # End of constructor tests 559s # End of object tests 559s # Running test: glib/timeout.test 559s TAP version 14 559s # random seed: R02S493cc05ec1244ae948153b6d6fa62b33 559s 1..5 559s # Start of timeout tests 559s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 561s # Executing: glib/timeout.test 561s ok 1 /timeout/seconds 561s # slow test /timeout/seconds executed in 2.10 secs 563s ok 2 /timeout/seconds-once 563s # slow test /timeout/seconds-once executed in 2.10 secs 563s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 565s ok 3 /timeout/weeks-overflow 565s # slow test /timeout/weeks-overflow executed in 2.10 secs 565s ok 4 /timeout/far-future-ready-time 566s # Executing: glib/timeout.test 571s # Executing: glib/timeout.test 575s ok - glib/timeout.test 575s ok 5 /timeout/rounding 575s # slow test /timeout/rounding executed in 9.88 secs 575s # End of timeout tests 575s # Running test: glib/gvariant.test 575s TAP version 14 575s # random seed: R02S9e2649c39aa0d618a64f414a04648a5a 575s 1..69 575s # Start of gvariant tests 575s ok 1 /gvariant/type 576s ok 2 /gvariant/typeinfo 576s ok 3 /gvariant/string 576s ok 4 /gvariant/utf8 576s ok 5 /gvariant/utf8-new-strings 576s # Executing: glib/gvariant.test 578s ok 6 /gvariant/containers 578s # slow test /gvariant/containers executed in 1.60 secs 578s ok 7 /gvariant/format-strings 578s ok 8 /gvariant/invalid-varargs 578s ok 9 /gvariant/varargs 578s ok 10 /gvariant/valist 578s ok 11 /gvariant/builder-memory 578s ok 12 /gvariant/hashing 578s ok 13 /gvariant/byteswap 579s ok 14 /gvariant/parser 579s # slow test /gvariant/parser executed in 1.06 secs 579s ok 15 /gvariant/parse-failures 579s ok 16 /gvariant/parse-positional 579s ok 17 /gvariant/floating 579s ok 18 /gvariant/bytestring 579s ok 19 /gvariant/lookup-value 579s ok 20 /gvariant/lookup 579s ok 21 /gvariant/compare 579s ok 22 /gvariant/equal 579s ok 23 /gvariant/fixed-array 579s ok 24 /gvariant/check-format-string 579s ok 25 /gvariant/checksum-basic 579s ok 26 /gvariant/checksum-nested 579s ok 27 /gvariant/gbytes 579s ok 28 /gvariant/print-context 579s ok 29 /gvariant/error-quark 579s ok 30 /gvariant/stack-builder-init 579s ok 31 /gvariant/stack-builder-init-static 579s ok 32 /gvariant/stack-builder-init-unset 579s ok 33 /gvariant/stack-dict-init 579s ok 34 /gvariant/unaligned-construction 579s # Start of type tests 579s # Start of string-scan tests 579s # Start of recursion tests 579s ok 35 /gvariant/type/string-scan/recursion/tuple 579s ok 36 /gvariant/type/string-scan/recursion/array 579s # End of recursion tests 579s # End of string-scan tests 579s # End of type tests 579s # Start of serialiser tests 579s ok 37 /gvariant/serialiser/maybe 579s ok 38 /gvariant/serialiser/array 579s ok 39 /gvariant/serialiser/tuple 579s ok 40 /gvariant/serialiser/variant 579s ok 41 /gvariant/serialiser/strings 580s ok 42 /gvariant/serialiser/byteswap 580s # slow test /gvariant/serialiser/byteswap executed in 0.81 secs 580s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 580s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 580s ok 43 /gvariant/serialiser/children 580s # Start of byteswap tests 580s ok 44 /gvariant/serialiser/byteswap/zero-sized 580s # End of byteswap tests 580s # Start of fuzz tests 581s ok 45 /gvariant/serialiser/fuzz/1% 581s # slow test /gvariant/serialiser/fuzz/1% executed in 1.01 secs 581s ok 46 /gvariant/serialiser/fuzz/5% 581s # Executing: glib/gvariant.test 582s ok 47 /gvariant/serialiser/fuzz/9% 582s # slow test /gvariant/serialiser/fuzz/9% executed in 1.03 secs 582s ok 48 /gvariant/serialiser/fuzz/13% 583s ok 49 /gvariant/serialiser/fuzz/17% 583s # slow test /gvariant/serialiser/fuzz/17% executed in 0.75 secs 583s # End of fuzz tests 583s # End of serialiser tests 583s # Start of utf8 tests 583s # Start of subprocess tests 583s # End of subprocess tests 583s # End of utf8 tests 583s # Start of varargs tests 583s # Start of subprocess tests 583s # End of subprocess tests 583s # End of varargs tests 583s # Start of byteswap tests 583s # /gvariant/byteswap/non-normal-non-aligned summary: Test that calling g_variant_byteswap() on a variant which is in non-normal form and doesn’t need byteswapping returns the same variant in normal form. 583s ok 50 /gvariant/byteswap/non-normal-non-aligned 583s # End of byteswap tests 583s # Start of parser tests 583s ok 51 /gvariant/parser/integer-bounds 583s ok 52 /gvariant/parser/recursion 583s # Start of recursion tests 583s ok 53 /gvariant/parser/recursion/typedecls 583s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 583s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 583s # Text form 0: @mmmu 5 583s # Text form 1: @mmmas ['hello'] 583s # Text form 2: @mmmu just just nothing 583s # Text form 3: @mmmas just just nothing 583s # Text form 4: @mmmu just nothing 583s # Text form 5: @mmmas just nothing 583s # Text form 6: @mmmu nothing 583s # Text form 7: @mmmas nothing 583s ok 54 /gvariant/parser/recursion/maybes 583s # End of recursion tests 583s # End of parser tests 583s # Start of parse tests 583s # Start of subprocess tests 583s # End of subprocess tests 583s # End of parse tests 583s # Start of normal-checking tests 583s ok 55 /gvariant/normal-checking/tuples 583s ok 56 /gvariant/normal-checking/array-offsets 583s ok 57 /gvariant/normal-checking/array-offsets2 583s ok 58 /gvariant/normal-checking/tuple-offsets 583s ok 59 /gvariant/normal-checking/tuple-offsets2 583s ok 60 /gvariant/normal-checking/tuple-offsets3 583s ok 61 /gvariant/normal-checking/tuple-offsets4 583s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 583s ok 62 /gvariant/normal-checking/tuple-offsets5 583s ok 63 /gvariant/normal-checking/empty-object-path 583s # Start of array-offsets tests 583s ok 64 /gvariant/normal-checking/array-offsets/overlapped 583s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized 583s # End of array-offsets tests 583s # Start of tuple-offsets tests 583s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized 583s # End of tuple-offsets tests 583s # End of normal-checking tests 583s # Start of recursion-limits tests 583s ok 67 /gvariant/recursion-limits/variant-in-variant 583s ok 68 /gvariant/recursion-limits/array-in-variant 583s # End of recursion-limits tests 583s # End of gvariant tests 583s # Start of gvarianttype tests 583s ok 69 /gvarianttype/hash 583s # End of gvarianttype tests 583s TAP version 14 583s # random seed: R02S779f2e1ff661b774821843ec83b8ee7f 583s 1..61 583s # Start of option tests 583s ok 1 /option/basic 583s ok 2 /option/translate 583s ok 3 /option/strict-posix 583s # Testing command: program --double abc 583s # Testing command: program --double 2e309 583s # Testing command: program --int abc 583s # Testing command: program --int 99999999999999999999999999999999999 583s # Testing command: program --int64 abc 583s # Testing command: program --int64 99999999999999999999999999999999999 583s ok 4 /option/parsing-errors 583s # Start of help tests 583s ok 5 /option/help/options 583s ok 6 /option/help/no-options 583s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 583s ok 7 /option/help/no-help-options 583s # Usage: 583s # /usr/libexec/installed-tests/glib/option-context [OPTION…] blabla 583s # 583s # Summary 583s # 583s # Help Options: 583s # -h, --help Show help options 583s # 583s # Application Options: 583s # -t, --test=Argument to use in test (deprecated) Test tests 583s # --test2 Tests also 583s # 583s # Description 583s # 583s ok 8 /option/help/deprecated 583s ok 9 /option/help/main-get_help-format 583s ok 10 /option/help/group-get_help-format 583s # End of help tests 583s # Start of group tests 583s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 583s ok - glib/gvariant.test 583s # Running test: glib/option-context.test 583s ok - glib/option-context.test 583s # Running test: glib/basic-signals.test 583s ok - glib/basic-signals.test 583s # Running test: glib/include.test 583s ok - glib/include.test 583s # Running test: glib/io-channel-basic.test 583s ok 11 /option/group/captions 583s ok 12 /option/group/main 583s ok 13 /option/group/error-hook 583s ok 14 /option/group/parse 583s # Start of captions tests 583s # Start of subprocess tests 583s # End of subprocess tests 583s # End of captions tests 583s # End of group tests 583s # Start of restoration tests 583s ok 15 /option/restoration/int 583s ok 16 /option/restoration/string 583s ok 17 /option/restoration/boolean 583s # End of restoration tests 583s # Start of arg tests 583s ok 18 /option/arg/reverse-string 583s ok 19 /option/arg/optional-int 583s # Start of repetition tests 583s ok 20 /option/arg/repetition/int 583s ok 21 /option/arg/repetition/string 583s ok 22 /option/arg/repetition/filename 583s ok 23 /option/arg/repetition/double 583s ok 24 /option/arg/repetition/locale 583s ok 25 /option/arg/repetition/int64 583s # End of repetition tests 583s # Start of array tests 583s ok 26 /option/arg/array/string 583s # End of array tests 583s # Start of callback tests 583s ok 27 /option/arg/callback/string 583s ok 28 /option/arg/callback/count 583s ok 29 /option/arg/callback/optional1 583s ok 30 /option/arg/callback/optional2 583s ok 31 /option/arg/callback/optional3 583s ok 32 /option/arg/callback/optional4 583s ok 33 /option/arg/callback/optional5 583s ok 34 /option/arg/callback/optional6 583s ok 35 /option/arg/callback/optional7 583s ok 36 /option/arg/callback/optional8 583s # End of callback tests 583s # Start of remaining tests 583s ok 37 /option/arg/remaining/callback 583s ok 38 /option/arg/remaining/callback-false 583s ok 39 /option/arg/remaining/non-option 583s ok 40 /option/arg/remaining/separator 583s ok 41 /option/arg/remaining/array 583s # End of remaining tests 583s # Start of ignore tests 583s ok 42 /option/arg/ignore/long 583s ok 43 /option/arg/ignore/short 583s ok 44 /option/arg/ignore/arg 583s # End of ignore tests 583s # Start of rest tests 583s ok 45 /option/arg/rest/non-option 583s ok 46 /option/arg/rest/separator1 583s ok 47 /option/arg/rest/separator2 583s ok 48 /option/arg/rest/separator3 583s ok 49 /option/arg/rest/separator4 583s ok 50 /option/arg/rest/separator5 583s # End of rest tests 583s # End of arg tests 583s # Start of context tests 583s ok 51 /option/context/add 583s ok 52 /option/context/empty2 583s ok 53 /option/context/empty3 583s # End of context tests 583s # Start of bug tests 583s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 583s ok 54 /option/bug/unknown-short 583s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 583s ok 55 /option/bug/lonely-dash 583s ok 56 /option/bug/triple-dash 583s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 583s ok 57 /option/bug/missing-arg 583s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 583s ok 58 /option/bug/dash-arg 583s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 583s ok 59 /option/bug/short-remaining 583s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 583s ok 60 /option/bug/double-free 583s ok 61 /option/bug/double-zero 583s # End of bug tests 583s # End of option tests 583s TAP version 14 583s # random seed: R02S3353c444f840d3f33e314e42db622ee6 583s 1..1 583s # Start of gobject tests 583s ok 1 /gobject/basic-signals 583s # End of gobject tests 583s TAP version 14 583s # random seed: R02Sa723495a0c88417777124b1ff5c180d8 583s 1..1 583s # Start of include tests 583s ok 1 /include/rwlock 583s # End of include tests 583s TAP version 14 583s # random seed: R02Sd62e0d116001ef937f8e5c48b7c282c2 583s 1..1 583s # Start of gio tests 583s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 583s # random seed: R02S9d9d1669e2339d698b11827dfa642cf0 583s # GLib-DEBUG: io-channel-basic: child writing 8+1958 bytes to 6 583s # GLib-DEBUG: io-channel-basic: ...from 5: IN 583s # GLib-DEBUG: io-channel-basic: ...from 5: 1958 bytes 583s # GLib-DEBUG: io-channel-basic: ...from 5: OK 584s # GLib-DEBUG: io-channel-basic: child writing 8+2700 bytes to 6 584s # GLib-DEBUG: io-channel-basic: ...from 5: IN 584s # GLib-DEBUG: io-channel-basic: ...from 5: 2700 bytes 584s # GLib-DEBUG: io-channel-basic: ...from 5: OK 584s # GLib-DEBUG: io-channel-basic: child writing 8+139 bytes to 6 584s # GLib-DEBUG: io-channel-basic: ...from 5: IN 584s # GLib-DEBUG: io-channel-basic: ...from 5: 139 bytes 584s # GLib-DEBUG: io-channel-basic: ...from 5: OK 584s # GLib-DEBUG: io-channel-basic: child writing 8+2542 bytes to 6 584s # GLib-DEBUG: io-channel-basic: ...from 5: IN 584s # GLib-DEBUG: io-channel-basic: ...from 5: 2542 bytes 584s # GLib-DEBUG: io-channel-basic: ...from 5: OK 584s # GLib-DEBUG: io-channel-basic: child writing 8+3034 bytes to 6 584s # GLib-DEBUG: io-channel-basic: ...from 5: IN 584s # GLib-DEBUG: io-channel-basic: ...from 5: 3034 bytes 584s # GLib-DEBUG: io-channel-basic: ...from 5: OK 585s # GLib-DEBUG: io-channel-basic: child writing 8+2454 bytes to 6 585s # GLib-DEBUG: io-channel-basic: ...from 5: IN 585s # GLib-DEBUG: io-channel-basic: ...from 5: 2454 bytes 585s # GLib-DEBUG: io-channel-basic: ...from 5: OK 585s # GLib-DEBUG: io-channel-basic: child writing 8+792 bytes to 6 585s # GLib-DEBUG: io-channel-basic: ...from 5: IN 585s # GLib-DEBUG: io-channel-basic: ...from 5: 792 bytes 585s # GLib-DEBUG: io-channel-basic: ...from 5: OK 585s # GLib-DEBUG: io-channel-basic: child writing 8+1893 bytes to 6 585s # GLib-DEBUG: io-channel-basic: ...from 5: IN 585s # GLib-DEBUG: io-channel-basic: ...from 5: 1893 bytes 585s # GLib-DEBUG: io-channel-basic: ...from 5: OK 586s # GLib-DEBUG: io-channel-basic: child writing 8+3243 bytes to 6 586s # GLib-DEBUG: io-channel-basic: ...from 5: IN 586s # GLib-DEBUG: io-channel-basic: ...from 5: 3243 bytes 586s # GLib-DEBUG: io-channel-basic: ...from 5: OK 586s # GLib-DEBUG: io-channel-basic: child writing 8+2206 bytes to 6 586s # GLib-DEBUG: io-channel-basic: ...from 5: IN 586s # GLib-DEBUG: io-channel-basic: ...from 5: 2206 bytes 586s # GLib-DEBUG: io-channel-basic: ...from 5: OK 586s # GLib-DEBUG: io-channel-basic: child writing 8+4023 bytes to 6 586s # GLib-DEBUG: io-channel-basic: ...from 5: IN 586s # GLib-DEBUG: io-channel-basic: ...from 5: 4023 bytes 586s # GLib-DEBUG: io-channel-basic: ...from 5: OK 586s # Executing: glib/io-channel-basic.test 586s # GLib-DEBUG: io-channel-basic: child writing 8+4994 bytes to 6 586s # GLib-DEBUG: io-channel-basic: ...from 5: IN 586s # GLib-DEBUG: io-channel-basic: ...from 5: 4994 bytes 586s # GLib-DEBUG: io-channel-basic: ...from 5: OK 587s # GLib-DEBUG: io-channel-basic: child writing 8+3715 bytes to 6 587s # GLib-DEBUG: io-channel-basic: ...from 5: IN 587s # GLib-DEBUG: io-channel-basic: ...from 5: 3715 bytes 587s # GLib-DEBUG: io-channel-basic: ...from 5: OK 587s # GLib-DEBUG: io-channel-basic: child writing 8+2265 bytes to 6 587s # GLib-DEBUG: io-channel-basic: ...from 5: IN 587s # GLib-DEBUG: io-channel-basic: ...from 5: 2265 bytes 587s # GLib-DEBUG: io-channel-basic: ...from 5: OK 587s # GLib-DEBUG: io-channel-basic: child writing 8+4976 bytes to 6 587s # GLib-DEBUG: io-channel-basic: ...from 5: IN 587s # GLib-DEBUG: io-channel-basic: ...from 5: 4976 bytes 587s # GLib-DEBUG: io-channel-basic: ...from 5: OK 587s # GLib-DEBUG: io-channel-basic: child writing 8+3494 bytes to 6 587s # GLib-DEBUG: io-channel-basic: ...from 5: IN 587s # GLib-DEBUG: io-channel-basic: ...from 5: 3494 bytes 587s # GLib-DEBUG: io-channel-basic: ...from 5: OK 588s # GLib-DEBUG: io-channel-basic: child writing 8+2292 bytes to 6 588s # GLib-DEBUG: io-channel-basic: ...from 5: IN 588s # GLib-DEBUG: io-channel-basic: ...from 5: 2292 bytes 588s # GLib-DEBUG: io-channel-basic: ...from 5: OK 588s # GLib-DEBUG: io-channel-basic: child writing 8+2159 bytes to 6 588s # GLib-DEBUG: io-channel-basic: ...from 5: IN 588s # GLib-DEBUG: io-channel-basic: ...from 5: 2159 bytes 588s # GLib-DEBUG: io-channel-basic: ...from 5: OK 588s # GLib-DEBUG: io-channel-basic: child writing 8+254 bytes to 6 588s # GLib-DEBUG: io-channel-basic: ...from 5: IN 588s # GLib-DEBUG: io-channel-basic: ...from 5: 254 bytes 588s # GLib-DEBUG: io-channel-basic: ...from 5: OK 588s # GLib-DEBUG: io-channel-basic: child writing 8+1842 bytes to 6 588s # GLib-DEBUG: io-channel-basic: ...from 5: IN 588s # GLib-DEBUG: io-channel-basic: ...from 5: 1842 bytes 588s # GLib-DEBUG: io-channel-basic: ...from 5: OK 589s # GLib-DEBUG: io-channel-basic: child writing 8+1549 bytes to 6 589s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 589s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 589s # GLib-DEBUG: io-channel-basic: ...from 5: 1549 bytes 589s # GLib-DEBUG: io-channel-basic: ...from 5: OK 589s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 589s # random seed: R02S0e5235de6bc2abb544679633a3325990 589s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 589s # random seed: R02Sfc4846515b6d562be001fd4f2ea5d969 589s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 589s # random seed: R02S533a526550c7e7dae661a6d6ef64f964 589s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 589s # random seed: R02Sb00184ef7712301c1eec00d408181ab2 589s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 589s # random seed: R02Saab25b9937615b9304c36ee1a90a3025 589s # GLib-DEBUG: io-channel-basic: child writing 8+362 bytes to 11 589s # GLib-DEBUG: io-channel-basic: ...from 10: IN 589s # GLib-DEBUG: io-channel-basic: ...from 10: 362 bytes 589s # GLib-DEBUG: io-channel-basic: ...from 10: OK 589s # GLib-DEBUG: io-channel-basic: child writing 8+563 bytes to 9 589s # GLib-DEBUG: io-channel-basic: ...from 8: IN 589s # GLib-DEBUG: io-channel-basic: ...from 8: 563 bytes 589s # GLib-DEBUG: io-channel-basic: ...from 8: OK 589s # GLib-DEBUG: io-channel-basic: child writing 8+1249 bytes to 15 589s # GLib-DEBUG: io-channel-basic: ...from 14: IN 589s # GLib-DEBUG: io-channel-basic: ...from 14: 1249 bytes 589s # GLib-DEBUG: io-channel-basic: ...from 14: OK 589s # GLib-DEBUG: io-channel-basic: child writing 8+4528 bytes to 13 589s # GLib-DEBUG: io-channel-basic: ...from 12: IN 589s # GLib-DEBUG: io-channel-basic: ...from 12: 4528 bytes 589s # GLib-DEBUG: io-channel-basic: ...from 12: OK 589s # GLib-DEBUG: io-channel-basic: child writing 8+3330 bytes to 17 589s # GLib-DEBUG: io-channel-basic: ...from 16: IN 589s # GLib-DEBUG: io-channel-basic: ...from 16: 3330 bytes 589s # GLib-DEBUG: io-channel-basic: ...from 16: OK 589s # GLib-DEBUG: io-channel-basic: child writing 8+2995 bytes to 11 589s # GLib-DEBUG: io-channel-basic: ...from 10: IN 589s # GLib-DEBUG: io-channel-basic: ...from 10: 2995 bytes 589s # GLib-DEBUG: io-channel-basic: ...from 10: OK 589s # GLib-DEBUG: io-channel-basic: child writing 8+2379 bytes to 17 589s # GLib-DEBUG: io-channel-basic: ...from 16: IN 589s # GLib-DEBUG: io-channel-basic: ...from 16: 2379 bytes 589s # GLib-DEBUG: io-channel-basic: ...from 16: OK 589s # GLib-DEBUG: io-channel-basic: child writing 8+4739 bytes to 15 589s # GLib-DEBUG: io-channel-basic: ...from 14: IN 589s # GLib-DEBUG: io-channel-basic: ...from 14: 4739 bytes 589s # GLib-DEBUG: io-channel-basic: ...from 14: OK 589s # GLib-DEBUG: io-channel-basic: child writing 8+3093 bytes to 9 589s # GLib-DEBUG: io-channel-basic: ...from 8: IN 589s # GLib-DEBUG: io-channel-basic: ...from 8: 3093 bytes 589s # GLib-DEBUG: io-channel-basic: ...from 8: OK 589s # GLib-DEBUG: io-channel-basic: child writing 8+1647 bytes to 13 589s # GLib-DEBUG: io-channel-basic: ...from 12: IN 589s # GLib-DEBUG: io-channel-basic: ...from 12: 1647 bytes 589s # GLib-DEBUG: io-channel-basic: ...from 12: OK 589s # GLib-DEBUG: io-channel-basic: child writing 8+545 bytes to 11 589s # GLib-DEBUG: io-channel-basic: ...from 10: IN 589s # GLib-DEBUG: io-channel-basic: ...from 10: 545 bytes 589s # GLib-DEBUG: io-channel-basic: ...from 10: OK 589s # GLib-DEBUG: io-channel-basic: child writing 8+1179 bytes to 9 589s # GLib-DEBUG: io-channel-basic: ...from 8: IN 589s # GLib-DEBUG: io-channel-basic: ...from 8: 1179 bytes 589s # GLib-DEBUG: io-channel-basic: ...from 8: OK 589s # GLib-DEBUG: io-channel-basic: child writing 8+621 bytes to 15 589s # GLib-DEBUG: io-channel-basic: ...from 14: IN 589s # GLib-DEBUG: io-channel-basic: ...from 14: 621 bytes 589s # GLib-DEBUG: io-channel-basic: ...from 14: OK 589s # GLib-DEBUG: io-channel-basic: child writing 8+1676 bytes to 13 589s # GLib-DEBUG: io-channel-basic: ...from 12: IN 589s # GLib-DEBUG: io-channel-basic: ...from 12: 1676 bytes 589s # GLib-DEBUG: io-channel-basic: ...from 12: OK 589s # GLib-DEBUG: io-channel-basic: child writing 8+3449 bytes to 17 589s # GLib-DEBUG: io-channel-basic: ...from 16: IN 589s # GLib-DEBUG: io-channel-basic: ...from 16: 3449 bytes 589s # GLib-DEBUG: io-channel-basic: ...from 16: OK 590s # GLib-DEBUG: io-channel-basic: child writing 8+4264 bytes to 9 590s # GLib-DEBUG: io-channel-basic: ...from 8: IN 590s # GLib-DEBUG: io-channel-basic: ...from 8: 4264 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 8: OK 590s # GLib-DEBUG: io-channel-basic: child writing 8+4293 bytes to 13 590s # GLib-DEBUG: io-channel-basic: ...from 12: IN 590s # GLib-DEBUG: io-channel-basic: ...from 12: 4293 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 12: OK 590s # GLib-DEBUG: io-channel-basic: child writing 8+2251 bytes to 15 590s # GLib-DEBUG: io-channel-basic: ...from 14: IN 590s # GLib-DEBUG: io-channel-basic: ...from 14: 2251 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 14: OK 590s # GLib-DEBUG: io-channel-basic: child writing 8+4519 bytes to 11 590s # GLib-DEBUG: io-channel-basic: ...from 10: IN 590s # GLib-DEBUG: io-channel-basic: ...from 10: 4519 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 10: OK 590s # GLib-DEBUG: io-channel-basic: child writing 8+4439 bytes to 17 590s # GLib-DEBUG: io-channel-basic: ...from 16: IN 590s # GLib-DEBUG: io-channel-basic: ...from 16: 4439 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 16: OK 590s # GLib-DEBUG: io-channel-basic: child writing 8+551 bytes to 9 590s # GLib-DEBUG: io-channel-basic: ...from 8: IN 590s # GLib-DEBUG: io-channel-basic: ...from 8: 551 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 8: OK 590s # GLib-DEBUG: io-channel-basic: child writing 8+4935 bytes to 15 590s # GLib-DEBUG: io-channel-basic: ...from 14: IN 590s # GLib-DEBUG: io-channel-basic: ...from 14: 4935 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 14: OK 590s # GLib-DEBUG: io-channel-basic: child writing 8+3674 bytes to 13 590s # GLib-DEBUG: io-channel-basic: ...from 12: IN 590s # GLib-DEBUG: io-channel-basic: ...from 12: 3674 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 12: OK 590s # GLib-DEBUG: io-channel-basic: child writing 8+2972 bytes to 17 590s # GLib-DEBUG: io-channel-basic: child writing 8+2246 bytes to 11 590s # GLib-DEBUG: io-channel-basic: ...from 10: IN 590s # GLib-DEBUG: io-channel-basic: ...from 10: 2246 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 10: OK 590s # GLib-DEBUG: io-channel-basic: ...from 16: IN 590s # GLib-DEBUG: io-channel-basic: ...from 16: 2972 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 16: OK 590s # GLib-DEBUG: io-channel-basic: child writing 8+4957 bytes to 9 590s # GLib-DEBUG: io-channel-basic: ...from 8: IN 590s # GLib-DEBUG: io-channel-basic: ...from 8: 4957 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 8: OK 590s # GLib-DEBUG: io-channel-basic: child writing 8+1153 bytes to 15 590s # GLib-DEBUG: io-channel-basic: ...from 14: IN 590s # GLib-DEBUG: io-channel-basic: ...from 14: 1153 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 14: OK 590s # GLib-DEBUG: io-channel-basic: child writing 8+337 bytes to 13 590s # GLib-DEBUG: io-channel-basic: ...from 12: IN 590s # GLib-DEBUG: io-channel-basic: ...from 12: 337 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 12: OK 590s # GLib-DEBUG: io-channel-basic: child writing 8+4069 bytes to 17 590s # GLib-DEBUG: io-channel-basic: ...from 16: IN 590s # GLib-DEBUG: io-channel-basic: ...from 16: 4069 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 16: OK 590s # GLib-DEBUG: io-channel-basic: child writing 8+1733 bytes to 11 590s # GLib-DEBUG: io-channel-basic: ...from 10: IN 590s # GLib-DEBUG: io-channel-basic: ...from 10: 1733 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 10: OK 590s # GLib-DEBUG: io-channel-basic: child writing 8+288 bytes to 9 590s # GLib-DEBUG: io-channel-basic: ...from 8: IN 590s # GLib-DEBUG: io-channel-basic: ...from 8: 288 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 8: OK 590s # GLib-DEBUG: io-channel-basic: child writing 8+1774 bytes to 15 590s # GLib-DEBUG: io-channel-basic: ...from 14: IN 590s # GLib-DEBUG: io-channel-basic: ...from 14: 1774 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 14: OK 590s # GLib-DEBUG: io-channel-basic: child writing 8+3649 bytes to 11 590s # GLib-DEBUG: io-channel-basic: child writing 8+4119 bytes to 17 590s # GLib-DEBUG: io-channel-basic: ...from 10: IN 590s # GLib-DEBUG: io-channel-basic: ...from 10: 3649 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 10: OK 590s # GLib-DEBUG: io-channel-basic: ...from 16: IN 590s # GLib-DEBUG: io-channel-basic: ...from 16: 4119 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 16: OK 590s # GLib-DEBUG: io-channel-basic: child writing 8+1147 bytes to 13 590s # GLib-DEBUG: io-channel-basic: ...from 12: IN 590s # GLib-DEBUG: io-channel-basic: ...from 12: 1147 bytes 590s # GLib-DEBUG: io-channel-basic: ...from 12: OK 591s # GLib-DEBUG: io-channel-basic: child writing 8+2036 bytes to 15 591s # GLib-DEBUG: io-channel-basic: ...from 14: IN 591s # GLib-DEBUG: io-channel-basic: ...from 14: 2036 bytes 591s # GLib-DEBUG: io-channel-basic: ...from 14: OK 591s # GLib-DEBUG: io-channel-basic: child writing 8+4775 bytes to 9 591s # GLib-DEBUG: io-channel-basic: ...from 8: IN 591s # GLib-DEBUG: io-channel-basic: ...from 8: 4775 bytes 591s # GLib-DEBUG: io-channel-basic: ...from 8: OK 591s # GLib-DEBUG: io-channel-basic: child writing 8+3788 bytes to 17 591s # GLib-DEBUG: io-channel-basic: ...from 16: IN 591s # GLib-DEBUG: io-channel-basic: ...from 16: 3788 bytes 591s # GLib-DEBUG: io-channel-basic: ...from 16: OK 591s # GLib-DEBUG: io-channel-basic: child writing 8+2187 bytes to 13 591s # GLib-DEBUG: io-channel-basic: ...from 12: IN 591s # GLib-DEBUG: io-channel-basic: ...from 12: 2187 bytes 591s # GLib-DEBUG: io-channel-basic: ...from 12: OK 591s # GLib-DEBUG: io-channel-basic: child writing 8+2709 bytes to 11 591s # GLib-DEBUG: io-channel-basic: ...from 10: IN 591s # GLib-DEBUG: io-channel-basic: ...from 10: 2709 bytes 591s # GLib-DEBUG: io-channel-basic: ...from 10: OK 591s # GLib-DEBUG: io-channel-basic: child writing 8+1716 bytes to 9 591s # GLib-DEBUG: io-channel-basic: ...from 8: IN 591s # GLib-DEBUG: io-channel-basic: ...from 8: 1716 bytes 591s # GLib-DEBUG: io-channel-basic: ...from 8: OK 591s # GLib-DEBUG: io-channel-basic: child writing 8+770 bytes to 15 591s # GLib-DEBUG: io-channel-basic: ...from 14: IN 591s # GLib-DEBUG: io-channel-basic: ...from 14: 770 bytes 591s # GLib-DEBUG: io-channel-basic: ...from 14: OK 591s # GLib-DEBUG: io-channel-basic: child writing 8+3209 bytes to 13 591s # GLib-DEBUG: io-channel-basic: ...from 12: IN 591s # GLib-DEBUG: io-channel-basic: ...from 12: 3209 bytes 591s # GLib-DEBUG: io-channel-basic: ...from 12: OK 591s # GLib-DEBUG: io-channel-basic: child writing 8+4003 bytes to 17 591s # GLib-DEBUG: io-channel-basic: ...from 16: IN 591s # GLib-DEBUG: io-channel-basic: ...from 16: 4003 bytes 591s # GLib-DEBUG: io-channel-basic: ...from 16: OK 591s # GLib-DEBUG: io-channel-basic: child writing 8+4717 bytes to 11 591s # GLib-DEBUG: io-channel-basic: ...from 10: IN 591s # GLib-DEBUG: io-channel-basic: ...from 10: 4717 bytes 591s # GLib-DEBUG: io-channel-basic: ...from 10: OK 591s # Executing: glib/io-channel-basic.test 591s # GLib-DEBUG: io-channel-basic: child writing 8+3344 bytes to 9 591s # GLib-DEBUG: io-channel-basic: ...from 8: IN 591s # GLib-DEBUG: io-channel-basic: ...from 8: 3344 bytes 591s # GLib-DEBUG: io-channel-basic: ...from 8: OK 591s # GLib-DEBUG: io-channel-basic: child writing 8+2660 bytes to 15 591s # GLib-DEBUG: io-channel-basic: ...from 14: IN 591s # GLib-DEBUG: io-channel-basic: ...from 14: 2660 bytes 591s # GLib-DEBUG: io-channel-basic: ...from 14: OK 591s # GLib-DEBUG: io-channel-basic: child writing 8+1665 bytes to 13 591s # GLib-DEBUG: io-channel-basic: ...from 12: IN 591s # GLib-DEBUG: io-channel-basic: ...from 12: 1665 bytes 591s # GLib-DEBUG: io-channel-basic: ...from 12: OK 591s # GLib-DEBUG: io-channel-basic: child writing 8+3488 bytes to 17 591s # GLib-DEBUG: io-channel-basic: ...from 16: IN 591s # GLib-DEBUG: io-channel-basic: ...from 16: 3488 bytes 591s # GLib-DEBUG: io-channel-basic: ...from 16: OK 591s # GLib-DEBUG: io-channel-basic: child writing 8+1585 bytes to 11 591s # GLib-DEBUG: io-channel-basic: ...from 10: IN 591s # GLib-DEBUG: io-channel-basic: ...from 10: 1585 bytes 591s # GLib-DEBUG: io-channel-basic: ...from 10: OK 591s # GLib-DEBUG: io-channel-basic: child writing 8+4829 bytes to 15 591s # GLib-DEBUG: io-channel-basic: ...from 14: IN 591s # GLib-DEBUG: io-channel-basic: ...from 14: 4829 bytes 591s # GLib-DEBUG: io-channel-basic: ...from 14: OK 591s # GLib-DEBUG: io-channel-basic: child writing 8+3932 bytes to 9 591s # GLib-DEBUG: io-channel-basic: ...from 8: IN 591s # GLib-DEBUG: io-channel-basic: ...from 8: 3932 bytes 591s # GLib-DEBUG: io-channel-basic: ...from 8: OK 592s # GLib-DEBUG: io-channel-basic: child writing 8+4467 bytes to 17 592s # GLib-DEBUG: io-channel-basic: ...from 16: IN 592s # GLib-DEBUG: io-channel-basic: ...from 16: 4467 bytes 592s # GLib-DEBUG: io-channel-basic: ...from 16: OK 592s # GLib-DEBUG: io-channel-basic: child writing 8+3605 bytes to 13 592s # GLib-DEBUG: io-channel-basic: ...from 12: IN 592s # GLib-DEBUG: io-channel-basic: ...from 12: 3605 bytes 592s # GLib-DEBUG: io-channel-basic: ...from 12: OK 592s # GLib-DEBUG: io-channel-basic: child writing 8+1872 bytes to 11 592s # GLib-DEBUG: io-channel-basic: ...from 10: IN 592s # GLib-DEBUG: io-channel-basic: ...from 10: 1872 bytes 592s # GLib-DEBUG: io-channel-basic: ...from 10: OK 592s # GLib-DEBUG: io-channel-basic: child writing 8+4069 bytes to 9 592s # GLib-DEBUG: io-channel-basic: ...from 8: IN 592s # GLib-DEBUG: io-channel-basic: ...from 8: 4069 bytes 592s # GLib-DEBUG: io-channel-basic: ...from 8: OK 592s # GLib-DEBUG: io-channel-basic: child writing 8+4214 bytes to 15 592s # GLib-DEBUG: io-channel-basic: ...from 14: IN 592s # GLib-DEBUG: io-channel-basic: ...from 14: 4214 bytes 592s # GLib-DEBUG: io-channel-basic: ...from 14: OK 592s # GLib-DEBUG: io-channel-basic: child writing 8+4943 bytes to 13 592s # GLib-DEBUG: io-channel-basic: ...from 12: IN 592s # GLib-DEBUG: io-channel-basic: ...from 12: 4943 bytes 592s # GLib-DEBUG: io-channel-basic: ...from 12: OK 592s # GLib-DEBUG: io-channel-basic: child writing 8+1189 bytes to 17 592s # GLib-DEBUG: io-channel-basic: ...from 16: IN 592s # GLib-DEBUG: io-channel-basic: ...from 16: 1189 bytes 592s # GLib-DEBUG: io-channel-basic: ...from 16: OK 592s # GLib-DEBUG: io-channel-basic: child writing 8+3817 bytes to 11 592s # GLib-DEBUG: io-channel-basic: ...from 10: IN 592s # GLib-DEBUG: io-channel-basic: ...from 10: 3817 bytes 592s # GLib-DEBUG: io-channel-basic: ...from 10: OK 592s # GLib-DEBUG: io-channel-basic: child writing 8+609 bytes to 15 592s # GLib-DEBUG: io-channel-basic: ...from 14: IN 592s # GLib-DEBUG: io-channel-basic: ...from 14: 609 bytes 592s # GLib-DEBUG: io-channel-basic: ...from 14: OK 592s # GLib-DEBUG: io-channel-basic: child writing 8+2054 bytes to 9 592s # GLib-DEBUG: io-channel-basic: ...from 8: IN 592s # GLib-DEBUG: io-channel-basic: ...from 8: 2054 bytes 592s # GLib-DEBUG: io-channel-basic: ...from 8: OK 592s # GLib-DEBUG: io-channel-basic: child writing 8+534 bytes to 13 592s # GLib-DEBUG: io-channel-basic: ...from 12: IN 592s # GLib-DEBUG: io-channel-basic: ...from 12: 534 bytes 592s # GLib-DEBUG: io-channel-basic: ...from 12: OK 592s # GLib-DEBUG: io-channel-basic: child writing 8+4617 bytes to 17 592s # GLib-DEBUG: io-channel-basic: ...from 16: IN 592s # GLib-DEBUG: io-channel-basic: ...from 16: 4617 bytes 592s # GLib-DEBUG: io-channel-basic: ...from 16: OK 592s # GLib-DEBUG: io-channel-basic: child writing 8+2431 bytes to 11 592s # GLib-DEBUG: io-channel-basic: ...from 10: IN 592s # GLib-DEBUG: io-channel-basic: ...from 10: 2431 bytes 592s # GLib-DEBUG: io-channel-basic: ...from 10: OK 592s # GLib-DEBUG: io-channel-basic: child writing 8+3475 bytes to 15 592s # GLib-DEBUG: io-channel-basic: ...from 14: IN 592s # GLib-DEBUG: io-channel-basic: ...from 14: 3475 bytes 592s # GLib-DEBUG: io-channel-basic: ...from 14: OK 592s # GLib-DEBUG: io-channel-basic: child writing 8+4356 bytes to 9 592s # GLib-DEBUG: io-channel-basic: ...from 8: IN 592s # GLib-DEBUG: io-channel-basic: ...from 8: 4356 bytes 592s # GLib-DEBUG: io-channel-basic: ...from 8: OK 592s # GLib-DEBUG: io-channel-basic: child writing 8+2567 bytes to 13 592s # GLib-DEBUG: io-channel-basic: ...from 12: IN 592s # GLib-DEBUG: io-channel-basic: ...from 12: 2567 bytes 592s # GLib-DEBUG: io-channel-basic: ...from 12: OK 592s # GLib-DEBUG: io-channel-basic: child writing 8+2911 bytes to 17 592s # GLib-DEBUG: io-channel-basic: ...from 16: IN 592s # GLib-DEBUG: io-channel-basic: ...from 16: 2911 bytes 592s # GLib-DEBUG: io-channel-basic: ...from 16: OK 592s # GLib-DEBUG: io-channel-basic: child writing 8+1092 bytes to 11 592s # GLib-DEBUG: io-channel-basic: ...from 10: IN 592s # GLib-DEBUG: io-channel-basic: ...from 10: 1092 bytes 592s # GLib-DEBUG: io-channel-basic: ...from 10: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+249 bytes to 15 593s # GLib-DEBUG: io-channel-basic: ...from 14: IN 593s # GLib-DEBUG: io-channel-basic: ...from 14: 249 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 14: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+2999 bytes to 9 593s # GLib-DEBUG: io-channel-basic: ...from 8: IN 593s # GLib-DEBUG: io-channel-basic: ...from 8: 2999 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 8: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+606 bytes to 13 593s # GLib-DEBUG: io-channel-basic: ...from 12: IN 593s # GLib-DEBUG: io-channel-basic: ...from 12: 606 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 12: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+901 bytes to 11 593s # GLib-DEBUG: io-channel-basic: ...from 10: IN 593s # GLib-DEBUG: io-channel-basic: ...from 10: 901 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 10: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+2941 bytes to 17 593s # GLib-DEBUG: io-channel-basic: ...from 16: IN 593s # GLib-DEBUG: io-channel-basic: ...from 16: 2941 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 16: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+1281 bytes to 15 593s # GLib-DEBUG: io-channel-basic: ...from 14: IN 593s # GLib-DEBUG: io-channel-basic: ...from 14: 1281 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 14: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+3911 bytes to 9 593s # GLib-DEBUG: io-channel-basic: ...from 8: IN 593s # GLib-DEBUG: io-channel-basic: ...from 8: 3911 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 8: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+2905 bytes to 13 593s # GLib-DEBUG: io-channel-basic: ...from 12: IN 593s # GLib-DEBUG: io-channel-basic: ...from 12: 2905 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 12: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+425 bytes to 17 593s # GLib-DEBUG: io-channel-basic: ...from 16: IN 593s # GLib-DEBUG: io-channel-basic: ...from 16: 425 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 16: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+1279 bytes to 11 593s # GLib-DEBUG: io-channel-basic: ...from 10: IN 593s # GLib-DEBUG: io-channel-basic: ...from 10: 1279 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 10: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+3681 bytes to 15 593s # GLib-DEBUG: io-channel-basic: ...from 14: IN 593s # GLib-DEBUG: io-channel-basic: ...from 14: 3681 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 14: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+2792 bytes to 9 593s # GLib-DEBUG: io-channel-basic: ...from 8: IN 593s # GLib-DEBUG: io-channel-basic: ...from 8: 2792 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 8: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+4520 bytes to 13 593s # GLib-DEBUG: io-channel-basic: ...from 12: IN 593s # GLib-DEBUG: io-channel-basic: ...from 12: 4520 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 12: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+579 bytes to 17 593s # GLib-DEBUG: io-channel-basic: ...from 16: IN 593s # GLib-DEBUG: io-channel-basic: ...from 16: 579 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 16: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+3432 bytes to 11 593s # GLib-DEBUG: io-channel-basic: ...from 10: IN 593s # GLib-DEBUG: io-channel-basic: ...from 10: 3432 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 10: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+1594 bytes to 15 593s # GLib-DEBUG: io-channel-basic: ...from 14: IN 593s # GLib-DEBUG: io-channel-basic: ...from 14: 1594 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 14: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+4817 bytes to 9 593s # GLib-DEBUG: io-channel-basic: ...from 8: IN 593s # GLib-DEBUG: io-channel-basic: ...from 8: 4817 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 8: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+2703 bytes to 13 593s # GLib-DEBUG: io-channel-basic: ...from 12: IN 593s # GLib-DEBUG: io-channel-basic: ...from 12: 2703 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 12: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+3881 bytes to 17 593s # GLib-DEBUG: io-channel-basic: ...from 16: IN 593s # GLib-DEBUG: io-channel-basic: ...from 16: 3881 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 16: OK 593s # GLib-DEBUG: io-channel-basic: child writing 8+891 bytes to 11 593s # GLib-DEBUG: io-channel-basic: ...from 10: IN 593s # GLib-DEBUG: io-channel-basic: ...from 10: 891 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 10: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+4850 bytes to 9 594s # GLib-DEBUG: io-channel-basic: ...from 8: IN 594s # GLib-DEBUG: io-channel-basic: ...from 8: 4850 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 8: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+4398 bytes to 15 594s # GLib-DEBUG: io-channel-basic: ...from 14: IN 594s # GLib-DEBUG: io-channel-basic: ...from 14: 4398 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 14: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+388 bytes to 13 594s # GLib-DEBUG: io-channel-basic: ...from 12: IN 594s # GLib-DEBUG: io-channel-basic: ...from 12: 388 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 12: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+4239 bytes to 11 594s # GLib-DEBUG: io-channel-basic: ...from 10: IN 594s # GLib-DEBUG: io-channel-basic: ...from 10: 4239 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 10: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+3547 bytes to 17 594s # GLib-DEBUG: io-channel-basic: ...from 16: IN 594s # GLib-DEBUG: io-channel-basic: ...from 16: 3547 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 16: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+3955 bytes to 9 594s # GLib-DEBUG: io-channel-basic: ...from 8: IN 594s # GLib-DEBUG: io-channel-basic: ...from 8: 3955 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 8: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+1923 bytes to 15 594s # GLib-DEBUG: io-channel-basic: ...from 14: IN 594s # GLib-DEBUG: io-channel-basic: ...from 14: 1923 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 14: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+3870 bytes to 13 594s # GLib-DEBUG: io-channel-basic: ...from 12: IN 594s # GLib-DEBUG: io-channel-basic: ...from 12: 3870 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 12: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+4892 bytes to 11 594s # GLib-DEBUG: io-channel-basic: ...from 10: IN 594s # GLib-DEBUG: io-channel-basic: ...from 10: 4892 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 10: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+2000 bytes to 17 594s # GLib-DEBUG: io-channel-basic: ...from 16: IN 594s # GLib-DEBUG: io-channel-basic: ...from 16: 2000 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 16: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+4133 bytes to 9 594s # GLib-DEBUG: io-channel-basic: ...from 8: IN 594s # GLib-DEBUG: io-channel-basic: ...from 8: 4133 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 8: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+2288 bytes to 15 594s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 594s # GLib-DEBUG: io-channel-basic: ...from 14: IN 594s # GLib-DEBUG: io-channel-basic: ...from 14: 2288 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 14: OK 594s # GLib-DEBUG: io-channel-basic: ...from 14: HUP 594s # GLib-DEBUG: io-channel-basic: child writing 8+4049 bytes to 13 594s # GLib-DEBUG: io-channel-basic: ...from 12: IN 594s # GLib-DEBUG: io-channel-basic: ...from 12: 4049 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 12: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+4152 bytes to 17 594s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 594s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 594s # GLib-DEBUG: io-channel-basic: ...from 16: 4152 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 16: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+660 bytes to 11 594s # GLib-DEBUG: io-channel-basic: ...from 10: IN 594s # GLib-DEBUG: io-channel-basic: ...from 10: 660 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 10: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+4026 bytes to 9 594s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 594s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 594s # GLib-DEBUG: io-channel-basic: ...from 8: 4026 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 8: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+2079 bytes to 13 594s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 594s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 594s # GLib-DEBUG: io-channel-basic: ...from 12: 2079 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 12: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+2305 bytes to 11 594s # GLib-DEBUG: io-channel-basic: ...from 10: IN 594s # GLib-DEBUG: io-channel-basic: ...from 10: 2305 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 10: OK 595s # GLib-DEBUG: io-channel-basic: child writing 8+2985 bytes to 11 595s # GLib-DEBUG: io-channel-basic: ...from 10: IN 595s # GLib-DEBUG: io-channel-basic: ...from 10: 2985 bytes 595s # GLib-DEBUG: io-channel-basic: ...from 10: OK 595s # GLib-DEBUG: io-channel-basic: child writing 8+162 bytes to 11 595s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 595s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 595s # GLib-DEBUG: io-channel-basic: ...from 10: 162 bytes 595s # GLib-DEBUG: io-channel-basic: ...from 10: OK 595s ok 1 /gio/io-basics 595s # slow test /gio/io-basics executed in 11.82 secs 595s # End of gio tests 595s ok - glib/io-channel-basic.test 595s # Running test: glib/gdbus-method-invocation.test 595s TAP version 14 595s # random seed: R02Sdd33f91fe68241d0163bded7800976c0 595s 1..1 595s # Start of gdbus tests 595s # Start of method-invocation tests 595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_P7ZIJ3/gdbus/method-invocation/return/.dirs/home 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_P7ZIJ3/gdbus/method-invocation/return/.dirs/cache 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_P7ZIJ3/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_P7ZIJ3/gdbus/method-invocation/return/.dirs/system-config2 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_P7ZIJ3/gdbus/method-invocation/return/.dirs/config 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_P7ZIJ3/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_P7ZIJ3/gdbus/method-invocation/return/.dirs/system-data2 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_P7ZIJ3/gdbus/method-invocation/return/.dirs/data 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_P7ZIJ3/gdbus/method-invocation/return/.dirs/state 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_P7ZIJ3/gdbus/method-invocation/return/.dirs/runtime 595s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 595s # Calling org.freedesktop.DBus.Properties.Get 595s # Calling org.freedesktop.DBus.Properties.Get 595s # Calling org.freedesktop.DBus.Properties.Get 595s # Calling org.freedesktop.DBus.Properties.Set 595s # Calling org.freedesktop.DBus.Properties.GetAll 595s # Calling org.example.Foo.WrongReturnType 595s # Calling org.example.Foo.GetFDs 595s # Calling org.example.Foo.GetFDs 595s # Calling org.example.Foo.ReturnError 595s # Calling org.example.Foo.CloseBeforeReturning 595s ok 1 /gdbus/method-invocation/return 595s # End of method-invocation tests 595s # End of gdbus tests 595s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 595s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 595s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 595s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 595s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 595s TAP version 14 595s # random seed: R02Sc3ddae8d5b5328cfa3783f698143d27f 595s 1..6 595s # Start of closure tests 595s ok 1 /closure/idle 595s ok 2 /closure/timeout 595s ok 3 /closure/iochannel 595s ok 4 /closure/child 595s ok 5 /closure/fd 595s ok 6 /closure/signal 595s # End of closure tests 595s TAP version 14 595s # random seed: R02S9a16dd18b9d1e5291538cdaa4f272417 595s 1..1 595s # Start of gobject tests 595s ok 1 /gobject/accumulator 595s # End of gobject tests 595s TAP version 14 595s # random seed: R02Sbecc165798ed9cdc39f162a8259a06e2 595s 1..2 595s # Start of cmph-bdz tests 595s ok 1 /cmph-bdz/search 595s ok 2 /cmph-bdz/search-packed 595s # End of cmph-bdz tests 595s ok - glib/gdbus-method-invocation.test 595s # Running test: glib/closure.test 595s ok - glib/closure.test 595s # Running test: glib/accumulator.test 595s ok - glib/accumulator.test 595s # Running test: glib/cmph-bdz.test 595s ok - glib/cmph-bdz.test 595s # Running test: glib/sequence.test 595s TAP version 14 595s # random seed: R02S16ff6e42bb77093396dbbaf4cd99e7e3 595s 1..16 595s # Start of sequence tests 595s ok 1 /sequence/out-of-range-jump 595s ok 2 /sequence/iter-move 595s ok 3 /sequence/insert-sorted-non-pointer 595s ok 4 /sequence/stable-sort 595s ok 5 /sequence/is_empty 595s # Start of random tests 596s ok 6 /sequence/random/seed:825541564 596s # slow test /sequence/random/seed:825541564 executed in 0.68 secs 596s # Executing: glib/sequence.test 596s ok 7 /sequence/random/seed:801678400 596s # slow test /sequence/random/seed:801678400 executed in 0.64 secs 597s ok 8 /sequence/random/seed:1477639090 597s # slow test /sequence/random/seed:1477639090 executed in 0.67 secs 598s ok 9 /sequence/random/seed:3369132895 598s # slow test /sequence/random/seed:3369132895 executed in 0.63 secs 598s ok 10 /sequence/random/seed:1192944867 598s # slow test /sequence/random/seed:1192944867 executed in 0.67 secs 599s ok 11 /sequence/random/seed:770458294 599s # slow test /sequence/random/seed:770458294 executed in 0.71 secs 600s ok 12 /sequence/random/seed:1099575817 600s # slow test /sequence/random/seed:1099575817 executed in 0.66 secs 601s ok 13 /sequence/random/seed:590523467 601s # slow test /sequence/random/seed:590523467 executed in 0.69 secs 601s # Executing: glib/sequence.test 601s ok 14 /sequence/random/seed:3583571454 601s # slow test /sequence/random/seed:3583571454 executed in 0.70 secs 602s ok 15 /sequence/random/seed:579241222 602s # slow test /sequence/random/seed:579241222 executed in 0.68 secs 603s ok 16 /sequence/random/seed:33302803 603s # slow test /sequence/random/seed:33302803 executed in 0.65 secs 603s # End of random tests 603s # End of sequence tests 603s ok - glib/sequence.test 603s # Running test: glib/1bit-mutex.test 603s TAP version 14 603s # random seed: R02Sa73fb1cca6b2ecce94f3c0e050779c34 603s 1..2 603s # Start of glib tests 603s # Start of 1bit-mutex tests 606s # Executing: glib/1bit-mutex.test 608s ok 1 /glib/1bit-mutex/int 608s # slow test /glib/1bit-mutex/int executed in 5.00 secs 611s # Executing: glib/1bit-mutex.test 613s ok - glib/1bit-mutex.test 613s # Running test: glib/uri.test 613s ok 2 /glib/1bit-mutex/pointer 613s # slow test /glib/1bit-mutex/pointer executed in 4.99 secs 613s # End of 1bit-mutex tests 613s # End of glib tests 613s TAP version 14 613s # random seed: R02Sb319ebc10ee28a99e3860066144f4bf2 613s 1..24 613s # Start of uri tests 613s ok 1 /uri/file-to-uri 613s ok 2 /uri/file-from-uri 613s ok 3 /uri/file-roundtrip 613s ok 4 /uri/list 613s # Test 0: %2Babc %4F 613s # Test 1: %2Babc %4F 613s # Test 2: %00abc %4F 613s # Test 3: /cursors/none.png 613s # Test 4: /cursors%2fbad-subdir/none.png 613s # Test 5: %0 613s # Test 6: %ra 613s # Test 7: %2r 613s # Test 8: Timm Bäder 613s # Test 9: (null) 613s ok 5 /uri/unescape-string 613s ok 6 /uri/unescape-segment 613s # Test 0: abcdefgABCDEFG._~ 613s # Test 1: :+ \\?# 613s # Test 2: a+b:c 613s # Test 3: a+b:c\303\234 613s # Test 4: \374;\322 613s # Test 5: \303\261\303( 613s ok 7 /uri/escape-string 613s ok 8 /uri/escape-bytes 613s ok 9 /uri/scheme 613s ok 10 /uri/build 613s ok 11 /uri/split 613s ok 12 /uri/is_valid 613s ok 13 /uri/to-string 613s ok 14 /uri/join 613s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 613s # Combination 0 613s # Combination 1 613s # Combination 2 613s # Combination 3 613s # Combination 4 613s # Combination 5 613s # Combination 6 613s # Combination 7 613s # Combination 8 613s # Combination 9 613s # Combination 10 613s # Combination 11 613s # Combination 12 613s # Combination 13 613s # Combination 14 613s # Combination 15 613s # Combination 16 613s # Combination 17 613s # Combination 18 613s # Combination 19 613s # Combination 20 613s # Combination 21 613s # Combination 22 613s # Combination 23 613s # Combination 24 613s # Combination 25 613s # Combination 26 613s # Combination 27 613s # Combination 28 613s # Combination 29 613s # Combination 30 613s # Combination 31 613s # Combination 32 613s # Combination 33 613s # Combination 34 613s # Combination 35 613s ok - glib/uri.test 613s # Running test: glib/memory-monitor-portal.test 613s # Combination 36 613s # Combination 37 613s # Combination 38 613s # Combination 39 613s # Combination 40 613s # Combination 41 613s # Combination 42 613s # Combination 43 613s # Combination 44 613s # Combination 45 613s # Combination 46 613s # Combination 47 613s # Combination 48 613s # Combination 49 613s # Combination 50 613s # Combination 51 613s # Combination 52 613s # Combination 53 613s # Combination 54 613s # Combination 55 613s # Combination 56 613s # Combination 57 613s # Combination 58 613s # Combination 59 613s # Combination 60 613s # Combination 61 613s # Combination 62 613s # Combination 63 613s # Combination 64 613s # Combination 65 613s # Combination 66 613s # Combination 67 613s # Combination 68 613s # Combination 69 613s # Combination 70 613s # Combination 71 613s # Combination 72 613s # Combination 73 613s # Combination 74 613s # Combination 75 613s # Combination 76 613s # Combination 77 613s # Combination 78 613s # Combination 79 613s # Combination 80 613s # Combination 81 613s # Combination 82 613s # Combination 83 613s # Combination 84 613s # Combination 85 613s # Combination 86 613s # Combination 87 613s # Combination 88 613s # Combination 89 613s # Combination 90 613s # Combination 91 613s # Combination 92 613s # Combination 93 613s # Combination 94 613s # Combination 95 613s # Combination 96 613s # Combination 97 613s # Combination 98 613s # Combination 99 613s # Combination 100 613s # Combination 101 613s # Combination 102 613s # Combination 103 613s # Combination 104 613s # Combination 105 613s # Combination 106 613s # Combination 107 613s # Combination 108 613s # Combination 109 613s # Combination 110 613s # Combination 111 613s # Combination 112 613s # Combination 113 613s # Combination 114 613s # Combination 115 613s # Combination 116 613s # Combination 117 613s # Combination 118 613s # Combination 119 613s # Combination 120 613s # Combination 121 613s # Combination 122 613s # Combination 123 613s # Combination 124 613s # Combination 125 613s # Combination 126 613s # Combination 127 613s # Combination 128 613s # Combination 129 613s # Combination 130 613s # Combination 131 613s # Combination 132 613s # Combination 133 613s # Combination 134 613s # Combination 135 613s # Combination 136 613s # Combination 137 613s # Combination 138 613s # Combination 139 613s # Combination 140 613s # Combination 141 613s # Combination 142 613s # Combination 143 613s # Combination 144 613s # Combination 145 613s # Combination 146 613s # Combination 147 613s # Combination 148 613s # Combination 149 613s # Combination 150 613s # Combination 151 613s # Combination 152 613s # Combination 153 613s # Combination 154 613s # Combination 155 613s # Combination 156 613s # Combination 157 613s # Combination 158 613s # Combination 159 613s # Combination 160 613s # Combination 161 613s # Combination 162 613s # Combination 163 613s # Combination 164 613s # Combination 165 613s # Combination 166 613s # Combination 167 613s # Combination 168 613s # Combination 169 613s # Combination 170 613s # Combination 171 613s # Combination 172 613s # Combination 173 613s # Combination 174 613s # Combination 175 613s # Combination 176 613s # Combination 177 613s # Combination 178 613s # Combination 179 613s # Combination 180 613s # Combination 181 613s # Combination 182 613s # Combination 183 613s # Combination 184 613s # Combination 185 613s # Combination 186 613s # Combination 187 613s # Combination 188 613s # Combination 189 613s # Combination 190 613s # Combination 191 613s # Combination 192 613s # Combination 193 613s # Combination 194 613s # Combination 195 613s # Combination 196 613s # Combination 197 613s # Combination 198 613s # Combination 199 613s # Combination 200 613s # Combination 201 613s # Combination 202 613s # Combination 203 613s # Combination 204 613s # Combination 205 613s # Combination 206 613s # Combination 207 613s # Combination 208 613s # Combination 209 613s # Combination 210 613s # Combination 211 613s # Combination 212 613s # Combination 213 613s # Combination 214 613s # Combination 215 613s # Combination 216 613s # Combination 217 613s # Combination 218 613s # Combination 219 613s # Combination 220 613s # Combination 221 613s # Combination 222 613s # Combination 223 613s # Combination 224 613s # Combination 225 613s # Combination 226 613s # Combination 227 613s # Combination 228 613s # Combination 229 613s # Combination 230 613s # Combination 231 613s # Combination 232 613s # Combination 233 613s # Combination 234 613s # Combination 235 613s # Combination 236 613s # Combination 237 613s # Combination 238 613s # Combination 239 613s # Combination 240 613s # Combination 241 613s # Combination 242 613s # Combination 243 613s # Combination 244 613s # Combination 245 613s # Combination 246 613s # Combination 247 613s # Combination 248 613s # Combination 249 613s # Combination 250 613s # Combination 251 613s # Combination 252 613s # Combination 253 613s # Combination 254 613s # Combination 255 613s ok 15 /uri/join-split-round-trip 613s ok 16 /uri/normalize 613s # Start of unescape-bytes tests 613s # Test 0: %00%00 613s # Test 1: /cursors/none.png 613s # Test 2: /cursors%2fbad-subdir/none.png 613s # Test 3: %% 613s # Test 4: % 613s ok 17 /uri/unescape-bytes/nul-terminated 613s # Test 0: %00%00 613s # Test 1: /cursors/none.png 613s # Test 2: /cursors%2fbad-subdir/none.png 613s # Test 3: %% 613s # Test 4: % 613s ok 18 /uri/unescape-bytes/length 613s # End of unescape-bytes tests 613s # Start of parsing tests 613s # Test 0: foo: 613s # Test 1: file:/dev/null 613s # Test 2: file:///dev/null 613s # Test 3: ftp://user@host/path 613s # Test 4: ftp://user@host:9999/path 613s # Test 5: ftp://user:password@host/path 613s # Test 6: ftp://user:password@host:9999/path 613s # Test 7: ftp://user:password@host 613s # Test 8: http://us%65r@host 613s # Test 9: http://us%40r@host 613s # Test 10: http://us%3ar@host 613s # Test 11: http://us%2fr@host 613s # Test 12: http://us%3fr@host 613s # Test 13: http://host?query 613s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 613s # Test 15: http://control-chars/%01%02%03%04%05%06%07%08%09%0A%0B%0C%0D%0E%0F%10%11%12%13%14%15%16%17%18%19%1A%1B%1C%1D%1E%1F%7F 613s # Test 16: http://space/%20 613s # Test 17: http://delims/%3C%3E%23%25%22 613s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 613s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 613s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 613s # Test 21: http://[3ffe:2a00:100:7031::1] 613s # Test 22: http://[1080::8:800:200C:417A]/foo 613s # Test 23: http://[::192.9.5.5]/ipng 613s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 613s # Test 25: http://[2010:836B:4179::836B:4179] 613s # Test 26: http://host/path with spaces 613s # Test 27: http://host/path 613s # Test 28: http://host/path 613s # Test 29: http://host 613s # Test 30: http://host:999 613s # Test 31: http://host/pa 613s # th 613s # Test 32: http: 613s # //host/path 613s # Test 33: http:// host/path 613s # Test 34: http://host/path? 613s # Test 35: http://host/path# 613s # Test 36: http://host/path% 613s # Test 37: http://h%ost/path 613s # Test 38: http://host/path%% 613s # Test 39: http://host/path%%% 613s # Test 40: http://host/path%/x/ 613s # Test 41: http://host/path%0x/ 613s # Test 42: http://host/path%ax 613s # Test 43: http://host/päth/ 613s # Test 44: HTTP://////////////// 613s # Test 45: http://@host 613s # Test 46: http://:@host 613s # Test 47: scheme://foo%3Abar._webdav._tcp.local 613s # Test 48: http://example.com/.. 613s # Test 49: foo0://host/path 613s # Test 50: f0.o://host/path 613s # Test 51: http++://host/path 613s # Test 52: http-ish://host/path 613s # Test 53: http://[fe80::dead:beef%]/ 613s # Test 54: http://[fe80::dead:beef%em1]/ 613s # Test 55: http://[fe80::dead:beef%em1]/ 613s # Test 56: http://[fe80::dead:beef%25em1]/ 613s # Test 57: http://[fe80::dead:beef%25em1%20]/ 613s # Test 58: http://[fe80::dead:beef%25em%31]/ 613s # Test 59: http://[fe80::dead:beef%10]/ 613s # Test 60: http://[fe80::dead:beef%10]/ 613s # Test 61: http://[fe80::dead:beef%25]/ 613s # Test 62: http://[fe80::dead:beef%25]/ 613s # Test 63: http://[192.168.0.1%25em1]/ 613s # Test 64: http://[fe80::dead:beef%2em1]/ 613s # Test 65: http://[fe80::dead:beef%2em1]/ 613s # Test 66: http://[fe80::dead:beef%25em1%00]/ 613s # Test 67: http://[fe80::dead:beef%25em1%00]/ 613s # Test 68: http://xn--mixed-üp/ 613s # Test 69: data:./// 613s # Test 70: data:/.// 613s ok 19 /uri/parsing/absolute 613s ok 20 /uri/parsing/relative 613s # End of parsing tests 613s # Start of iter-params tests 613s # URI 0: p1=foo&p2=bar;p3=baz 613s # URI 1: p1=foo&p2=bar 613s # URI 2: p1=foo&&P1=bar 613s # URI 3: %00=foo 613s # URI 4: p1=%00 613s # URI 5: p1=foo&p1=bar 613s # URI 6: p1=foo&P1=bar 613s # URI 7: =% 613s # URI 8: = 613s # URI 9: foo 613s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 613s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 613s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 613s ok 21 /uri/iter-params/nul-terminated 613s # URI 0: p1=foo&p2=bar;p3=baz 613s # URI 1: p1=foo&p2=bar 613s # URI 2: p1=foo&&P1=bar 613s # URI 3: %00=foo 613s # URI 4: p1=%00 613s # URI 5: p1=foo&p1=bar 613s # URI 6: p1=foo&P1=bar 613s # URI 7: =% 613s # URI 8: = 613s # URI 9: foo 613s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 613s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 613s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 613s ok 22 /uri/iter-params/length 613s # End of iter-params tests 613s # Start of parse-params tests 613s # URI 0: p1=foo&p2=bar;p3=baz 613s # URI 1: p1=foo&p2=bar 613s # URI 2: p1=foo&&P1=bar 613s # URI 3: %00=foo 613s # URI 4: p1=%00 613s # URI 5: p1=foo&p1=bar 613s # URI 6: p1=foo&P1=bar 613s # URI 7: =% 613s # URI 8: = 613s # URI 9: foo 613s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 613s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 613s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 613s ok 23 /uri/parse-params/nul-terminated 613s # URI 0: p1=foo&p2=bar;p3=baz 613s # URI 1: p1=foo&p2=bar 613s # URI 2: p1=foo&&P1=bar 613s # URI 3: %00=foo 613s # URI 4: p1=%00 613s # URI 5: p1=foo&p1=bar 613s # URI 6: p1=foo&P1=bar 613s # URI 7: =% 613s # URI 8: = 613s # URI 9: foo 613s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 613s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 613s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 613s ok 24 /uri/parse-params/length 613s # End of parse-params tests 613s # End of uri tests 613s TAP version 13 613s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 613s 1..1 613s ok - glib/memory-monitor-portal.test 613s # Running test: glib/converter-stream.test 613s TAP version 14 613s # random seed: R02S328b582bc6e224ec66cfe89ab04e9b61 613s 1..17 613s # Start of converter tests 613s ok 1 /converter/basics 613s # End of converter tests 613s # Start of converter-input-stream tests 613s ok 2 /converter-input-stream/expander 613s ok 3 /converter-input-stream/compressor 613s # Start of truncation tests 613s ok 4 /converter-input-stream/truncation/zlib 613s ok 5 /converter-input-stream/truncation/gzip 613s ok 6 /converter-input-stream/truncation/raw 613s # End of truncation tests 613s # Start of charset tests 613s ok 7 /converter-input-stream/charset/utf8->latin1 613s ok 8 /converter-input-stream/charset/latin1->utf8 613s ok 9 /converter-input-stream/charset/fallbacks 613s # End of charset tests 613s # End of converter-input-stream tests 613s # Start of converter-output-stream tests 613s # Start of roundtrip tests 613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 614s ok 10 /converter-output-stream/roundtrip/zlib-0 614s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 614s ok 11 /converter-output-stream/roundtrip/zlib-9 614s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 614s ok 12 /converter-output-stream/roundtrip/gzip-0 614s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 614s ok 13 /converter-output-stream/roundtrip/gzip-9 614s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 614s ok 14 /converter-output-stream/roundtrip/raw-0 614s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 614s ok 15 /converter-output-stream/roundtrip/raw-9 614s # End of roundtrip tests 614s # End of converter-output-stream tests 614s # Start of converter-stream tests 614s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 614s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x85a48ff2ab0 and GSocketClientAsyncConnectData 0x85a48feb210 614s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 614s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 614s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x85a48c31ba0 for GSocketClientAsyncConnectData 0x85a48feb210 614s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 614s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 614s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 614s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 614s ok - glib/converter-stream.test 614s # Running test: glib/tls-interaction.test 614s ok 16 /converter-stream/pollable 614s ok 17 /converter-stream/leftover 614s # End of converter-stream tests 614s TAP version 14 614s # random seed: R02S2d45e42ac2c3af0f0b9148e52deee990 614s 1..42 614s # Start of tls-interaction tests 614s # Start of ask-password tests 614s # Start of invoke-with-loop tests 614s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 614s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 614s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 614s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 614s ok - glib/tls-interaction.test 614s # Running test: glib/buffered-output-stream.test 614s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 614s # End of invoke-with-loop tests 614s # Start of invoke-without-loop tests 614s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 614s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 614s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 614s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 614s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 614s # End of invoke-without-loop tests 614s # Start of invoke-in-loop tests 614s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 614s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 614s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 614s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 614s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 614s # End of invoke-in-loop tests 614s # Start of sync tests 614s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 614s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 614s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 614s # End of sync tests 614s # Start of async tests 614s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 614s ok 20 /tls-interaction/ask-password/async/async-implementation-success 614s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 614s # End of async tests 614s # End of ask-password tests 614s # Start of request-certificate tests 614s # Start of invoke-with-loop tests 614s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 614s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 614s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 614s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 614s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 614s # End of invoke-with-loop tests 614s # Start of invoke-without-loop tests 614s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 614s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 614s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 614s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 614s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 614s # End of invoke-without-loop tests 614s # Start of invoke-in-loop tests 614s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 614s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 614s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 614s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 614s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 614s # End of invoke-in-loop tests 614s # Start of sync tests 614s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 614s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 614s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 614s # End of sync tests 614s # Start of async tests 614s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 614s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 614s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 614s # End of async tests 614s # End of request-certificate tests 614s # End of tls-interaction tests 614s TAP version 14 614s # random seed: R02Sf0e4add1a560b0119043a9844cb9c01f 614s 1..5 614s # Start of buffered-output-stream tests 614s ok 1 /buffered-output-stream/write 614s ok 2 /buffered-output-stream/grow 614s ok 3 /buffered-output-stream/seek 614s ok 4 /buffered-output-stream/truncate 614s # End of buffered-output-stream tests 614s # Start of filter-output-stream tests 614s ok 5 /filter-output-stream/close 614s # End of filter-output-stream tests 614s TAP version 14 614s # random seed: R02S5893e76cbed0c392c7093182ecb9e095 614s 1..2 614s # Start of utf8 tests 614s ok 1 /utf8/utf8-to-utf16-make-valid 614s ok 2 /utf8/utf8-to-utf16-make-valid-backtrack 614s # End of utf8 tests 614s TAP version 14 614s # random seed: R02S346a24ae12f39d1353ac2c7bdcd0ae56 614s 1..4 614s # Start of C tests 614s ok 1 /C/standard-11 614s # End of C tests 614s # Start of alignof tests 614s ok 2 /alignof/fallback 614s # End of alignof tests 614s # Start of assert tests 614s ok 3 /assert/static 614s # End of assert tests 614s # Start of struct tests 614s ok 4 /struct/sizeof_member 614s # End of struct tests 614s TAP version 14 614s # random seed: R02S15b96a24baa4ac5ed7306320e1d7b4dc 614s 1..24 614s # Start of repository tests 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/basic/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/basic/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/basic/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/basic/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/basic/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/basic/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/basic/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/basic/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/basic/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/basic/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 614s ok 1 /repository/basic 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/info/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/info/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/info/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/info/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/info/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/info/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/info/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/info/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/info/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/info/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/info summary: Test retrieving some basic info blobs from a typelib 614s ok - glib/buffered-output-stream.test 614s # Running test: glib/utf8-private.test 614s ok - glib/utf8-private.test 614s # Running test: glib/macros-c-11.test 614s ok - glib/macros-c-11.test 614s # Running test: glib/repository.test 614s ok 2 /repository/info 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/dependencies/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/dependencies/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/dependencies/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/dependencies/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/dependencies/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/dependencies/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/dependencies/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/dependencies/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/dependencies/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/dependencies/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 614s ok 3 /repository/dependencies 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/arg-info/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/arg-info/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/arg-info/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/arg-info/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/arg-info/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/arg-info/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/arg-info/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/arg-info/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/arg-info/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/arg-info/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 614s ok 4 /repository/arg-info 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/callable-info/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/callable-info/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/callable-info/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/callable-info/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/callable-info/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/callable-info/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/callable-info/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/callable-info/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/callable-info/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/callable-info/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 614s ok 5 /repository/callable-info 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/callback-info/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/callback-info/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/callback-info/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/callback-info/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/callback-info/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/callback-info/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/callback-info/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/callback-info/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/callback-info/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/callback-info/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 614s ok 6 /repository/callback-info 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/char-types/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/char-types/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/char-types/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/char-types/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/char-types/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/char-types/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/char-types/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/char-types/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/char-types/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/char-types/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 614s ok 7 /repository/char-types 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/constructor-return-type/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/constructor-return-type/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/constructor-return-type/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/constructor-return-type/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/constructor-return-type/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/constructor-return-type/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/constructor-return-type/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/constructor-return-type/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 614s ok 8 /repository/constructor-return-type 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/enum-info-c-identifier/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/enum-info-c-identifier/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/enum-info-c-identifier/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/enum-info-c-identifier/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/enum-info-c-identifier/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/enum-info-c-identifier/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/enum-info-c-identifier/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/enum-info-c-identifier/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 614s ok 9 /repository/enum-info-c-identifier 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/enum-info-static-methods/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/enum-info-static-methods/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/enum-info-static-methods/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/enum-info-static-methods/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/enum-info-static-methods/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/enum-info-static-methods/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/enum-info-static-methods/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/enum-info-static-methods/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/enum-info-static-methods summary: Test an enum with methods 614s ok 10 /repository/enum-info-static-methods 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/error-quark/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/error-quark/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/error-quark/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/error-quark/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/error-quark/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/error-quark/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/error-quark/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/error-quark/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/error-quark/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/error-quark/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/error-quark summary: Test finding an error quark by error domain 614s ok 11 /repository/error-quark 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/flags-info-c-identifier/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/flags-info-c-identifier/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/flags-info-c-identifier/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/flags-info-c-identifier/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/flags-info-c-identifier/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/flags-info-c-identifier/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/flags-info-c-identifier/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/flags-info-c-identifier/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 614s ok 12 /repository/flags-info-c-identifier 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/fundamental-ref-func/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/fundamental-ref-func/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/fundamental-ref-func/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/fundamental-ref-func/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/fundamental-ref-func/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/fundamental-ref-func/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/fundamental-ref-func/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/fundamental-ref-func/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 614s ok 13 /repository/fundamental-ref-func 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/instance-method-ownership-transfer/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/instance-method-ownership-transfer/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/instance-method-ownership-transfer/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/instance-method-ownership-transfer/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/instance-method-ownership-transfer/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/instance-method-ownership-transfer/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/instance-method-ownership-transfer/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/instance-method-ownership-transfer/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 614s ok - glib/repository.test 614s # Running test: glib/signals-refcount4.test 614s ok 14 /repository/instance-method-ownership-transfer 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/object-gtype-interfaces/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/object-gtype-interfaces/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/object-gtype-interfaces/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/object-gtype-interfaces/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/object-gtype-interfaces/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/object-gtype-interfaces/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/object-gtype-interfaces/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/object-gtype-interfaces/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 614s ok 15 /repository/object-gtype-interfaces 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/signal-info-with-array-length-arg/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/signal-info-with-array-length-arg/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/signal-info-with-array-length-arg/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/signal-info-with-array-length-arg/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/signal-info-with-array-length-arg/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/signal-info-with-array-length-arg/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/signal-info-with-array-length-arg/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/signal-info-with-array-length-arg/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 614s ok 16 /repository/signal-info-with-array-length-arg 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/type-info-name/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/type-info-name/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/type-info-name/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/type-info-name/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/type-info-name/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/type-info-name/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/type-info-name/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/type-info-name/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 614s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 614s ok 17 /repository/type-info-name 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-no-invoker/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-no-invoker/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/vfunc-info-with-no-invoker/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-no-invoker/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/vfunc-info-with-no-invoker/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-no-invoker/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-no-invoker/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-no-invoker/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 614s ok 18 /repository/vfunc-info-with-no-invoker 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 614s ok 19 /repository/vfunc-info-with-invoker-on-interface 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-object/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-object/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-object/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-object/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-object/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 614s ok 20 /repository/vfunc-info-with-invoker-on-object 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/find-by-gtype/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/find-by-gtype/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/find-by-gtype/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/find-by-gtype/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/find-by-gtype/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/find-by-gtype/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/find-by-gtype/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/find-by-gtype/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/find-by-gtype summary: Test finding a GType 614s ok 21 /repository/find-by-gtype 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/loaded-namespaces/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/loaded-namespaces/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/loaded-namespaces/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/loaded-namespaces/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/loaded-namespaces/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/loaded-namespaces/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/loaded-namespaces/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/loaded-namespaces/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/loaded-namespaces summary: Test listing loaded namespaces 614s ok 22 /repository/loaded-namespaces 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/dup_default/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/dup_default/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/dup_default/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/dup_default/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/dup_default/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/dup_default/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/dup_default/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/dup_default/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/dup_default/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/dup_default/.dirs/runtime 614s ok 23 /repository/dup_default 614s # Start of base-info tests 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R9UVJ3/repository/base-info/clear/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R9UVJ3/repository/base-info/clear/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R9UVJ3/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_R9UVJ3/repository/base-info/clear/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R9UVJ3/repository/base-info/clear/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R9UVJ3/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_R9UVJ3/repository/base-info/clear/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R9UVJ3/repository/base-info/clear/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R9UVJ3/repository/base-info/clear/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R9UVJ3/repository/base-info/clear/.dirs/runtime 614s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 614s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 614s ok 24 /repository/base-info/clear 614s # End of base-info tests 614s # End of repository tests 614s TAP version 14 614s # random seed: R02S2d92cf303a3fd7d74e421746c9813ab0 614s 1..1 614s # Start of gobject tests 614s # Start of refcount tests 614s # init 0x134eab9ed4a0 614s # 614s # init 0x134eab9e5580 614s # 616s # Executing: glib/signals-refcount4.test 619s # dispose 0x134eab9ed4a0! 619s # 619s # dispose 0x134eab9e5580! 619s # 619s ok 1 /gobject/refcount/signals 619s # slow test /gobject/refcount/signals executed in 5.00 secs 619s # End of refcount tests 619s # End of gobject tests 619s ok - glib/signals-refcount4.test 619s # Running test: glib/throws.test 619s TAP version 14 619s # random seed: R02S7735baf101849be9f838b2b8f82f6b28 619s 1..3 619s # Start of throws tests 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_7MNWJ3/throws/invoke-gerror/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_7MNWJ3/throws/invoke-gerror/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_7MNWJ3/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_7MNWJ3/throws/invoke-gerror/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_7MNWJ3/throws/invoke-gerror/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_7MNWJ3/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_7MNWJ3/throws/invoke-gerror/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_7MNWJ3/throws/invoke-gerror/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_7MNWJ3/throws/invoke-gerror/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_7MNWJ3/throws/invoke-gerror/.dirs/runtime 619s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 619s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 619s ok 1 /throws/invoke-gerror 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_7MNWJ3/throws/vfunc-can-throw-gerror/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_7MNWJ3/throws/vfunc-can-throw-gerror/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_7MNWJ3/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_7MNWJ3/throws/vfunc-can-throw-gerror/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_7MNWJ3/throws/vfunc-can-throw-gerror/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_7MNWJ3/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_7MNWJ3/throws/vfunc-can-throw-gerror/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_7MNWJ3/throws/vfunc-can-throw-gerror/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_7MNWJ3/throws/vfunc-can-throw-gerror/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_7MNWJ3/throws/vfunc-can-throw-gerror/.dirs/runtime 619s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 619s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 619s ok 2 /throws/vfunc-can-throw-gerror 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_7MNWJ3/throws/callback-can-throw-gerror/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_7MNWJ3/throws/callback-can-throw-gerror/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_7MNWJ3/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_7MNWJ3/throws/callback-can-throw-gerror/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_7MNWJ3/throws/callback-can-throw-gerror/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_7MNWJ3/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_7MNWJ3/throws/callback-can-throw-gerror/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_7MNWJ3/throws/callback-can-throw-gerror/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_7MNWJ3/throws/callback-can-throw-gerror/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_7MNWJ3/throws/callback-can-throw-gerror/.dirs/runtime 619s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 619s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 619s ok 3 /throws/callback-can-throw-gerror 619s # End of throws tests 619s ok - glib/throws.test 619s # Running test: glib/permission.test 619s ok - glib/permission.test 619s # Running test: glib/utils-c-17.test 619s TAP version 14 619s # random seed: R02Sb4a9a41b73515679c498e3d83e827ba1 619s 1..1 619s # Start of permission tests 619s ok 1 /permission/simple 619s # End of permission tests 619s TAP version 14 619s # random seed: R02S7fbf334ea046d0ce7756755b28a20561 619s 1..41 619s # Start of utils tests 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/language-names/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/language-names/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/language-names/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/language-names/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/language-names/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/language-names/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/language-names/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/language-names/.dirs/runtime 619s ok 1 /utils/language-names 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/locale-variants/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/locale-variants/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/locale-variants/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/locale-variants/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/locale-variants/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/locale-variants/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/locale-variants/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/locale-variants/.dirs/runtime 619s # Testing locale ‘en’ 619s # Testing locale ‘sr@latin’ 619s # Testing locale ‘fr_BE’ 619s # Testing locale ‘sr_SR@latin’ 619s # Testing locale ‘sr_SR@latin.UTF-8’ 619s # Testing locale ‘sr@latin_invalid’ 619s # Testing locale ‘sr.UTF-8@latin’ 619s # Testing locale ‘sr.UTF-8_latin’ 619s # Testing locale ‘sr.UTF-8@latin_invalid’ 619s ok 2 /utils/locale-variants 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/version/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/version/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/version/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/version/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/version/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/version/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/version/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/version/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/version/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/version/.dirs/runtime 619s ok 3 /utils/version 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/appname/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/appname/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/appname/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/appname/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/appname/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/appname/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/appname/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/appname/.dirs/runtime 619s ok 4 /utils/appname 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/prgname-thread-safety/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/prgname-thread-safety/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/prgname-thread-safety/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/prgname-thread-safety/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/prgname-thread-safety/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/prgname-thread-safety/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/prgname-thread-safety/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/prgname-thread-safety/.dirs/runtime 619s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 619s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 619s ok 5 /utils/prgname-thread-safety 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/tmpdir/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/tmpdir/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/tmpdir/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/tmpdir/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/tmpdir/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/tmpdir/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/tmpdir/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/tmpdir/.dirs/runtime 619s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 619s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 619s Unable to clean up temporary directory /tmp/test_utils-c-17_5ZGWJ3/utils/tmpdir: No such file or directory 619s ok 6 /utils/tmpdir 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/basic_bits/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/basic_bits/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/basic_bits/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/basic_bits/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/basic_bits/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/basic_bits/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/basic_bits/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/basic_bits/.dirs/runtime 619s ok 7 /utils/basic_bits 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/bits/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/bits/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/bits/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/bits/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/bits/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/bits/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/bits/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/bits/.dirs/runtime 619s ok 8 /utils/bits 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/swap/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/swap/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/swap/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/swap/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/swap/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/swap/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/swap/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/swap/.dirs/runtime 619s ok 9 /utils/swap 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/find-program/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/find-program/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/find-program/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/find-program/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/find-program/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/find-program/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/find-program/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/find-program/.dirs/runtime 619s ok 10 /utils/find-program 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/find-program-for-path/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/find-program-for-path/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/find-program-for-path/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/find-program-for-path/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/find-program-for-path/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/find-program-for-path/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/find-program-for-path/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/find-program-for-path/.dirs/runtime 619s ok 11 /utils/find-program-for-path 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/debug/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/debug/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/debug/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/debug/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/debug/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/debug/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/debug/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/debug/.dirs/runtime 619s Unable to clean up temporary directory /tmp/test_utils-c-17_5ZGWJ3/utils/debug: No such file or directory 619s ok 12 /utils/debug 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/codeset/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/codeset/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/codeset/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/codeset/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/codeset/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/codeset/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/codeset/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/codeset/.dirs/runtime 619s ok 13 /utils/codeset 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/codeset2/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/codeset2/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/codeset2/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/codeset2/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/codeset2/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/codeset2/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/codeset2/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/codeset2/.dirs/runtime 619s Unable to clean up temporary directory /tmp/test_utils-c-17_5ZGWJ3/utils/codeset2: No such file or directory 619s ok 14 /utils/codeset2 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/console-charset/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/console-charset/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/console-charset/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/console-charset/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/console-charset/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/console-charset/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/console-charset/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/console-charset/.dirs/runtime 619s ok 15 /utils/console-charset 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/gettext/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/gettext/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/gettext/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/gettext/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/gettext/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/gettext/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/gettext/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/gettext/.dirs/runtime 619s ok 16 /utils/gettext 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/username/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/username/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/username/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/username/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/username/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/username/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/username/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/username/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/username/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/username/.dirs/runtime 619s ok 17 /utils/username 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/realname/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/realname/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/realname/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/realname/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/realname/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/realname/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/realname/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/realname/.dirs/runtime 619s ok 18 /utils/realname 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/hostname/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/hostname/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/hostname/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/hostname/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/hostname/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/hostname/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/hostname/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/hostname/.dirs/runtime 619s ok 19 /utils/hostname 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/os-info/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/os-info/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/os-info/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/os-info/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/os-info/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/os-info/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/os-info/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/os-info/.dirs/runtime 619s # NAME: Ubuntu 619s ok 20 /utils/os-info 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/.dirs/runtime 619s ok 21 /utils/clear-pointer 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer-cast/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer-cast/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer-cast/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer-cast/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer-cast/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer-cast/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer-cast/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer-cast/.dirs/runtime 619s ok 22 /utils/clear-pointer-cast 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/take-pointer/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/take-pointer/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/take-pointer/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/take-pointer/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/take-pointer/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/take-pointer/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/take-pointer/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/take-pointer/.dirs/runtime 619s ok 23 /utils/take-pointer 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-source/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-source/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/clear-source/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-source/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/clear-source/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-source/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-source/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-source/.dirs/runtime 619s ok 24 /utils/clear-source 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/misc-mem/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/misc-mem/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/misc-mem/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/misc-mem/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/misc-mem/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/misc-mem/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/misc-mem/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/misc-mem/.dirs/runtime 619s ok 25 /utils/misc-mem 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/.dirs/runtime 619s # /utils/aligned-mem summary: Aligned memory allocator 619s # Alignment must not be zero 619s # Alignment must be a power of two 619s # Alignment must be a multiple of sizeof(void*) 619s ok 26 /utils/aligned-mem 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/free-sized/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/free-sized/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/free-sized/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/free-sized/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/free-sized/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/free-sized/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/free-sized/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/free-sized/.dirs/runtime 619s # /utils/free-sized summary: Check that g_free_sized() works 619s ok 27 /utils/free-sized 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/nullify/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/nullify/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/nullify/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/nullify/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/nullify/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/nullify/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/nullify/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/nullify/.dirs/runtime 619s ok 28 /utils/nullify 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/atexit/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/atexit/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/atexit/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/atexit/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/atexit/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/atexit/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/atexit/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/atexit/.dirs/runtime 619s Unable to clean up temporary directory /tmp/test_utils-c-17_5ZGWJ3/utils/atexit: No such file or directory 619s ok 29 /utils/atexit 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/check-setuid/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/check-setuid/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/check-setuid/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/check-setuid/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/check-setuid/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/check-setuid/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/check-setuid/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/check-setuid/.dirs/runtime 619s ok 30 /utils/check-setuid 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/int-limits/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/int-limits/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/int-limits/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/int-limits/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/int-limits/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/int-limits/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/int-limits/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/int-limits/.dirs/runtime 619s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 619s ok 31 /utils/int-limits 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-list/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-list/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/clear-list/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-list/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/clear-list/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-list/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-list/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-list/.dirs/runtime 619s ok 32 /utils/clear-list 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-slist/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-slist/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/clear-slist/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-slist/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/clear-slist/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-slist/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-slist/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-slist/.dirs/runtime 619s ok 33 /utils/clear-slist 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/steal-handle-id/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/steal-handle-id/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/steal-handle-id/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/steal-handle-id/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/steal-handle-id/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/steal-handle-id/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/steal-handle-id/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/steal-handle-id/.dirs/runtime 619s ok 34 /utils/steal-handle-id 619s # Start of user-special-dirs tests 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/desktop/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/desktop/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/desktop/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/desktop/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/desktop/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/desktop/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/desktop/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/desktop/.dirs/runtime 619s ok 35 /utils/user-special-dirs/desktop 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/load-unlocked/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/load-unlocked/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/load-unlocked/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/load-unlocked/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/load-unlocked/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/load-unlocked/.dirs/runtime 619s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 619s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 619s Unable to clean up temporary directory /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/load-unlocked: No such file or directory 619s ok 36 /utils/user-special-dirs/load-unlocked 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/reload-leaks/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/reload-leaks/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/reload-leaks/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/reload-leaks/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/reload-leaks/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/reload-leaks/.dirs/runtime 619s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 620s Unable to clean up temporary directory /tmp/test_utils-c-17_5ZGWJ3/utils/user-special-dirs/reload-leaks: No such file or directory 620s ok 37 /utils/user-special-dirs/reload-leaks 620s # End of user-special-dirs tests 620s # Start of clear-pointer tests 620s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/side-effects/.dirs/home 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/side-effects/.dirs/cache 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/side-effects/.dirs/system-config2 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/side-effects/.dirs/config 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/side-effects/.dirs/system-data2 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/side-effects/.dirs/data 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/side-effects/.dirs/state 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/clear-pointer/side-effects/.dirs/runtime 620s ok 38 /utils/clear-pointer/side-effects 620s # End of clear-pointer tests 620s # Start of aligned-mem tests 620s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/alignment/.dirs/home 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/alignment/.dirs/cache 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/alignment/.dirs/system-config2 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/alignment/.dirs/config 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/alignment/.dirs/system-data2 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/alignment/.dirs/data 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/alignment/.dirs/state 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/alignment/.dirs/runtime 620s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 620s ok 39 /utils/aligned-mem/alignment 620s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/zeroed/.dirs/home 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/zeroed/.dirs/cache 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/zeroed/.dirs/system-config2 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/zeroed/.dirs/config 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/zeroed/.dirs/system-data2 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/zeroed/.dirs/data 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/zeroed/.dirs/state 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/zeroed/.dirs/runtime 620s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 620s ok 40 /utils/aligned-mem/zeroed 620s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/free-sized/.dirs/home 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/free-sized/.dirs/cache 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/free-sized/.dirs/system-config2 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/free-sized/.dirs/config 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/free-sized/.dirs/system-data2 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/free-sized/.dirs/data 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/free-sized/.dirs/state 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_5ZGWJ3/utils/aligned-mem/free-sized/.dirs/runtime 620s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 620s ok 41 /utils/aligned-mem/free-sized 620s # Start of subprocess tests 620s # End of subprocess tests 620s # End of aligned-mem tests 620s # End of utils tests 620s ok - glib/utils-c-17.test 620s # Running test: glib/cancellable.test 620s TAP version 14 620s # random seed: R02Sf5ad1a59dc4a1abb08d3b06d9153e1da 620s 1..18 620s # Start of cancellable tests 620s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 620s ok 2 /cancellable/null 620s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 620s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 620s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 620s ok 4 /cancellable/connect-to-disposing-callback 620s ok 5 /cancellable/connect-cancelled-data-is-destroyed 620s # Toggle reference callback for GCancellable (0xff6bff3ec00), last: 1 620s # Toggle reference callback for GCancellable (0xff6bff3ec00), last: 0 620s # Toggle reference callback for GCancellable (0xff6bff3ec00), last: 1 620s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 620s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 620s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 620s ok 7 /cancellable/connect-cancelled-to-disposing-callback 620s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 620s # Toggle reference callback for GCancellable (0xff6bff3ec00), last: 1 620s # Toggle reference callback for GCancellable (0xff6bff3ec00), last: 0 620s # Toggle reference callback for GCancellable (0xff6bff3ec00), last: 1 620s # Toggle reference callback for GCancellable (0xff6bff3ec00), last: 0 620s # Toggle reference callback for GCancellable (0xff6bff3ec00), last: 1 620s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 620s # /cancellable/disconnect-on-cancelled-callback-hangs summary: Tests that trying to disconnect a cancellable from the cancelled signal callback will result in a deadlock as per #GCancellable::cancelled 620s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 620s # /cancellable/resets-on-cancel-callback-hangs summary: Tests that trying to reset a cancellable from the cancelled signal callback will result in a deadlock as per #GCancellable::cancelled 620s ok 11 /cancellable/resets-on-cancel-callback-hangs 620s ok 12 /cancellable/poll-fd 620s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 620s ok 13 /cancellable/poll-fd-cancelled 620s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 620s ok 14 /cancellable/poll-fd-cancelled-threaded 620s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 620s ok 15 /cancellable/cancel-reset-races 620s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 620s ok 16 /cancellable/cancel-reset-connect-races 620s # End of cancellable tests 620s # Start of cancellable-source tests 620s # /cancellable-source/threaded-dispose summary: Test a thread race between disposing of a GCancellableSource (in one thread) and cancelling the GCancellable it refers to (in another thread) 620s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 621s ok 17 /cancellable-source/threaded-dispose 621s # slow test /cancellable-source/threaded-dispose executed in 0.81 secs 621s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 621s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 621s ok 18 /cancellable-source/can-be-fired-multiple-times 621s # End of cancellable-source tests 621s ok - glib/cancellable.test 621s # Running test: glib/utf8-misc.test 621s TAP version 14 621s # random seed: R02S2d3394570221b3a9fe7448c6ab2dc8ce 621s 1..7 621s # Start of utf8 tests 621s ok 1 /utf8/strlen 621s ok 2 /utf8/strncpy 621s ok 3 /utf8/strrchr 621s ok 4 /utf8/reverse 621s ok 5 /utf8/substring 621s ok 6 /utf8/make-valid 621s ok 7 /utf8/truncate-middle 621s # End of utf8 tests 621s ok - glib/utf8-misc.test 621s # Running test: glib/private.test 621s TAP version 14 621s # random seed: R02S1a3aeac8aad8a4c635fefa080d68f80d 621s 1..8 621s # Start of thread tests 621s ok 1 /thread/private1 621s # Executing: glib/private.test 622s ok 2 /thread/private2 622s # slow test /thread/private2 executed in 1.08 secs 622s ok 3 /thread/private3 622s ok 4 /thread/staticprivate1 622s ok 5 /thread/staticprivate2 622s ok 6 /thread/staticprivate3 623s ok 7 /thread/staticprivate4 623s # slow test /thread/staticprivate4 executed in 1.08 secs 623s ok 8 /thread/staticprivate5 623s # End of thread tests 623s ok - glib/private.test 623s # Running test: glib/gdbus-message.test 623s TAP version 14 623s # random seed: R02S4ece35aac7acabf39f3eba575cc878b9 623s 1..3 623s # Start of gdbus tests 623s # Start of message tests 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/lock/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/lock/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_GW9LJ3/gdbus/message/lock/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/lock/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_GW9LJ3/gdbus/message/lock/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/lock/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/lock/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/lock/.dirs/runtime 623s ok 1 /gdbus/message/lock 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/copy/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/copy/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_GW9LJ3/gdbus/message/copy/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/copy/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_GW9LJ3/gdbus/message/copy/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/copy/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/copy/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/copy/.dirs/runtime 623s ok 2 /gdbus/message/copy 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/bytes-needed/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/bytes-needed/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_GW9LJ3/gdbus/message/bytes-needed/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/bytes-needed/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_GW9LJ3/gdbus/message/bytes-needed/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/bytes-needed/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/bytes-needed/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_GW9LJ3/gdbus/message/bytes-needed/.dirs/runtime 623s # Vector: 0 623s # Vector: 1 623s # Vector: 2 623s # Vector: 3 623s # Vector: 4 623s # Vector: 5 623s ok 3 /gdbus/message/bytes-needed 623s # End of message tests 623s # End of gdbus tests 623s ok - glib/gdbus-message.test 623s # Running test: glib/cxx-98.test 623s ok - glib/cxx-98.test 623s # Running test: glib/gdbus-addresses.test 623s TAP version 14 623s # random seed: R02S6f16cec7f16636eaef83fdd451e5e9ca 623s 1..2 623s # Start of gtask tests 623s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 623s ok 1 /gtask/name 623s # Start of name tests 623s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 623s ok 2 /gtask/name/macro-wrapper 623s # End of name tests 623s # End of gtask tests 623s TAP version 14 623s # random seed: R02S6ad534ed6e063a475857f34e45e9b8f2 623s 1..9 623s # Start of gdbus tests 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/empty-address/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/empty-address/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_F15LJ3/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_F15LJ3/gdbus/empty-address/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/empty-address/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_F15LJ3/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_F15LJ3/gdbus/empty-address/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/empty-address/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/empty-address/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_F15LJ3/gdbus/empty-address/.dirs/runtime 623s ok 1 /gdbus/empty-address 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/unsupported-address/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/unsupported-address/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_F15LJ3/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_F15LJ3/gdbus/unsupported-address/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/unsupported-address/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_F15LJ3/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_F15LJ3/gdbus/unsupported-address/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/unsupported-address/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/unsupported-address/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_F15LJ3/gdbus/unsupported-address/.dirs/runtime 623s ok 2 /gdbus/unsupported-address 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/address-parsing/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/address-parsing/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_F15LJ3/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_F15LJ3/gdbus/address-parsing/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/address-parsing/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_F15LJ3/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_F15LJ3/gdbus/address-parsing/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/address-parsing/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/address-parsing/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_F15LJ3/gdbus/address-parsing/.dirs/runtime 623s ok 3 /gdbus/address-parsing 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/unix-address/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/unix-address/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_F15LJ3/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_F15LJ3/gdbus/unix-address/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/unix-address/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_F15LJ3/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_F15LJ3/gdbus/unix-address/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/unix-address/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/unix-address/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_F15LJ3/gdbus/unix-address/.dirs/runtime 623s ok 4 /gdbus/unix-address 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/nonce-tcp-address/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/nonce-tcp-address/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_F15LJ3/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_F15LJ3/gdbus/nonce-tcp-address/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/nonce-tcp-address/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_F15LJ3/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_F15LJ3/gdbus/nonce-tcp-address/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/nonce-tcp-address/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/nonce-tcp-address/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_F15LJ3/gdbus/nonce-tcp-address/.dirs/runtime 623s ok 5 /gdbus/nonce-tcp-address 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/tcp-address/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/tcp-address/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_F15LJ3/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_F15LJ3/gdbus/tcp-address/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/tcp-address/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_F15LJ3/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_F15LJ3/gdbus/tcp-address/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/tcp-address/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/tcp-address/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_F15LJ3/gdbus/tcp-address/.dirs/runtime 623s ok 6 /gdbus/tcp-address 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/autolaunch-address/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/autolaunch-address/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_F15LJ3/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_F15LJ3/gdbus/autolaunch-address/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/autolaunch-address/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_F15LJ3/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_F15LJ3/gdbus/autolaunch-address/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/autolaunch-address/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/autolaunch-address/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_F15LJ3/gdbus/autolaunch-address/.dirs/runtime 623s ok 7 /gdbus/autolaunch-address 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/mixed-address/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/mixed-address/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_F15LJ3/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_F15LJ3/gdbus/mixed-address/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/mixed-address/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_F15LJ3/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_F15LJ3/gdbus/mixed-address/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/mixed-address/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/mixed-address/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_F15LJ3/gdbus/mixed-address/.dirs/runtime 623s ok 8 /gdbus/mixed-address 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/escape-address/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/escape-address/.dirs/cache 623s ok - glib/gdbus-addresses.test 623s # Running test: glib/rcbox.test 623s ok - glib/rcbox.test 623s # Running test: glib/relation.test 623s ok - glib/relation.test 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_F15LJ3/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_F15LJ3/gdbus/escape-address/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/escape-address/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_F15LJ3/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_F15LJ3/gdbus/escape-address/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/escape-address/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_F15LJ3/gdbus/escape-address/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_F15LJ3/gdbus/escape-address/.dirs/runtime 623s ok 9 /gdbus/escape-address 623s # End of gdbus tests 623s TAP version 14 623s # random seed: R02Se3dda6bef1515bfa8d69d2e900f25d33 623s 1..8 623s # Start of rcbox tests 623s ok 1 /rcbox/new 623s # global_point = 0x89556218720 623s ok 2 /rcbox/release-full 623s # global_point_a = 0x89556218720 623s # global_point_b = 0x895562187f0 623s ok 3 /rcbox/dup 623s ok 4 /rcbox/alignment 623s # End of rcbox tests 623s # Start of atomic-rcbox tests 623s ok 5 /atomic-rcbox/new 623s # global_point = 0x895562187f0 623s ok 6 /atomic-rcbox/release-full 623s # global_point_a = 0x895562187f0 623s # global_point_b = 0x89556218720 623s ok 7 /atomic-rcbox/dup 623s ok 8 /atomic-rcbox/alignment 623s # End of atomic-rcbox tests 623s TAP version 14 623s # random seed: R02Se4970f8d22fd108817870db7cdabad67 623s 1..1 623s # Start of glib tests 623s ok 1 /glib/relation 623s # End of glib tests 623s # Running test: glib/init.test 623s TAP version 14 623s # random seed: R02S93553c69e7583c58e3f9d24d4e04190b 623s 1..2 623s # Start of thread tests 623s # Start of deprecated tests 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_7EHHJ3/thread/deprecated/init/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_7EHHJ3/thread/deprecated/init/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_7EHHJ3/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_7EHHJ3/thread/deprecated/init/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_7EHHJ3/thread/deprecated/init/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_7EHHJ3/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_7EHHJ3/thread/deprecated/init/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_7EHHJ3/thread/deprecated/init/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_7EHHJ3/thread/deprecated/init/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_7EHHJ3/thread/deprecated/init/.dirs/runtime 623s ok 1 /thread/deprecated/init 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_7EHHJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_7EHHJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_7EHHJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_7EHHJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_7EHHJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_7EHHJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_7EHHJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_7EHHJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_7EHHJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_7EHHJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 623s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 623s # End of deprecated tests 623s # End of thread tests 623s ok - glib/init.test 623s # Running test: glib/gdbus-test-codegen-old.test 623s TAP version 14 623s # random seed: R02Sc8a8af3a21d9f4ba3f71513cabc322ef 623s 1..8 623s # Start of gdbus tests 623s # Start of codegen tests 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/annotations/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/annotations/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/annotations/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/annotations/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/annotations/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/annotations/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/annotations/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/annotations/.dirs/runtime 623s ok 1 /gdbus/codegen/annotations 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/interface_stability/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/interface_stability/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/interface_stability/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/interface_stability/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/interface_stability/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/interface_stability/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/interface_stability/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/interface_stability/.dirs/runtime 623s ok 2 /gdbus/codegen/interface_stability 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/object-manager/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/object-manager/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/object-manager/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/object-manager/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/object-manager/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/object-manager/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/object-manager/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/object-manager/.dirs/runtime 623s ok 3 /gdbus/codegen/object-manager 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/property-naming/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/property-naming/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/property-naming/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/property-naming/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/property-naming/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/property-naming/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/property-naming/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/property-naming/.dirs/runtime 623s ok 4 /gdbus/codegen/property-naming 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/autocleanups/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/autocleanups/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/autocleanups/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/autocleanups/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/autocleanups/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/autocleanups/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/autocleanups/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/autocleanups/.dirs/runtime 623s ok 5 /gdbus/codegen/autocleanups 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/deprecations/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/deprecations/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/deprecations/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/deprecations/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/deprecations/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/deprecations/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/deprecations/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/deprecations/.dirs/runtime 623s ok 6 /gdbus/codegen/deprecations 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/standalone-interface-info/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/standalone-interface-info/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/standalone-interface-info/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/standalone-interface-info/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/standalone-interface-info/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/standalone-interface-info/.dirs/runtime 623s ok 7 /gdbus/codegen/standalone-interface-info 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/unix-fd-list/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/unix-fd-list/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/unix-fd-list/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/unix-fd-list/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/unix-fd-list/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/unix-fd-list/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/unix-fd-list/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OX6GJ3/gdbus/codegen/unix-fd-list/.dirs/runtime 623s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 623s ok 8 /gdbus/codegen/unix-fd-list 623s # End of codegen tests 623s # End of gdbus tests 623s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 623s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 623s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 623s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 623s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 623s ok - glib/gdbus-test-codegen-old.test 623s # Running test: glib/sandbox.test 623s TAP version 14 623s # random seed: R02S32934e4130b0aa5fd042850d4a638e1a 623s 1..4 623s # Start of sandbox tests 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_U2VIJ3/sandbox/none/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_U2VIJ3/sandbox/none/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_U2VIJ3/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_U2VIJ3/sandbox/none/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_U2VIJ3/sandbox/none/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_U2VIJ3/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_U2VIJ3/sandbox/none/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_U2VIJ3/sandbox/none/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_U2VIJ3/sandbox/none/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_U2VIJ3/sandbox/none/.dirs/runtime 623s ok 1 /sandbox/none 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_U2VIJ3/sandbox/snap/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_U2VIJ3/sandbox/snap/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_U2VIJ3/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_U2VIJ3/sandbox/snap/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_U2VIJ3/sandbox/snap/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_U2VIJ3/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_U2VIJ3/sandbox/snap/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_U2VIJ3/sandbox/snap/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_U2VIJ3/sandbox/snap/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_U2VIJ3/sandbox/snap/.dirs/runtime 623s # Created snap.yaml in /tmp/test_sandbox_U2VIJ3/snap/current/meta/snap.yaml 623s ok 2 /sandbox/snap 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_U2VIJ3/sandbox/classic-snap/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_U2VIJ3/sandbox/classic-snap/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_U2VIJ3/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_U2VIJ3/sandbox/classic-snap/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_U2VIJ3/sandbox/classic-snap/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_U2VIJ3/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_U2VIJ3/sandbox/classic-snap/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_U2VIJ3/sandbox/classic-snap/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_U2VIJ3/sandbox/classic-snap/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_U2VIJ3/sandbox/classic-snap/.dirs/runtime 623s # Created snap.yaml in /tmp/test_sandbox_U2VIJ3/snap/current/meta/snap.yaml 623s ok 3 /sandbox/classic-snap 623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_U2VIJ3/sandbox/flatpak/.dirs/home 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_U2VIJ3/sandbox/flatpak/.dirs/cache 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_U2VIJ3/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_U2VIJ3/sandbox/flatpak/.dirs/system-config2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_U2VIJ3/sandbox/flatpak/.dirs/config 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_U2VIJ3/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_U2VIJ3/sandbox/flatpak/.dirs/system-data2 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_U2VIJ3/sandbox/flatpak/.dirs/data 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_U2VIJ3/sandbox/flatpak/.dirs/state 623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_U2VIJ3/sandbox/flatpak/.dirs/runtime 623s # Creating .flatpak-info in /tmp/test_sandbox_U2VIJ3/sandbox/flatpak/.dirs/runtime/.flatpak-info 623s ok 4 /sandbox/flatpak 623s # End of sandbox tests 623s ok - glib/sandbox.test 623s # Running test: glib/thread-pool.test 623s TAP version 14 623s # random seed: R02S18fe9910ace0fd7f603cff6ff6cfa370 623s 1..6 623s # Start of thread_pool tests 623s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3712 623s ok 1 /thread_pool/pool_fail 623s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 623s ok 2 /thread_pool/shared 623s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 623s ok 3 /thread_pool/exclusive 623s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 623s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 623s ok 4 /thread_pool/create_shared_after_exclusive 623s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 623s ok 5 /thread_pool/create_full 623s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 623s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 623s ok 6 /thread_pool/create_exclusive_after_shared 623s ok - glib/thread-pool.test 623s # End of thread_pool tests 623s # Running test: glib/bitlock.test 623s TAP version 14 623s # random seed: R02Sefea493acc19676d39564359dc97e67a 623s 1..2 623s # Start of bitlock tests 623s # Start of performance tests 623s # max perf: iterations per second 623s ok 1 /bitlock/performance/uncontended 623s ok 2 /bitlock/performance/parallel 623s # End of performance tests 623s # End of bitlock tests 623s ok - glib/bitlock.test 623s # Running test: glib/stream-rw_all.test 623s TAP version 14 623s # random seed: R02S11d3d85871d672b0e34a4dc094ff47c3 623s 1..3 623s # Start of stream tests 623s # Start of read_all_async tests 623s ok 1 /stream/read_all_async/memory 623s # End of read_all_async tests 623s # Start of write_all_async tests 623s ok 2 /stream/write_all_async/memory 623s # End of write_all_async tests 623s # Start of read_write_all_async tests 623s ok 3 /stream/read_write_all_async/pipe 623s # End of read_write_all_async tests 623s # End of stream tests 623s ok - glib/stream-rw_all.test 623s # Running test: glib/binding.test 623s TAP version 14 623s # random seed: R02Scb742ccea64447447e849ac13fba07eb 623s 1..19 623s # Start of binding tests 623s ok 1 /binding/default 623s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 623s ok 2 /binding/canonicalisation 623s ok 3 /binding/bidirectional 623s ok 4 /binding/transform 623s ok 5 /binding/transform-default 623s ok 6 /binding/transform-closure 623s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 623s ok 7 /binding/chain 623s ok 8 /binding/sync-create 623s ok 9 /binding/invert-boolean 623s ok 10 /binding/same-object 623s ok 11 /binding/unbind 623s ok 12 /binding/unbind-weak 623s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 623s ok 13 /binding/unbind-multiple 623s ok 14 /binding/fail 623s ok 15 /binding/interface 623s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 623s ok 16 /binding/concurrent-unbind 623s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 623s ok 17 /binding/concurrent-finalizing 623s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 623s ok 18 /binding/dispose-source 623s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 623s ok 19 /binding/dispose-target 623s # End of binding tests 623s ok - glib/binding.test 623s # Running test: glib/param.test 623s TAP version 14 623s # random seed: R02S09620ba2037d3ff78047d4e708f86d9e 623s 1..32 623s # Start of param tests 623s ok 1 /param/value 623s ok 2 /param/strings 623s ok 3 /param/qdata 623s ok 4 /param/validate 623s ok 5 /param/convert 623s ok 6 /param/implement # SKIP Skipping slow /param/implement test 623s ok 7 /param/default 623s ok 8 /param/is-valid-name 623s # Start of invalid-name tests 623s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 623s ok 9 /param/invalid-name/colon 623s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 623s ok 10 /param/invalid-name/first-char 623s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 623s ok 11 /param/invalid-name/empty 623s # End of invalid-name tests 623s # Start of implement tests 623s # Start of subprocess tests 623s # End of subprocess tests 623s # End of implement tests 623s # End of param tests 623s # Start of value tests 623s ok 12 /value/transform 623s # End of value tests 623s # Start of paramspec tests 623s ok 13 /paramspec/char 623s ok 14 /paramspec/uchar 623s ok 15 /paramspec/int 623s ok 16 /paramspec/uint 623s ok 17 /paramspec/long 623s ok 18 /paramspec/ulong 623s ok 19 /paramspec/int64 623s ok 20 /paramspec/uint64 623s ok 21 /paramspec/float 623s ok 22 /paramspec/double 623s ok 23 /paramspec/unichar 623s ok - glib/param.test 623s ok 24 /paramspec/param 623s ok 25 /paramspec/null-param 623s ok 26 /paramspec/string 623s ok 27 /paramspec/override 623s ok 28 /paramspec/gtype 623s ok 29 /paramspec/variant 623s ok 30 /paramspec/custom 623s ok 31 /paramspec/pool 623s # Start of variant tests 623s ok 32 /paramspec/variant/cmp 623s # End of variant tests 623s # End of paramspec tests 623s # Running test: glib/contexts.test 623s TAP version 14 623s # random seed: R02Scdc7ccda01fb3ebacb6b82cf61295b58 623s 1..5 623s # Start of gio tests 623s # Start of contexts tests 623s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 623s ok 1 /gio/contexts/thread-independence 623s ok 2 /gio/contexts/context-independence 623s # Start of context-specific tests 623s ok 3 /gio/contexts/context-specific/identity 623s ok 4 /gio/contexts/context-specific/emit 623s ok 5 /gio/contexts/context-specific/emit-and-unref 623s # End of context-specific tests 623s # End of contexts tests 623s # End of gio tests 623s ok - glib/contexts.test 623s # Running test: glib/socket-service.test 623s TAP version 14 623s # random seed: R02S323bff1ba7ce471953178fb6ba9d461c 623s 1..4 623s # Start of socket-service tests 623s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 623s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1fb4613b8240 and GSocketClientAsyncConnectData 0x1fb4613b2f00 623s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 623s ok 1 /socket-service/start-stop 623s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1fb4613bc2d0 and GSocketClientAsyncConnectData 0x1fb4613bbf30 623s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 623s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 623s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1fb4613bc250 for GSocketClientAsyncConnectData 0x1fb4613b2f00 623s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 623s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 623s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 623s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 623s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 623s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1fb4613bc250 for GSocketClientAsyncConnectData 0x1fb4613bbf30 623s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 623s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 623s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 623s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 623s ok 2 /socket-service/read_write_async 623s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1fb4613bc2d0 and GSocketClientAsyncConnectData 0x1fb4613bf9b0 623s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 623s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 623s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1fb4613bee10 for GSocketClientAsyncConnectData 0x1fb4613bf9b0 623s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 623s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 623s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 623s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 623s ok 3 /socket-service/read_writev_async 623s # Start of threaded tests 623s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 623s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1fb4613b0a70 and GSocketClientAsyncConnectData 0x1fb4613bbf30 623s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 623s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 623s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1fb4613c0240 for GSocketClientAsyncConnectData 0x1fb4613bbf30 623s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 623s ok - glib/socket-service.test 623s # Running test: glib/task.test 623s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 623s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 623s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 623s ok 4 /socket-service/threaded/712570 623s # End of threaded tests 623s # End of socket-service tests 623s TAP version 14 623s # random seed: R02Scac1d4a5f140b6154a7a70adc1f34d00 623s 1..36 623s # Start of gtask tests 623s ok 1 /gtask/basic 623s ok 2 /gtask/error 623s ok 3 /gtask/error-literal 623s ok 4 /gtask/error-literal-from-variable 623s ok 5 /gtask/return-from-same-iteration 623s ok 6 /gtask/return-from-toplevel 623s ok 7 /gtask/return-from-anon-thread 623s ok 8 /gtask/return-from-wrong-thread 623s ok 9 /gtask/no-callback 623s ok 10 /gtask/report-error 623s ok 11 /gtask/priority 623s ok 12 /gtask/name 623s ok 13 /gtask/static-name 623s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 624s ok 14 /gtask/asynchronous-cancellation 624s ok 15 /gtask/check-cancellable 624s ok 16 /gtask/return-if-cancelled 624s ok 17 /gtask/run-in-thread 624s ok 18 /gtask/run-in-thread-sync 624s ok 19 /gtask/run-in-thread-priority 624s ok 20 /gtask/run-in-thread-nested 624s ok 21 /gtask/run-in-thread-overflow 624s # slow test /gtask/run-in-thread-overflow executed in 0.52 secs 624s # GLib-GIO-DEBUG: GTask 0x1ad41c5aca0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 624s # GLib-GIO-DEBUG: GTask 0x1ad41c5ae30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 624s ok 22 /gtask/return-on-cancel 624s # GLib-GIO-DEBUG: GTask 0x1ad41bf1bf0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 624s ok 23 /gtask/return-on-cancel-sync 624s # GLib-GIO-DEBUG: GTask 0x1ad41bf1a50 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 624s ok 24 /gtask/return-on-cancel-atomic 624s ok 25 /gtask/return-pointer 624s ok 26 /gtask/return-value 624s ok 27 /gtask/return-prefixed-error 624s ok 28 /gtask/object-keepalive 624s ok 29 /gtask/legacy-error 624s ok 30 /gtask/finalize-without-return 624s # Start of name tests 624s ok 31 /gtask/name/macro-wrapper 624s # End of name tests 624s # Start of return tests 624s ok 32 /gtask/return/error-first 624s ok - glib/task.test 624s # Running test: glib/convert.test 624s ok 33 /gtask/return/value-first 624s # Start of in-idle tests 624s ok 34 /gtask/return/in-idle/error-first 624s ok 35 /gtask/return/in-idle/value-first 624s # End of in-idle tests 624s # End of return tests 624s # Start of attach-source tests 624s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source’s name if unset 624s ok 36 /gtask/attach-source/set-name 624s # End of attach-source tests 624s # End of gtask tests 624s TAP version 14 624s # random seed: R02S0759178da3fcb07a940e71a6c7a52396 624s 1..14 624s # Start of conversion tests 624s ok 1 /conversion/no-conv 624s ok 2 /conversion/iconv-state 624s ok 3 /conversion/illegal-sequence 624s ok 4 /conversion/byte-order 624s ok 5 /conversion/unicode 624s ok 6 /conversion/filename-utf8 624s ok 7 /conversion/filename-display 624s ok 8 /conversion/convert-embedded-nul 624s # Start of locale-to-utf8 tests 624s ok 9 /conversion/locale-to-utf8/embedded-nul 624s # Start of embedded-nul tests 624s # Start of subprocess tests 624s # End of subprocess tests 624s # End of embedded-nul tests 624s # End of locale-to-utf8 tests 624s # Start of locale-from-utf8 tests 624s ok 10 /conversion/locale-from-utf8/embedded-nul 624s # Start of embedded-nul tests 624s # Start of subprocess tests 624s # End of subprocess tests 624s # End of embedded-nul tests 624s # End of locale-from-utf8 tests 624s # Start of filename-to-utf8 tests 624s ok - glib/convert.test 624s # Running test: glib/unix.test 624s ok 11 /conversion/filename-to-utf8/embedded-nul 624s # Start of embedded-nul tests 624s # Start of subprocess tests 624s # End of subprocess tests 624s # End of embedded-nul tests 624s # End of filename-to-utf8 tests 624s # Start of filename-from-utf8 tests 624s ok 12 /conversion/filename-from-utf8/embedded-nul 624s # Start of embedded-nul tests 624s # Start of subprocess tests 624s # End of subprocess tests 624s # End of embedded-nul tests 624s # End of filename-from-utf8 tests 624s # Start of filename-from-uri tests 624s ok 13 /conversion/filename-from-uri/query-is-ignored 624s ok 14 /conversion/filename-from-uri/fragment-is-ignored 624s # End of filename-from-uri tests 624s # End of conversion tests 624s TAP version 14 624s # random seed: R02Sd6ed711043084f74a69b50e554311f54 624s 1..20 624s # Start of glib-unix tests 624s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 624s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 624s ok 1 /glib-unix/closefrom 624s ok 2 /glib-unix/pipe 624s # /glib-unix/pipe-stdio-overwrite summary: Test that g_unix_open_pipe() will use the first available FD, even if it’s stdin/stdout/stderr 624s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 624s ok 3 /glib-unix/pipe-stdio-overwrite 624s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 624s ok 4 /glib-unix/pipe-struct 624s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 624s ok 5 /glib-unix/pipe-struct-auto 624s ok 6 /glib-unix/error 624s ok 7 /glib-unix/nonblocking 625s ok 8 /glib-unix/sighup 625s # slow test /glib-unix/sighup executed in 0.50 secs 625s ok 9 /glib-unix/sigterm 625s # slow test /glib-unix/sigterm executed in 0.50 secs 626s ok 10 /glib-unix/sighup_again 626s # slow test /glib-unix/sighup_again executed in 0.50 secs 626s ok 11 /glib-unix/sighup_add_remove 626s ok 12 /glib-unix/sighup_nested 626s # Executing: glib/unix.test 628s ok 13 /glib-unix/callback_after_signal 628s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 628s ok 14 /glib-unix/child-wait 628s # Start of closefrom tests 628s # Start of subprocess tests 628s # End of subprocess tests 628s # End of closefrom tests 628s # Start of pipe tests 628s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 628s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 628s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 628s ok 15 /glib-unix/pipe/fd-cloexec 628s # End of pipe tests 628s # Start of sighup tests 629s ok 16 /glib-unix/sighup/alternate-stack 629s # slow test /glib-unix/sighup/alternate-stack executed in 1.01 secs 629s # End of sighup tests 629s # Start of sigterm tests 630s ok 17 /glib-unix/sigterm/alternate-stack 630s # slow test /glib-unix/sigterm/alternate-stack executed in 1.01 secs 630s # End of sigterm tests 630s # Start of sighup_again tests 631s ok - glib/unix.test 631s ok 18 /glib-unix/sighup_again/alternate-stack 631s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.01 secs 631s # End of sighup_again tests 631s # Start of get-passwd-entry tests 631s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 631s ok 19 /glib-unix/get-passwd-entry/root 631s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 631s ok 20 /glib-unix/get-passwd-entry/nonexistent 631s # End of get-passwd-entry tests 631s # End of glib-unix tests 631s TAP version 14 631s # random seed: R02Sffc2b6e17e6bbb5b1780025419897c2e 631s 1..41 631s # Start of utils tests 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/language-names/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/language-names/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/language-names/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/language-names/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/language-names/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/language-names/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/language-names/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/language-names/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/language-names/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/language-names/.dirs/runtime 631s ok 1 /utils/language-names 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/locale-variants/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/locale-variants/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/locale-variants/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/locale-variants/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/locale-variants/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/locale-variants/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/locale-variants/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/locale-variants/.dirs/runtime 631s # Testing locale ‘en’ 631s # Testing locale ‘sr@latin’ 631s # Running test: glib/utils.test 631s # Testing locale ‘fr_BE’ 631s # Testing locale ‘sr_SR@latin’ 631s # Testing locale ‘sr_SR@latin.UTF-8’ 631s # Testing locale ‘sr@latin_invalid’ 631s # Testing locale ‘sr.UTF-8@latin’ 631s # Testing locale ‘sr.UTF-8_latin’ 631s # Testing locale ‘sr.UTF-8@latin_invalid’ 631s ok 2 /utils/locale-variants 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/version/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/version/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/version/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/version/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/version/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/version/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/version/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/version/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/version/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/version/.dirs/runtime 631s ok 3 /utils/version 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/appname/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/appname/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/appname/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/appname/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/appname/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/appname/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/appname/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/appname/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/appname/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/appname/.dirs/runtime 631s ok 4 /utils/appname 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/prgname-thread-safety/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/prgname-thread-safety/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/prgname-thread-safety/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/prgname-thread-safety/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/prgname-thread-safety/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/prgname-thread-safety/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/prgname-thread-safety/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/prgname-thread-safety/.dirs/runtime 631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 631s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 631s ok 5 /utils/prgname-thread-safety 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/tmpdir/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/tmpdir/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/tmpdir/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/tmpdir/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/tmpdir/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/tmpdir/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/tmpdir/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/tmpdir/.dirs/runtime 631s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 631s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 631s Unable to clean up temporary directory /tmp/test_utils_OTFJJ3/utils/tmpdir: No such file or directory 631s ok 6 /utils/tmpdir 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/basic_bits/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/basic_bits/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/basic_bits/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/basic_bits/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/basic_bits/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/basic_bits/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/basic_bits/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/basic_bits/.dirs/runtime 631s ok 7 /utils/basic_bits 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/bits/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/bits/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/bits/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/bits/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/bits/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/bits/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/bits/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/bits/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/bits/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/bits/.dirs/runtime 631s ok 8 /utils/bits 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/swap/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/swap/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/swap/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/swap/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/swap/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/swap/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/swap/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/swap/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/swap/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/swap/.dirs/runtime 631s ok 9 /utils/swap 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/find-program/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/find-program/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/find-program/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/find-program/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/find-program/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/find-program/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/find-program/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/find-program/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/find-program/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/find-program/.dirs/runtime 631s ok 10 /utils/find-program 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/find-program-for-path/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/find-program-for-path/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/find-program-for-path/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/find-program-for-path/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/find-program-for-path/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/find-program-for-path/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/find-program-for-path/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/find-program-for-path/.dirs/runtime 631s ok 11 /utils/find-program-for-path 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/debug/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/debug/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/debug/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/debug/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/debug/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/debug/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/debug/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/debug/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/debug/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/debug/.dirs/runtime 631s Unable to clean up temporary directory /tmp/test_utils_OTFJJ3/utils/debug: No such file or directory 631s ok 12 /utils/debug 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/codeset/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/codeset/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/codeset/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/codeset/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/codeset/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/codeset/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/codeset/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/codeset/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/codeset/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/codeset/.dirs/runtime 631s ok 13 /utils/codeset 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/codeset2/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/codeset2/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/codeset2/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/codeset2/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/codeset2/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/codeset2/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/codeset2/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/codeset2/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/codeset2/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/codeset2/.dirs/runtime 631s Unable to clean up temporary directory /tmp/test_utils_OTFJJ3/utils/codeset2: No such file or directory 631s ok 14 /utils/codeset2 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/console-charset/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/console-charset/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/console-charset/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/console-charset/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/console-charset/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/console-charset/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/console-charset/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/console-charset/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/console-charset/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/console-charset/.dirs/runtime 631s ok 15 /utils/console-charset 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/gettext/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/gettext/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/gettext/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/gettext/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/gettext/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/gettext/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/gettext/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/gettext/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/gettext/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/gettext/.dirs/runtime 631s ok 16 /utils/gettext 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/username/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/username/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/username/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/username/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/username/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/username/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/username/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/username/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/username/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/username/.dirs/runtime 631s ok 17 /utils/username 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/realname/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/realname/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/realname/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/realname/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/realname/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/realname/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/realname/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/realname/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/realname/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/realname/.dirs/runtime 631s ok 18 /utils/realname 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/hostname/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/hostname/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/hostname/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/hostname/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/hostname/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/hostname/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/hostname/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/hostname/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/hostname/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/hostname/.dirs/runtime 631s ok 19 /utils/hostname 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/os-info/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/os-info/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/os-info/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/os-info/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/os-info/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/os-info/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/os-info/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/os-info/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/os-info/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/os-info/.dirs/runtime 631s # NAME: Ubuntu 631s ok 20 /utils/os-info 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/clear-pointer/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/clear-pointer/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/clear-pointer/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/clear-pointer/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/clear-pointer/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/clear-pointer/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/clear-pointer/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/clear-pointer/.dirs/runtime 631s ok 21 /utils/clear-pointer 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/clear-pointer-cast/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/clear-pointer-cast/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/clear-pointer-cast/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/clear-pointer-cast/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/clear-pointer-cast/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/clear-pointer-cast/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/clear-pointer-cast/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/clear-pointer-cast/.dirs/runtime 631s ok 22 /utils/clear-pointer-cast 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/take-pointer/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/take-pointer/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/take-pointer/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/take-pointer/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/take-pointer/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/take-pointer/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/take-pointer/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/take-pointer/.dirs/runtime 631s ok 23 /utils/take-pointer 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/clear-source/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/clear-source/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/clear-source/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/clear-source/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/clear-source/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/clear-source/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/clear-source/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/clear-source/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/clear-source/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/clear-source/.dirs/runtime 631s ok 24 /utils/clear-source 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/misc-mem/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/misc-mem/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/misc-mem/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/misc-mem/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/misc-mem/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/misc-mem/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/misc-mem/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/misc-mem/.dirs/runtime 631s ok 25 /utils/misc-mem 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/aligned-mem/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/aligned-mem/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/aligned-mem/.dirs/runtime 631s # /utils/aligned-mem summary: Aligned memory allocator 631s # Alignment must not be zero 631s # Alignment must be a power of two 631s # Alignment must be a multiple of sizeof(void*) 631s ok 26 /utils/aligned-mem 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/free-sized/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/free-sized/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/free-sized/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/free-sized/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/free-sized/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/free-sized/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/free-sized/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/free-sized/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/free-sized/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/free-sized/.dirs/runtime 631s # /utils/free-sized summary: Check that g_free_sized() works 631s ok 27 /utils/free-sized 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/nullify/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/nullify/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/nullify/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/nullify/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/nullify/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/nullify/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/nullify/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/nullify/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/nullify/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/nullify/.dirs/runtime 631s ok 28 /utils/nullify 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/atexit/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/atexit/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/atexit/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/atexit/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/atexit/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/atexit/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/atexit/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/atexit/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/atexit/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/atexit/.dirs/runtime 631s Unable to clean up temporary directory /tmp/test_utils_OTFJJ3/utils/atexit: No such file or directory 631s ok 29 /utils/atexit 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/check-setuid/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/check-setuid/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/check-setuid/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/check-setuid/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/check-setuid/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/check-setuid/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/check-setuid/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/check-setuid/.dirs/runtime 631s ok 30 /utils/check-setuid 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/int-limits/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/int-limits/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/int-limits/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/int-limits/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/int-limits/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/int-limits/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/int-limits/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/int-limits/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/int-limits/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/int-limits/.dirs/runtime 631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 631s ok 31 /utils/int-limits 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/clear-list/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/clear-list/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/clear-list/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/clear-list/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/clear-list/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/clear-list/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/clear-list/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/clear-list/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/clear-list/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/clear-list/.dirs/runtime 631s ok 32 /utils/clear-list 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/clear-slist/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/clear-slist/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/clear-slist/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/clear-slist/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/clear-slist/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/clear-slist/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/clear-slist/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/clear-slist/.dirs/runtime 631s ok 33 /utils/clear-slist 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/steal-handle-id/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/steal-handle-id/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/steal-handle-id/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/steal-handle-id/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/steal-handle-id/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/steal-handle-id/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/steal-handle-id/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/steal-handle-id/.dirs/runtime 631s ok 34 /utils/steal-handle-id 631s # Start of user-special-dirs tests 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/desktop/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/desktop/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/user-special-dirs/desktop/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/desktop/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/user-special-dirs/desktop/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/desktop/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/desktop/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/desktop/.dirs/runtime 631s ok 35 /utils/user-special-dirs/desktop 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/load-unlocked/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/load-unlocked/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/load-unlocked/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/load-unlocked/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/load-unlocked/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/load-unlocked/.dirs/runtime 631s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 631s Unable to clean up temporary directory /tmp/test_utils_OTFJJ3/utils/user-special-dirs/load-unlocked: No such file or directory 631s ok 36 /utils/user-special-dirs/load-unlocked 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/reload-leaks/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/reload-leaks/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/reload-leaks/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/reload-leaks/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/reload-leaks/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/user-special-dirs/reload-leaks/.dirs/runtime 631s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 631s Unable to clean up temporary directory /tmp/test_utils_OTFJJ3/utils/user-special-dirs/reload-leaks: No such file or directory 631s ok 37 /utils/user-special-dirs/reload-leaks 631s # End of user-special-dirs tests 631s # Start of clear-pointer tests 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/clear-pointer/side-effects/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/clear-pointer/side-effects/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/clear-pointer/side-effects/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/clear-pointer/side-effects/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/clear-pointer/side-effects/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/clear-pointer/side-effects/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/clear-pointer/side-effects/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/clear-pointer/side-effects/.dirs/runtime 631s ok 38 /utils/clear-pointer/side-effects 631s # End of clear-pointer tests 631s # Start of aligned-mem tests 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/alignment/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/alignment/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/aligned-mem/alignment/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/alignment/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/aligned-mem/alignment/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/alignment/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/alignment/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/aligned-mem/alignment/.dirs/runtime 631s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 631s ok 39 /utils/aligned-mem/alignment 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/zeroed/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/zeroed/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/aligned-mem/zeroed/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/zeroed/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/aligned-mem/zeroed/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/zeroed/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/zeroed/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/aligned-mem/zeroed/.dirs/runtime 631s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 631s ok 40 /utils/aligned-mem/zeroed 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/free-sized/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/free-sized/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_OTFJJ3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils_OTFJJ3/utils/aligned-mem/free-sized/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/free-sized/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_OTFJJ3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils_OTFJJ3/utils/aligned-mem/free-sized/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/free-sized/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_OTFJJ3/utils/aligned-mem/free-sized/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_OTFJJ3/utils/aligned-mem/free-sized/.dirs/runtime 631s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 631s ok 41 /utils/aligned-mem/free-sized 631s # Start of subprocess tests 631s # End of subprocess tests 631s # End of aligned-mem tests 631s # End of utils tests 631s TAP version 14 631s # random seed: R02Sb654c0c3584ebeaca42d30b948bbffab 631s 1..1 631s # Start of gobject tests 631s # Start of refcount tests 631s # init 0xc5a2131d4a0 631s # 631s # init 0xc5a21315580 631s # 631s ok - glib/utils.test 631s # Running test: glib/signals-refcount1.test 631s # Executing: glib/signals-refcount1.test 636s ok - glib/signals-refcount1.test 636s # dispose 0xc5a2131d4a0! 636s # 636s # dispose 0xc5a21315580! 636s # 636s ok 1 /gobject/refcount/signals 636s # slow test /gobject/refcount/signals executed in 5.00 secs 636s # End of refcount tests 636s # End of gobject tests 636s # Running test: glib/cxx-11.test 636s TAP version 14 636s # random seed: R02S4ec8a59231c7863180734ebbd0df7494 636s 1..2 636s # Start of gtask tests 636s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 636s ok 1 /gtask/name 636s # Start of name tests 636s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 636s ok 2 /gtask/name/macro-wrapper 636s # End of name tests 636s # End of gtask tests 636s ok - glib/cxx-11.test 636s # Running test: glib/642026.test 636s TAP version 14 636s # random seed: R02Sc4f232b8eb4ca6a4154d9a1194f3399c 636s 1..1 636s # Start of glib tests 636s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 636s # Executing: glib/642026.test 636s ok - glib/642026.test 636s ok 1 /glib/642026 636s # End of glib tests 636s # Running test: glib/types.test 636s TAP version 14 636s # random seed: R02S4a86bcf04fea40e0ecd4edc121558a58 636s 1..1 636s # Start of types tests 636s ok 1 /types/basic_types 636s # End of types tests 636s ok - glib/types.test 636s # Running test: glib/memory-settings-backend.test 636s TAP version 14 636s # random seed: R02S194a288f89342ee74f8011692c700637 636s 1..1 636s # Start of memory-settings-backend tests 636s ok 1 /memory-settings-backend/extension-point-registered 636s # End of memory-settings-backend tests 636s ok - glib/memory-settings-backend.test 636s # Running test: glib/dir.test 636s TAP version 14 636s # random seed: R02S2afbb4d6ec1d3403d0f678b0864ce0f3 636s 1..3 636s # Start of dir tests 636s ok 1 /dir/read 636s ok 2 /dir/nonexisting 636s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 636s ok 3 /dir/refcounting 636s # End of dir tests 636s ok - glib/dir.test 636s # Running test: glib/gdbus-proxy-threads.test 636s TAP version 14 636s # random seed: R02Sc4991e28fce0359e22f695da9199d180 636s 1..1 636s # Start of gdbus tests 636s # Start of proxy tests 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_0HWMJ3/gdbus/proxy/vs-threads/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_0HWMJ3/gdbus/proxy/vs-threads/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_0HWMJ3/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_0HWMJ3/gdbus/proxy/vs-threads/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_0HWMJ3/gdbus/proxy/vs-threads/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_0HWMJ3/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_0HWMJ3/gdbus/proxy/vs-threads/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_0HWMJ3/gdbus/proxy/vs-threads/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_0HWMJ3/gdbus/proxy/vs-threads/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_0HWMJ3/gdbus/proxy/vs-threads/.dirs/runtime 638s ok - glib/gdbus-proxy-threads.test 638s ok 1 /gdbus/proxy/vs-threads 638s # slow test /gdbus/proxy/vs-threads executed in 1.65 secs 638s # End of proxy tests 638s # End of gdbus tests 638s # Running test: glib/signals-refcount3.test 638s TAP version 14 638s # random seed: R02S66f6614ee6c0901d35802bec8b026dc7 638s 1..1 638s # Start of gobject tests 638s # Start of refcount tests 638s # init 0x11e1edead4a0 638s # 638s # init 0x11e1edea5580 638s # 638s cleaning up pid 7661 641s # Executing: glib/signals-refcount3.test 643s ok - glib/signals-refcount3.test 643s # dispose 0x11e1edead4a0! 643s # 643s # dispose 0x11e1edea5580! 643s # 643s ok 1 /gobject/refcount/signals 643s # slow test /gobject/refcount/signals executed in 5.00 secs 643s # End of refcount tests 643s # End of gobject tests 643s # Running test: glib/gdbus-connection-loss.test 643s TAP version 14 643s # random seed: R02S99e85e38a9eee3f79047829d43c200be 643s 1..1 643s # Start of gdbus tests 643s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_XIULJ3/gdbus/connection-loss/.dirs/home 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_XIULJ3/gdbus/connection-loss/.dirs/cache 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_XIULJ3/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_XIULJ3/gdbus/connection-loss/.dirs/system-config2 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_XIULJ3/gdbus/connection-loss/.dirs/config 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_XIULJ3/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_XIULJ3/gdbus/connection-loss/.dirs/system-data2 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_XIULJ3/gdbus/connection-loss/.dirs/data 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_XIULJ3/gdbus/connection-loss/.dirs/state 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_XIULJ3/gdbus/connection-loss/.dirs/runtime 643s ok 1 /gdbus/connection-loss 643s # End of gdbus tests 643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 643s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 643s ok - glib/gdbus-connection-loss.test 643s # Running test: glib/once.test 643s TAP version 14 643s # random seed: R02S5ee7264dc1dda850a58977df7936dbcb 643s 1..5 643s # Start of once tests 643s # /once/single-threaded summary: Test g_once() usage from a single thread 643s ok 1 /once/single-threaded 643s # /once/multi-threaded summary: Test g_once() usage from multiple threads 643s ok 2 /once/multi-threaded 643s # End of once tests 643s # Start of once-init tests 643s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 643s ok 3 /once-init/single-threaded 643s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 643s ok - glib/once.test 643s ok 4 /once-init/multi-threaded 643s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 643s ok 5 /once-init/string 643s # End of once-init tests 643s # Running test: glib/threadtests.test 643s TAP version 14 643s # random seed: R02Sa5de709114f26f936b13e75c0b6064d6 643s 1..5 643s # Start of GObject tests 643s ok 1 /GObject/threaded-object-init 644s ok 2 /GObject/threaded-weak-ref 644s # slow test /GObject/threaded-weak-ref executed in 0.74 secs 644s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 644s # /GObject/threaded-toggle-notify summary: Test that toggle reference notifications can be changed safely from another (the main) thread without causing the notifying thread to abort 644s ok 3 /GObject/threaded-toggle-notify 644s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 644s # Start of threaded-weak-ref tests 644s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 644s # /GObject/threaded-weak-ref/on-finalization summary: Test that a weak ref added by another thread during dispose of a GObject is cleared during finalisation. Use on_weak_ref_disposed() to synchronize the other thread with the dispose vfunc. 644s ok 5 /GObject/threaded-weak-ref/on-finalization 644s # End of threaded-weak-ref tests 644s # End of GObject tests 644s ok - glib/threadtests.test 644s # Running test: glib/cond.test 644s TAP version 14 644s # random seed: R02S81af6efa12d8772c6959a98012181c07 644s 1..4 644s # Start of thread tests 644s ok 1 /thread/cond1 644s ok 2 /thread/cond2 644s # Start of cond tests 648s ok 3 /thread/cond/wait-until 648s # slow test /thread/cond/wait-until executed in 1.02 secs 648s # Start of wait-until tests 648s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 648s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 648s # Executing: glib/cond.test 648s ok - glib/cond.test 648s # Running test: glib/data-output-stream.test 648s ok - glib/data-output-stream.test 648s # Running test: glib/fileattributematcher.test 648s ok - glib/fileattributematcher.test 648s # Running test: glib/function-info.test 648s ok - glib/function-info.test 648s # Running test: glib/hostutils.test 648s ok - glib/hostutils.test 648s # Running test: glib/converter.test 648s ok - glib/converter.test 648s # Running test: glib/gdbus-bz627724.test 648s ok - glib/gdbus-bz627724.test 648s # Running test: glib/signals.test 648s ok - glib/signals.test 648s # Running test: glib/mem-overflow.test 648s ok - glib/mem-overflow.test 648s # Running test: glib/gdbus-test-codegen.test 648s ok - glib/gdbus-test-codegen.test 648s # Running test: glib/references.test 648s ok - glib/references.test 648s # Running test: glib/testfilemonitor.test 648s ok - glib/testfilemonitor.test 648s # Running test: glib/g-file-info-filesystem-readonly.test 648s ok - glib/g-file-info-filesystem-readonly.test 648s # Running test: glib/hash.test 648s ok - glib/hash.test 648s # Running test: glib/properties-refcount3.test 648s ok 4 /thread/cond/wait-until/contended-and-interrupted 648s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 648s # End of wait-until tests 648s # End of cond tests 648s # End of thread tests 648s TAP version 14 648s # random seed: R02S4f0d0f64d7543db9b6a087641116bbdc 648s 1..7 648s # Start of data-output-stream tests 648s ok 1 /data-output-stream/basic 648s ok 2 /data-output-stream/write-lines-LF 648s ok 3 /data-output-stream/write-lines-CR 648s ok 4 /data-output-stream/write-lines-CR-LF 648s ok 5 /data-output-stream/write-int 648s ok 6 /data-output-stream/seek 648s ok 7 /data-output-stream/truncate 648s # End of data-output-stream tests 648s TAP version 14 648s # random seed: R02S6a3ff5c57edd074811fa401efee1b457 648s 1..3 648s # Start of fileattributematcher tests 648s ok 1 /fileattributematcher/exact 648s ok 2 /fileattributematcher/equality 648s ok 3 /fileattributematcher/subtract 648s # End of fileattributematcher tests 648s TAP version 14 648s # random seed: R02S9c220f93830e30cd9682adc2f4c76682 648s 1..1 648s # Start of function-info tests 648s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_4Z8MJ3/function-info/invoker/.dirs/home 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_4Z8MJ3/function-info/invoker/.dirs/cache 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_4Z8MJ3/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_4Z8MJ3/function-info/invoker/.dirs/system-config2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_4Z8MJ3/function-info/invoker/.dirs/config 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_4Z8MJ3/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_4Z8MJ3/function-info/invoker/.dirs/system-data2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_4Z8MJ3/function-info/invoker/.dirs/data 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_4Z8MJ3/function-info/invoker/.dirs/state 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_4Z8MJ3/function-info/invoker/.dirs/runtime 648s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 648s # /function-info/invoker summary: Test preparing a function invoker 648s ok 1 /function-info/invoker 648s # End of function-info tests 648s TAP version 14 648s # random seed: R02S04457b2c8e3b5b986042b078a8f52e4f 648s 1..4 648s # Start of hostutils tests 648s ok 1 /hostutils/hostname_is_non_ascii 648s ok 2 /hostutils/to_ascii 648s ok 3 /hostutils/to_unicode 648s ok 4 /hostutils/is_ip_addr 648s # End of hostutils tests 648s TAP version 14 648s # random seed: R02Se5cab6118d3ff319462ed3419f31b446 648s 1..3 648s # Start of converter tests 648s ok 1 /converter/bytes 648s ok 2 /converter/extra-bytes-at-end 648s ok 3 /converter/gzip-os-property 648s # End of converter tests 648s TAP version 14 648s # random seed: R02Sa558559a9a389c97818bf0d9894666f0 648s 1..1 648s # Start of gdbus tests 648s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_4LTMJ3/gdbus/bz627724/.dirs/home 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_4LTMJ3/gdbus/bz627724/.dirs/cache 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_4LTMJ3/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_4LTMJ3/gdbus/bz627724/.dirs/system-config2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_4LTMJ3/gdbus/bz627724/.dirs/config 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_4LTMJ3/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_4LTMJ3/gdbus/bz627724/.dirs/system-data2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_4LTMJ3/gdbus/bz627724/.dirs/data 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_4LTMJ3/gdbus/bz627724/.dirs/state 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_4LTMJ3/gdbus/bz627724/.dirs/runtime 648s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 648s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 648s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 648s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 648s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 648s ok 1 /gdbus/bz627724 648s # End of gdbus tests 648s TAP version 14 648s # random seed: R02Sd122237d2f00314b4d440ede8d94e6c6 648s 1..31 648s # Start of gobject tests 648s # Start of signals tests 648s ok 1 /gobject/signals/all-types 648s ok 2 /gobject/signals/variant 648s ok 3 /gobject/signals/destroy-target-object 648s ok 4 /gobject/signals/generic-marshaller-1 648s ok 5 /gobject/signals/generic-marshaller-2 648s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 648s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 648s ok 8 /gobject/signals/generic-marshaller-int-return 648s ok 9 /gobject/signals/generic-marshaller-uint-return 648s ok 10 /gobject/signals/generic-marshaller-interface-return 648s ok 11 /gobject/signals/custom-marshaller 648s ok 12 /gobject/signals/connect 648s ok 13 /gobject/signals/emission-hook 648s ok 14 /gobject/signals/emitv 648s ok 15 /gobject/signals/accumulator 648s # Signal: accumulator-class-first 648s # Signal: accumulator-class-last 648s # Signal: accumulator-class-cleanup 648s # Signal: accumulator-class-first-last 648s # Signal: accumulator-class-first-last-cleanup 648s # Signal: accumulator-class-last-cleanup 648s ok 16 /gobject/signals/accumulator-class 648s ok 17 /gobject/signals/introspection 648s ok 18 /gobject/signals/block-handler 648s ok 19 /gobject/signals/stop-emission 648s ok 20 /gobject/signals/invocation-hint 648s ok 21 /gobject/signals/test-disconnection-wrong-object 648s ok 22 /gobject/signals/clear-signal-handler 648s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 648s ok 23 /gobject/signals/lookup 648s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 648s ok 24 /gobject/signals/parse-name 648s ok 25 /gobject/signals/is-valid-name 648s ok 26 /gobject/signals/weak-ref-disconnect 648s # Start of lookup tests 648s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 648s ok 27 /gobject/signals/lookup/invalid 648s # End of lookup tests 648s # Start of parse-name tests 648s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 648s # Parser input: 648s # Parser input: 7zip 648s # Parser input: invalid:signal 648s # Parser input: simple-detailed:: 648s # Parser input: simple-detailed: 648s # Parser input: : 648s # Parser input: :: 648s # Parser input: :valid-detail 648s # Parser input: ::valid-detail 648s ok 28 /gobject/signals/parse-name/invalid 648s # End of parse-name tests 648s # Start of invalid-name tests 648s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 648s ok 29 /gobject/signals/invalid-name/colon 648s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 648s ok 30 /gobject/signals/invalid-name/first-char 648s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 648s ok 31 /gobject/signals/invalid-name/empty 648s # End of invalid-name tests 648s # End of signals tests 648s # End of gobject tests 648s TAP version 14 648s # random seed: R02Sfe76b1fe0b58d274b5a9a265d3f13e33 648s 1..2 648s # Start of mem tests 648s ok 1 /mem/overflow 648s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 648s ok 2 /mem/empty-alloc 648s # Start of overflow tests 648s # Start of subprocess tests 648s # End of subprocess tests 648s # End of overflow tests 648s # Start of empty-alloc tests 648s # End of empty-alloc tests 648s # End of mem tests 648s TAP version 14 648s # random seed: R02Sfa924f744618ad418fb43083cd577461 648s 1..8 648s # Start of gdbus tests 648s # Start of codegen tests 648s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/annotations/.dirs/home 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/annotations/.dirs/cache 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/annotations/.dirs/system-config2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/annotations/.dirs/config 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/annotations/.dirs/system-data2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/annotations/.dirs/data 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/annotations/.dirs/state 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/annotations/.dirs/runtime 648s ok 1 /gdbus/codegen/annotations 648s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/interface_stability/.dirs/home 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/interface_stability/.dirs/cache 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/interface_stability/.dirs/system-config2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/interface_stability/.dirs/config 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/interface_stability/.dirs/system-data2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/interface_stability/.dirs/data 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/interface_stability/.dirs/state 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/interface_stability/.dirs/runtime 648s ok 2 /gdbus/codegen/interface_stability 648s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/object-manager/.dirs/home 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/object-manager/.dirs/cache 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/object-manager/.dirs/system-config2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/object-manager/.dirs/config 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/object-manager/.dirs/system-data2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/object-manager/.dirs/data 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/object-manager/.dirs/state 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/object-manager/.dirs/runtime 648s ok 3 /gdbus/codegen/object-manager 648s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/property-naming/.dirs/home 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/property-naming/.dirs/cache 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/property-naming/.dirs/system-config2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/property-naming/.dirs/config 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/property-naming/.dirs/system-data2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/property-naming/.dirs/data 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/property-naming/.dirs/state 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/property-naming/.dirs/runtime 648s ok 4 /gdbus/codegen/property-naming 648s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/autocleanups/.dirs/home 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/autocleanups/.dirs/cache 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/autocleanups/.dirs/system-config2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/autocleanups/.dirs/config 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/autocleanups/.dirs/system-data2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/autocleanups/.dirs/data 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/autocleanups/.dirs/state 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/autocleanups/.dirs/runtime 648s ok 5 /gdbus/codegen/autocleanups 648s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/deprecations/.dirs/home 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/deprecations/.dirs/cache 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/deprecations/.dirs/system-config2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/deprecations/.dirs/config 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/deprecations/.dirs/system-data2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/deprecations/.dirs/data 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/deprecations/.dirs/state 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/deprecations/.dirs/runtime 648s ok 6 /gdbus/codegen/deprecations 648s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/standalone-interface-info/.dirs/home 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/standalone-interface-info/.dirs/cache 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/standalone-interface-info/.dirs/config 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/standalone-interface-info/.dirs/data 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/standalone-interface-info/.dirs/state 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/standalone-interface-info/.dirs/runtime 648s ok 7 /gdbus/codegen/standalone-interface-info 648s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/unix-fd-list/.dirs/home 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/unix-fd-list/.dirs/cache 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/unix-fd-list/.dirs/system-config2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/unix-fd-list/.dirs/config 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/unix-fd-list/.dirs/system-data2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/unix-fd-list/.dirs/data 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/unix-fd-list/.dirs/state 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_7BDNJ3/gdbus/codegen/unix-fd-list/.dirs/runtime 648s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 648s ok 8 /gdbus/codegen/unix-fd-list 648s # End of codegen tests 648s # End of gdbus tests 648s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 648s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 648s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 648s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 648s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 648s TAP version 14 648s # random seed: R02S09f3c59d6b1873c633a866fde8962a32 648s 1..4 648s # Start of gobject tests 648s ok 1 /gobject/references 648s ok 2 /gobject/references-many 648s ok 3 /gobject/references_two 648s ok 4 /gobject/references_run_dispose 648s # End of gobject tests 648s TAP version 14 648s # random seed: R02S0a15c6c0f2447e09df4c9f5ad0dacfea 648s 1..8 648s # Start of monitor tests 648s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 648s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 648s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 648s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 648s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 648s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 648s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 648s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 648s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 648s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 648s # Start of file tests 648s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 648s # End of file tests 648s # End of monitor tests 648s TAP version 14 648s # random seed: R02S320473c1e89caf265fb7adc0113db25f 648s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 648s 1..2 648s # Start of g-file-info-filesystem-readonly tests 648s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime 648s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 648s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state 648s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_564UJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime 648s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 648s # End of g-file-info-filesystem-readonly tests 648s TAP version 14 648s # random seed: R02S7117bc3a713d714e4c18d5a13cfcae30 648s 1..34 648s # Start of hash tests 648s ok 1 /hash/misc 648s ok 2 /hash/one 648s ok 3 /hash/honeyman 648s ok 4 /hash/direct 648s ok 5 /hash/direct2 648s ok 6 /hash/int 648s ok 7 /hash/int64 648s ok 8 /hash/double 648s ok 9 /hash/string 648s ok 10 /hash/set 648s ok 11 /hash/set-ref 648s ok 12 /hash/ref 648s ok 13 /hash/remove-all 648s ok 14 /hash/recursive-remove-all 648s ok 15 /hash/find 648s ok 16 /hash/foreach 648s ok 17 /hash/foreach-steal 648s ok 18 /hash/steal-extended 648s ok 19 /hash/steal-all-keys 648s ok 20 /hash/steal-all-values 648s ok 21 /hash/lookup-extended 648s ok 22 /hash/new-similar 648s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 648s ok 23 /hash/lookup-null-key 648s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 648s ok 24 /hash/destroy-modify 648s ok 25 /hash/consistency 648s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 648s ok 26 /hash/iter-replace 648s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 648s ok 27 /hash/set-insert-corruption 648s ok 28 /hash/set-to-strv 648s ok 29 /hash/get-keys-as-ptr-array 648s ok 30 /hash/get-values-as-ptr-array 648s ok 31 /hash/primes 648s # Start of int64 tests 648s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 648s ok 32 /hash/int64/collisions 648s # End of int64 tests 648s # Start of double tests 648s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 648s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 648s ok 33 /hash/double/collisions 648s # End of double tests 648s # Start of recursive-remove-all tests 648s # End of recursive-remove-all tests 648s # Start of steal-extended tests 648s ok 34 /hash/steal-extended/optional 648s # End of steal-extended tests 648s # End of hash tests 648s TAP version 14 648s # random seed: R02S770c216cf3bea7b95d80124ed86f621a 648s 1..1 648s # Start of gobject tests 648s # Start of refcount tests 651s # Executing: glib/properties-refcount3.test 656s # Executing: glib/properties-refcount3.test 661s # Executing: glib/properties-refcount3.test 666s # Executing: glib/properties-refcount3.test 672s # Executing: glib/properties-refcount3.test 676s # Executing: glib/properties-refcount3.test 676s # 676s # stopping 676s # 676s # stopped 676s # 676s # 13184580 7651621 676s # 676s ok 1 /gobject/refcount/properties-3 676s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 676s # End of refcount tests 676s # End of gobject tests 676s ok - glib/properties-refcount3.test 676s # Running test: glib/pollable.test 676s TAP version 14 676s # random seed: R02S84f980b97157b8177cc4931d4f4490ce 676s 1..6 676s # Start of pollable tests 676s ok 1 /pollable/converter 676s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 676s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x147dd28b900 and GSocketClientAsyncConnectData 0x147dd28d7a0 676s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 676s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 676s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x147dd283e00 for GSocketClientAsyncConnectData 0x147dd28d7a0 676s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 676s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 676s ok - glib/pollable.test 676s # Running test: glib/properties.test 676s ok - glib/properties.test 676s # Running test: glib/memory-output-stream.test 676s ok - glib/memory-output-stream.test 676s # Running test: glib/memory-monitor.test 676s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 676s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 676s ok 2 /pollable/socket 676s # Start of unix tests 676s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 676s ok 3 /pollable/unix/pipe 676s # /pollable/unix/pty summary: Test that PTYs are considered pollable 676s ok 4 /pollable/unix/pty 676s # /pollable/unix/file summary: Test that regular files are not considered pollable 676s ok 5 /pollable/unix/file 676s # /pollable/unix/nulldev summary: Test that /dev/null is not considered pollable, but only if on a system where we are able to tell it apart from devices that actually implement poll 676s ok 6 /pollable/unix/nulldev 676s # End of unix tests 676s # End of pollable tests 676s TAP version 14 676s # random seed: R02Sb13f3818dd9c6a3133e67faa004d0394 676s 1..14 676s # Start of properties tests 676s ok 1 /properties/install 676s ok 2 /properties/install-many 676s ok 3 /properties/notify 676s ok 4 /properties/notify-queue 676s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 676s ok 5 /properties/construct 676s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 676s # Test g_object_get_property with an initialized value 676s # Test g_object_get_property with an uninitialized value 676s # Test g_object_get_property with a transformable value 676s ok 6 /properties/get-property 676s ok 7 /properties/testv_with_no_properties 676s ok 8 /properties/testv_with_valid_properties 676s ok 9 /properties/testv_with_invalid_property_type 676s ok 10 /properties/testv_with_invalid_property_names 676s ok 11 /properties/testv_getv 676s ok 12 /properties/testv_notify_queue 676s # Start of notify tests 676s ok 13 /properties/notify/too-many-freezes 676s # End of notify tests 676s # Start of set-property tests 676s # Start of variant tests 676s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 676s ok 14 /properties/set-property/variant/floating 676s # End of variant tests 676s # End of set-property tests 676s # End of properties tests 676s TAP version 14 676s # random seed: R02Scdb565fe5bf7b12c1fc586fd885f3b43 676s 1..10 676s # Start of memory-output-stream tests 676s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 676s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 676s ok 1 /memory-output-stream/truncate 676s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 676s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 676s ok 2 /memory-output-stream/get-data-size 676s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 676s ok 3 /memory-output-stream/properties 676s ok 4 /memory-output-stream/write-bytes 676s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 676s ok 5 /memory-output-stream/write-null 676s ok 6 /memory-output-stream/writev 676s ok 7 /memory-output-stream/writev_nonblocking 676s ok 8 /memory-output-stream/steal_as_bytes 676s # Start of seek tests 676s ok 9 /memory-output-stream/seek/fixed 676s ok 10 /memory-output-stream/seek/resizable 676s # End of seek tests 676s # End of memory-output-stream tests 676s TAP version 14 676s # random seed: R02S2898a544f7c86d49801311beddf58c72 676s 1..1 676s # Start of memory-monitor tests 676s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 676s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ‘gio-memory-monitor’ 676s ok 1 /memory-monitor/default 676s # End of memory-monitor tests 676s ok - glib/memory-monitor.test 676s # Running test: glib/override.test 676s TAP version 14 676s # random seed: R02S406cf8c9e422e89970f1e1c37f901aa9 676s 1..1 676s # Start of gobject tests 676s # *** emitting foo on a TestA instance 676s # Expecting: TestA::foo,TestI::foo 676s # Got: TestA::foo,TestI::foo 676s # *** emitting bar on a TestA instance 676s # Expecting: TestA::bar 676s # Got: TestA::bar 676s # *** emitting baz on a TestA instance 676s # Expecting: TestA::baz 676s # Got: TestA::baz 676s # *** emitting foo on a TestB instance 676s # Expecting: TestB::foo,TestA::foo,TestI::foo 676s # Got: TestB::foo,TestA::foo,TestI::foo 676s # *** emitting bar on a TestB instance 676s # Expecting: TestB::bar,TestA::bar 676s # Got: TestB::bar,TestA::bar 676s # *** emitting baz on a TestB instance 676s # Expecting: TestB::baz,TestA::baz 676s # Got: TestB::baz,TestA::baz 676s # *** emitting foo on a TestC instance 676s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 676s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 676s # *** emitting bar on a TestC instance 676s # Expecting: TestC::bar,TestB::bar,TestA::bar 676s # Got: TestC::bar,TestB::bar,TestA::bar 676s # *** emitting baz on a TestC instance 676s # Expecting: TestC::baz,TestB::baz,TestA::baz 676s # Got: TestC::baz,TestB::baz,TestA::baz 676s ok 1 /gobject/override 676s # End of gobject tests 676s ok - glib/override.test 676s # Running test: glib/gutils-user-database.test 676s ok - glib/gutils-user-database.test 676s TAP version 14 676s # random seed: R02S943504aad5466cf23b42112748973a9e 676s 1..1 676s # Start of gutils tests 676s ok 1 /gutils/get_user_database_entry 676s # End of gutils tests 676s # Running test: glib/dynamictype.test 676s ok - glib/dynamictype.test 676s # Running test: glib/gsocketclient-slow.test 676s TAP version 14 676s # random seed: R02S71ea2acfa2e14b5fd9e1eed605b5c990 676s 1..2 676s # Start of gobject tests 676s ok 1 /gobject/dynamic-type 676s # Start of dynamic-type tests 676s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 676s ok 2 /gobject/dynamic-type/query 676s # End of dynamic-type tests 676s # End of gobject tests 676s TAP version 14 676s # random seed: R02S30f42413a35af2fd46c4ada7418e865c 676s 1..4 676s # Start of socket-client tests 676s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 676s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 676s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x13abfbec78e0 and GSocketClientAsyncConnectData 0x13abfbec2520 676s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 676s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 676s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x13abfbecb540 for GSocketClientAsyncConnectData 0x13abfbec2520 676s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 677s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 677s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 677s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 677s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 677s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 677s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x13abfbecb540 for GSocketClientAsyncConnectData 0x13abfbec2520 677s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 678s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 678s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 678s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 678s ok 1 /socket-client/connection-fail 678s # slow test /socket-client/connection-fail executed in 1.20 secs 678s # Start of happy-eyeballs tests 678s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x13abfbeca0d0 and GSocketClientAsyncConnectData 0x13abfbecb070 678s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 678s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 678s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x13abfbece340 for GSocketClientAsyncConnectData 0x13abfbecb070 678s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 678s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 678s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 678s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 678s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 678s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 678s ok 2 /socket-client/happy-eyeballs/slow 678s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 678s # Start of cancellation tests 678s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x13abfbecad50 and GSocketClientAsyncConnectData 0x13abfbece5e0 678s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 678s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 678s ok 3 /socket-client/happy-eyeballs/cancellation/instant 678s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x13abfbec9ff0 and GSocketClientAsyncConnectData 0x13abfbecdf70 678s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 678s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 678s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x13abfbeceba0 for GSocketClientAsyncConnectData 0x13abfbecdf70 678s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 679s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 679s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 679s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 679s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 679s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 679s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 679s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 679s # End of cancellation tests 679s # End of happy-eyeballs tests 679s # End of socket-client tests 679s ok - glib/gsocketclient-slow.test 679s # Running test: glib/mount-operation.test 679s TAP version 14 679s ok - glib/mount-operation.test 679s # Running test: glib/file.test 679s # random seed: R02Se32233efbda4bccbe1a6014f6b45a3ef 679s 1..2 679s # Start of mount-operation tests 679s ok 1 /mount-operation/construction 679s ok 2 /mount-operation/properties 679s # End of mount-operation tests 679s TAP version 14 679s # random seed: R02S0be032370bdaa19c4b400b58a241bc7d 679s 1..55 679s # Start of file tests 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/basic/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/basic/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/basic/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/basic/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/basic/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/basic/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/basic/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/basic/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/basic/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/basic/.dirs/runtime 679s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 679s ok 1 /file/basic 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/build-filename/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/build-filename/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/build-filename/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/build-filename/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/build-filename/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/build-filename/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/build-filename/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/build-filename/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/build-filename/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/build-filename/.dirs/runtime 679s ok 2 /file/build-filename 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/build-filenamev/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/build-filenamev/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/build-filenamev/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/build-filenamev/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/build-filenamev/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/build-filenamev/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/build-filenamev/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/build-filenamev/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/build-filenamev/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/build-filenamev/.dirs/runtime 679s ok 3 /file/build-filenamev 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/parent/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/parent/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/parent/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/parent/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/parent/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/parent/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/parent/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/parent/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/parent/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/parent/.dirs/runtime 679s ok 4 /file/parent 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/child/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/child/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/child/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/child/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/child/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/child/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/child/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/child/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/child/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/child/.dirs/runtime 679s ok 5 /file/child 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/empty-path/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/empty-path/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/empty-path/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/empty-path/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/empty-path/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/empty-path/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/empty-path/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/empty-path/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/empty-path/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/empty-path/.dirs/runtime 679s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 679s # /file/empty-path summary: Check that creating a file with an empty path results in errors 679s ok 6 /file/empty-path 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/type/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/type/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/type/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/type/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/type/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/type/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/type/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/type/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/type/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/type/.dirs/runtime 679s ok 7 /file/type 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/parse-name/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/parse-name/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/parse-name/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/parse-name/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/parse-name/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/parse-name/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/parse-name/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/parse-name/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/parse-name/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/parse-name/.dirs/runtime 679s ok 8 /file/parse-name 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/replace-load/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/replace-load/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/replace-load/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/replace-load/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/replace-load/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/replace-load/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/replace-load/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/replace-load/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/replace-load/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/replace-load/.dirs/runtime 679s ok 9 /file/replace-load 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/replace-cancel/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/replace-cancel/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/replace-cancel/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/replace-cancel/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/replace-cancel/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/replace-cancel/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/replace-cancel/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/replace-cancel/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/replace-cancel/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/replace-cancel/.dirs/runtime 679s # Bug Reference: https://bugzilla.gnome.org/629301 679s ok 10 /file/replace-cancel 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/replace-symlink/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/replace-symlink/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/replace-symlink/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/replace-symlink/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/replace-symlink/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/replace-symlink/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/replace-symlink/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/replace-symlink/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/replace-symlink/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/replace-symlink/.dirs/runtime 679s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 679s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 679s # Using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_symlink_AGRLJ3 679s ok 11 /file/replace-symlink 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/async-new-tmp/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/async-new-tmp/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/async-new-tmp/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/async-new-tmp/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/async-new-tmp/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/async-new-tmp/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/async-new-tmp/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/async-new-tmp/.dirs/runtime 679s ok 12 /file/async-new-tmp 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/async-new-tmp-dir/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/async-new-tmp-dir/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/async-new-tmp-dir/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/async-new-tmp-dir/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/async-new-tmp-dir/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/async-new-tmp-dir/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/async-new-tmp-dir/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/async-new-tmp-dir/.dirs/runtime 679s ok 13 /file/async-new-tmp-dir 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/async-delete/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/async-delete/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/async-delete/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/async-delete/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/async-delete/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/async-delete/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/async-delete/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/async-delete/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/async-delete/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/async-delete/.dirs/runtime 679s ok 14 /file/async-delete 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/async-make-symlink/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/async-make-symlink/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/async-make-symlink/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/async-make-symlink/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/async-make-symlink/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/async-make-symlink/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/async-make-symlink/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/async-make-symlink/.dirs/runtime 679s ok 15 /file/async-make-symlink 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/copy-preserve-mode/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/copy-preserve-mode/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/copy-preserve-mode/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/copy-preserve-mode/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/copy-preserve-mode/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/copy-preserve-mode/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/copy-preserve-mode/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/copy-preserve-mode/.dirs/runtime 679s # Current umask: 2 679s # Vector 0 679s # Vector 1 679s # Vector 2 679s # Vector 3 679s # Vector 4 679s # Vector 5 679s # Vector 6 679s # Vector 7 679s # Vector 8 679s # Vector 9 679s # Vector 10 679s ok 16 /file/copy-preserve-mode 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/copy-async-with-closures/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/copy-async-with-closures/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/copy-async-with-closures/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/copy-async-with-closures/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/copy-async-with-closures/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/copy-async-with-closures/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/copy-async-with-closures/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/copy-async-with-closures/.dirs/runtime 679s ok 17 /file/copy-async-with-closures 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/measure/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/measure/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/measure/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/measure/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/measure/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/measure/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/measure/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/measure/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/measure/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/measure/.dirs/runtime 679s ok 18 /file/measure 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/measure-async/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/measure-async/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/measure-async/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/measure-async/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/measure-async/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/measure-async/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/measure-async/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/measure-async/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/measure-async/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/measure-async/.dirs/runtime 679s ok 19 /file/measure-async 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/load-bytes/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/load-bytes/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/load-bytes/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/load-bytes/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/load-bytes/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/load-bytes/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/load-bytes/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/load-bytes/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/load-bytes/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/load-bytes/.dirs/runtime 679s ok 20 /file/load-bytes 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/load-bytes-async/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/load-bytes-async/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/load-bytes-async/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/load-bytes-async/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/load-bytes-async/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/load-bytes-async/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/load-bytes-async/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/load-bytes-async/.dirs/runtime 679s ok 21 /file/load-bytes-async 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/load-bytes-4gb/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/load-bytes-4gb/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/load-bytes-4gb/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/load-bytes-4gb/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/load-bytes-4gb/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/load-bytes-4gb/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/load-bytes-4gb/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/load-bytes-4gb/.dirs/runtime 679s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/load-contents-4gb/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/load-contents-4gb/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/load-contents-4gb/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/load-contents-4gb/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/load-contents-4gb/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/load-contents-4gb/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/load-contents-4gb/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/load-contents-4gb/.dirs/runtime 679s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/load-contents-4gb-async/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/load-contents-4gb-async/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/load-contents-4gb-async/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/load-contents-4gb-async/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/load-contents-4gb-async/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/load-contents-4gb-async/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/load-contents-4gb-async/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/load-contents-4gb-async/.dirs/runtime 679s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/writev/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/writev/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/writev/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/writev/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/writev/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/writev/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/writev/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/writev/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/writev/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/writev/.dirs/runtime 679s ok 25 /file/writev 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/build-attribute-list-for-copy/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/build-attribute-list-for-copy/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/build-attribute-list-for-copy/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/build-attribute-list-for-copy/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/build-attribute-list-for-copy/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/build-attribute-list-for-copy/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/build-attribute-list-for-copy/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/build-attribute-list-for-copy/.dirs/runtime 679s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 679s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 679s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,time::modified,time::modified-nsec,time::modified-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 679s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,time::modified,time::modified-nsec,time::modified-usec,unix::gid,unix::uid,xattr::*,xattr-sys::* 679s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 679s # Attributes for copy: standard::size,xattr::* 679s # Attributes for copy: standard::size,unix::mode,xattr::* 679s ok 26 /file/build-attribute-list-for-copy 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/move_async/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/move_async/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/move_async/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/move_async/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/move_async/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/move_async/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/move_async/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/move_async/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/move_async/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/move_async/.dirs/runtime 679s ok 27 /file/move_async 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/move-async-with-closures/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/move-async-with-closures/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/move-async-with-closures/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/move-async-with-closures/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/move-async-with-closures/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/move-async-with-closures/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/move-async-with-closures/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/move-async-with-closures/.dirs/runtime 679s ok 28 /file/move-async-with-closures 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/query-zero-length-content-type/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/query-zero-length-content-type/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/query-zero-length-content-type/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/query-zero-length-content-type/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/query-zero-length-content-type/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/query-zero-length-content-type/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/query-zero-length-content-type/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/query-zero-length-content-type/.dirs/runtime 679s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 679s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 679s ok 29 /file/query-zero-length-content-type 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-file/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-file/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/query-default-handler-file/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-file/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/query-default-handler-file/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-file/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-file/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/query-default-handler-file/.dirs/runtime 679s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_2PWJJ3/file/query-default-handler-file/.dirs/data/applications 679s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_2PWJJ3/file/query-default-handler-file/.dirs/config 679s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_2PWJJ3/file/query-default-handler-file/.dirs/config 679s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_2PWJJ3/file/query-default-handler-file/.dirs/config 679s ok 30 /file/query-default-handler-file 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-file-async/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-file-async/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/query-default-handler-file-async/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-file-async/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/query-default-handler-file-async/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-file-async/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-file-async/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/query-default-handler-file-async/.dirs/runtime 679s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_2PWJJ3/file/query-default-handler-file-async/.dirs/data/applications 679s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_2PWJJ3/file/query-default-handler-file-async/.dirs/config 679s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_2PWJJ3/file/query-default-handler-file/.dirs/config to /tmp/test_file_2PWJJ3/file/query-default-handler-file-async/.dirs/config 679s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_2PWJJ3/file/query-default-handler-file-async/.dirs/config 679s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_2PWJJ3/file/query-default-handler-file-async/.dirs/config 679s ok 31 /file/query-default-handler-file-async 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-uri/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-uri/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/query-default-handler-uri/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-uri/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/query-default-handler-uri/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-uri/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-uri/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/query-default-handler-uri/.dirs/runtime 679s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_2PWJJ3/file/query-default-handler-uri/.dirs/data/applications 679s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_2PWJJ3/file/query-default-handler-uri/.dirs/config 679s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_2PWJJ3/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_2PWJJ3/file/query-default-handler-uri/.dirs/config 679s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_2PWJJ3/file/query-default-handler-uri/.dirs/config 679s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_2PWJJ3/file/query-default-handler-uri/.dirs/config 679s ok 32 /file/query-default-handler-uri 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-uri-async/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-uri-async/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/query-default-handler-uri-async/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-uri-async/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/query-default-handler-uri-async/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-uri-async/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/query-default-handler-uri-async/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/query-default-handler-uri-async/.dirs/runtime 679s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_2PWJJ3/file/query-default-handler-uri-async/.dirs/data/applications 679s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_2PWJJ3/file/query-default-handler-uri-async/.dirs/config 679s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_2PWJJ3/file/query-default-handler-uri/.dirs/config to /tmp/test_file_2PWJJ3/file/query-default-handler-uri-async/.dirs/config 679s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_2PWJJ3/file/query-default-handler-uri-async/.dirs/config 679s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_2PWJJ3/file/query-default-handler-uri-async/.dirs/config 679s ok 33 /file/query-default-handler-uri-async 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/enumerator-cancellation/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/enumerator-cancellation/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/enumerator-cancellation/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/enumerator-cancellation/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/enumerator-cancellation/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/enumerator-cancellation/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/enumerator-cancellation/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/enumerator-cancellation/.dirs/runtime 679s ok 34 /file/enumerator-cancellation 679s # Start of async-create-delete tests 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/0/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/0/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/async-create-delete/0/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/0/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/async-create-delete/0/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/0/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/0/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/async-create-delete/0/.dirs/runtime 679s ok 35 /file/async-create-delete/0 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/1/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/1/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/async-create-delete/1/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/1/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/async-create-delete/1/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/1/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/1/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/async-create-delete/1/.dirs/runtime 679s ok 36 /file/async-create-delete/1 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/10/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/10/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/async-create-delete/10/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/10/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/async-create-delete/10/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/10/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/10/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/async-create-delete/10/.dirs/runtime 679s ok 37 /file/async-create-delete/10 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/25/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/25/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/async-create-delete/25/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/25/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/async-create-delete/25/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/25/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/25/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/async-create-delete/25/.dirs/runtime 679s ok 38 /file/async-create-delete/25 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/4096/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/4096/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/async-create-delete/4096/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/4096/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/async-create-delete/4096/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/4096/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/async-create-delete/4096/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/async-create-delete/4096/.dirs/runtime 679s ok 39 /file/async-create-delete/4096 679s # End of async-create-delete tests 679s # Start of replace-symlink tests 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/replace-symlink/using-etag/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/replace-symlink/using-etag/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/replace-symlink/using-etag/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/replace-symlink/using-etag/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/replace-symlink/using-etag/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/replace-symlink/using-etag/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/replace-symlink/using-etag/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/replace-symlink/using-etag/.dirs/runtime 679s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 679s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 679s # Using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_symlink_using_etag_MO8NJ3 681s # Executing: glib/file.test 681s ok 40 /file/replace-symlink/using-etag 681s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 681s # End of replace-symlink tests 681s # Start of replace tests 681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/replace/write-only/.dirs/home 681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/replace/write-only/.dirs/cache 681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/replace/write-only/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/replace/write-only/.dirs/system-config2 681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/replace/write-only/.dirs/config 681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/replace/write-only/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/replace/write-only/.dirs/system-data2 681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/replace/write-only/.dirs/data 681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/replace/write-only/.dirs/state 681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/replace/write-only/.dirs/runtime 681s # /file/replace/write-only summary: Test various situations for g_file_replace() 681s # Current umask: 2 681s # Test 0, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_XSAOJ3 681s # Test 1, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_HZAOJ3 681s # Test 2, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_0J5NJ3 681s # Test 3, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_V18OJ3 681s # Test 4, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_IC9OJ3 681s # Test 5, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_TM9OJ3 681s # Test 6, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_TBCPJ3 681s # Test 7, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_2W3OJ3 681s # Test 8, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_X93OJ3 681s # Test 9, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_9V2OJ3 681s # Test 10, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_QZ5OJ3 681s # Test 11, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_SBXOJ3 681s # Test 12, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_YKXOJ3 681s # Test 13, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_8UXOJ3 681s # Test 14, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_RQ1OJ3 681s # Test 15, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_H9YOJ3 681s # Test 16, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_PTQOJ3 681s # Test 17, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_IOMVJ3 681s # Test 18, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_AFFVJ3 681s # Test 19, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_VYGVJ3 681s # Test 20, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_IJ8UJ3 681s # Test 21, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_7NAVJ3 681s # Test 22, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_7W4UJ3 681s # Test 23, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_C34UJ3 681s # Test 24, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_1S9VJ3 681s # Test 25, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_PHCWJ3 681s # Test 26, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_AQCWJ3 681s # Test 27, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_FYCWJ3 681s # Test 28, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_647VJ3 681s # Test 29, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_N1WVJ3 681s # Test 30, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_R51VJ3 681s # Test 31, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_FC2VJ3 681s # Test 32, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_Z30VJ3 681s # Test 33, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_OERVJ3 681s # Test 34, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_CPRVJ3 681s # Test 35, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_VEQVJ3 681s # Test 36, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_NGUVJ3 681s # Test 37, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_7C0WJ3 681s # Test 38, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_NH4WJ3 681s # Test 39, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_6YTWJ3 681s # Test 40, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_ESWWJ3 681s # Test 41, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_VMMWJ3 681s # Test 42, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_JTQWJ3 681s # Test 43, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_0DIWJ3 681s # Test 44, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_39OXJ3 681s # Test 45, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_3XNXJ3 681s # Test 46, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_7PCXJ3 681s # Test 47, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_SXCXJ3 681s # Test 48, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_U4EXJ3 681s # We do not have CAP_DAC_OVERRIDE or equivalent 681s ok 41 /file/replace/write-only 681s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/replace/read-write/.dirs/home 681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/replace/read-write/.dirs/cache 681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/replace/read-write/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/replace/read-write/.dirs/system-config2 681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/replace/read-write/.dirs/config 681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/replace/read-write/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/replace/read-write/.dirs/system-data2 681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/replace/read-write/.dirs/data 681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/replace/read-write/.dirs/state 681s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/replace/read-write/.dirs/runtime 681s # /file/replace/read-write summary: Test various situations for g_file_replace() 681s # Current umask: 2 681s # Test 0, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_89DXJ3 681s # Test 1, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_2HEXJ3 681s # Test 2, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_VC5WJ3 681s # Test 3, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_RASSJ3 681s # Test 4, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_Q1QSJ3 681s # Test 5, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_GBRSJ3 681s # Test 6, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_ZIUSJ3 681s # Test 7, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_N2KSJ3 681s # Test 8, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_P4PSJ3 681s # Test 9, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_WCQSJ3 681s # Test 10, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_KPGSJ3 681s # Test 11, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_FGESJ3 681s # Test 12, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_PQESJ3 681s # Test 13, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_GPJSJ3 681s # Test 14, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_369RJ3 681s # Test 15, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_DZ7RJ3 681s # Test 16, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_BVDSJ3 681s # Test 17, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_VDBSJ3 681s # Test 18, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_45FTJ3 681s # Test 19, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_AILTJ3 681s # Test 20, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_CGBTJ3 681s # Test 21, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_PWETJ3 681s # Test 22, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_HB6SJ3 681s # Test 23, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_KI6SJ3 681s # Test 24, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_XC8SJ3 681s # Test 25, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_9RZSJ3 681s # Test 26, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_Y0ZSJ3 681s # Test 27, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_0PYSJ3 681s # Test 28, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_YWXSJ3 681s # Test 29, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_Y47TJ3 681s # Test 30, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_AF8TJ3 681s # Test 31, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_W16TJ3 681s # Test 32, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_73AUJ3 681s # Test 33, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_Y08TJ3 681s # Test 34, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_KA9TJ3 681s # Test 35, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_NL1TJ3 682s # Test 36, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_7EZTJ3 682s # Test 37, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_AW2TJ3 682s # Test 38, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_QTOTJ3 682s # Test 39, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_77RTJ3 682s # Test 40, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_RTUUJ3 682s # Test 41, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_WEZUJ3 682s # Test 42, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_FARUJ3 682s # Test 43, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_VKOUJ3 682s # Test 44, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_W1SUJ3 682s # Test 45, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_5NRUJ3 682s # Test 46, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_ZHJUJ3 682s # Test 47, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_C4HUJ3 682s # Test 48, using temporary directory /tmp/test_file_2PWJJ3/g_file_replace_9ALUJ3 682s # We do not have CAP_DAC_OVERRIDE or equivalent 682s ok 42 /file/replace/read-write 682s # End of replace tests 682s # Start of copy tests 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/copy/progress/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/copy/progress/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/copy/progress/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/copy/progress/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/copy/progress/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/copy/progress/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/copy/progress/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/copy/progress/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/copy/progress/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/copy/progress/.dirs/runtime 682s ok 43 /file/copy/progress 682s # End of copy tests 682s # Start of writev tests 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/writev/no-bytes-written/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/writev/no-bytes-written/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/writev/no-bytes-written/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/writev/no-bytes-written/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/writev/no-bytes-written/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/writev/no-bytes-written/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/writev/no-bytes-written/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/writev/no-bytes-written/.dirs/runtime 682s ok 44 /file/writev/no-bytes-written 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/writev/no-vectors/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/writev/no-vectors/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/writev/no-vectors/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/writev/no-vectors/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/writev/no-vectors/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/writev/no-vectors/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/writev/no-vectors/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/writev/no-vectors/.dirs/runtime 682s ok 45 /file/writev/no-vectors 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/writev/empty-vectors/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/writev/empty-vectors/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/writev/empty-vectors/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/writev/empty-vectors/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/writev/empty-vectors/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/writev/empty-vectors/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/writev/empty-vectors/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/writev/empty-vectors/.dirs/runtime 682s ok 46 /file/writev/empty-vectors 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/writev/too-big-vectors/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/writev/too-big-vectors/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/writev/too-big-vectors/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/writev/too-big-vectors/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/writev/too-big-vectors/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/writev/too-big-vectors/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/writev/too-big-vectors/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/writev/too-big-vectors/.dirs/runtime 682s ok 47 /file/writev/too-big-vectors 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/writev/async/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/writev/async/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/writev/async/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/writev/async/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/writev/async/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/writev/async/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/writev/async/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/writev/async/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/writev/async/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/writev/async/.dirs/runtime 682s ok 48 /file/writev/async 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/writev/async_all/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/writev/async_all/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/writev/async_all/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/writev/async_all/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/writev/async_all/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/writev/async_all/.dirs/runtime 682s ok 49 /file/writev/async_all 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-empty-vectors/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-empty-vectors/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/writev/async_all-empty-vectors/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-empty-vectors/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/writev/async_all-empty-vectors/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-empty-vectors/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-empty-vectors/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/writev/async_all-empty-vectors/.dirs/runtime 682s ok 50 /file/writev/async_all-empty-vectors 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-no-vectors/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-no-vectors/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/writev/async_all-no-vectors/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-no-vectors/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/writev/async_all-no-vectors/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-no-vectors/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-no-vectors/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/writev/async_all-no-vectors/.dirs/runtime 682s ok 51 /file/writev/async_all-no-vectors 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-to-big-vectors/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-to-big-vectors/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/writev/async_all-to-big-vectors/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-to-big-vectors/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/writev/async_all-to-big-vectors/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-to-big-vectors/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-to-big-vectors/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/writev/async_all-to-big-vectors/.dirs/runtime 682s ok 52 /file/writev/async_all-to-big-vectors 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-cancellation/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-cancellation/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/writev/async_all-cancellation/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-cancellation/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/writev/async_all-cancellation/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-cancellation/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/writev/async_all-cancellation/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/writev/async_all-cancellation/.dirs/runtime 682s ok 53 /file/writev/async_all-cancellation 682s # End of writev tests 682s ok - glib/file.test 682s # Running test: glib/mkenums.py.test 682s # Start of from-uri tests 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/from-uri/ignores-query-string/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/from-uri/ignores-query-string/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/from-uri/ignores-query-string/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/from-uri/ignores-query-string/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/from-uri/ignores-query-string/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/from-uri/ignores-query-string/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/from-uri/ignores-query-string/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/from-uri/ignores-query-string/.dirs/runtime 682s ok 54 /file/from-uri/ignores-query-string 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_2PWJJ3/file/from-uri/ignores-fragment/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_2PWJJ3/file/from-uri/ignores-fragment/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_2PWJJ3/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_2PWJJ3/file/from-uri/ignores-fragment/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_2PWJJ3/file/from-uri/ignores-fragment/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_2PWJJ3/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_2PWJJ3/file/from-uri/ignores-fragment/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_2PWJJ3/file/from-uri/ignores-fragment/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_2PWJJ3/file/from-uri/ignores-fragment/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_2PWJJ3/file/from-uri/ignores-fragment/.dirs/runtime 682s ok 55 /file/from-uri/ignores-fragment 682s # End of from-uri tests 682s # End of file tests 682s TAP version 13 682s ok 1 __main__.TestMkenums.test_available_in 682s # glib-mkenums: /usr/bin/glib-mkenums 682s # tmpdir: /tmp/tmpfd3r05gz 682s # rspfile: False 682s # /tmp/tmpfd3r05gz/tmpt60z9qjb.h: 682s # typedef enum { 682s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 682s # } GDBusServerFlags; 682s # 682s # /tmp/tmpfd3r05gz/tmpigmwb_ur.template: 682s # /*** BEGIN file-header ***/ 682s # file-header 682s # /*** END file-header ***/ 682s # 682s # /*** BEGIN file-production ***/ 682s # file-production 682s # filename: @filename@ 682s # basename: @basename@ 682s # /*** END file-production ***/ 682s # 682s # /*** BEGIN enumeration-production ***/ 682s # enumeration-production 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END enumeration-production ***/ 682s # 682s # /*** BEGIN value-header ***/ 682s # value-header 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-header ***/ 682s # 682s # /*** BEGIN value-production ***/ 682s # value-production 682s # VALUENAME: @VALUENAME@ 682s # valuenick: @valuenick@ 682s # valuenum: @valuenum@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-production ***/ 682s # 682s # /*** BEGIN value-tail ***/ 682s # value-tail 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-tail ***/ 682s # 682s # /*** BEGIN comment ***/ 682s # comment 682s # comment: @comment@ 682s # /*** END comment ***/ 682s # 682s # /*** BEGIN file-tail ***/ 682s # file-tail 682s # /*** END file-tail ***/ 682s # 682s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfd3r05gz/tmpigmwb_ur.template', '/tmp/tmpfd3r05gz/tmpt60z9qjb.h'] 682s # Return code: 0 682s # Output: 682s # comment 682s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 682s # 682s # 682s # file-header 682s # file-production 682s # filename: /tmp/tmpfd3r05gz/tmpt60z9qjb.h 682s # basename: tmpt60z9qjb.h 682s # enumeration-production 682s # EnumName: GDBusServerFlags 682s # enum_name: g_dbus_server_flags 682s # ENUMNAME: G_DBUS_SERVER_FLAGS 682s # ENUMSHORT: DBUS_SERVER_FLAGS 682s # ENUMPREFIX: G 682s # enumsince: 682s # type: flags 682s # Type: Flags 682s # TYPE: FLAGS 682s # value-header 682s # EnumName: GDBusServerFlags 682s # enum_name: g_dbus_server_flags 682s # ENUMNAME: G_DBUS_SERVER_FLAGS 682s # ENUMSHORT: DBUS_SERVER_FLAGS 682s # ENUMPREFIX: G 682s # enumsince: 682s # type: flags 682s # Type: Flags 682s # TYPE: FLAGS 682s # value-production 682s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 682s # valuenick: user 682s # valuenum: 4 682s # type: flags 682s # Type: Flags 682s # TYPE: FLAGS 682s # value-tail 682s # EnumName: GDBusServerFlags 682s # enum_name: g_dbus_server_flags 682s # ENUMNAME: G_DBUS_SERVER_FLAGS 682s # ENUMSHORT: DBUS_SERVER_FLAGS 682s # ENUMPREFIX: G 682s # enumsince: 682s # type: flags 682s # Type: Flags 682s # TYPE: FLAGS 682s # file-tail 682s # 682s # comment 682s # comment: Generated data ends here 682s # Error: 682s ok 2 __main__.TestMkenums.test_comma_in_enum_value 682s # glib-mkenums: /usr/bin/glib-mkenums 682s # tmpdir: /tmp/tmp6ksf9d2a 682s # rspfile: False 682s # /tmp/tmp6ksf9d2a/tmpfqo5anpo.h: 682s # typedef enum { 682s # ENUM_VALUE_WITH_COMMA = ',', 682s # } TestCommaEnum; 682s # 682s # /tmp/tmp6ksf9d2a/tmpy1tk56du.template: 682s # /*** BEGIN file-header ***/ 682s # file-header 682s # /*** END file-header ***/ 682s # 682s # /*** BEGIN file-production ***/ 682s # file-production 682s # filename: @filename@ 682s # basename: @basename@ 682s # /*** END file-production ***/ 682s # 682s # /*** BEGIN enumeration-production ***/ 682s # enumeration-production 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END enumeration-production ***/ 682s # 682s # /*** BEGIN value-header ***/ 682s # value-header 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-header ***/ 682s # 682s # /*** BEGIN value-production ***/ 682s # value-production 682s # VALUENAME: @VALUENAME@ 682s # valuenick: @valuenick@ 682s # valuenum: @valuenum@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-production ***/ 682s # 682s # /*** BEGIN value-tail ***/ 682s # value-tail 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-tail ***/ 682s # 682s # /*** BEGIN comment ***/ 682s # comment 682s # comment: @comment@ 682s # /*** END comment ***/ 682s # 682s # /*** BEGIN file-tail ***/ 682s # file-tail 682s # /*** END file-tail ***/ 682s # 682s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6ksf9d2a/tmpy1tk56du.template', '/tmp/tmp6ksf9d2a/tmpfqo5anpo.h'] 682s # Return code: 0 682s # Output: 682s # comment 682s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 682s # 682s # 682s # file-header 682s # file-production 682s # filename: /tmp/tmp6ksf9d2a/tmpfqo5anpo.h 682s # basename: tmpfqo5anpo.h 682s # enumeration-production 682s # EnumName: TestCommaEnum 682s # enum_name: test_comma_enum 682s # ENUMNAME: TEST_COMMA_ENUM 682s # ENUMSHORT: COMMA_ENUM 682s # ENUMPREFIX: TEST 682s # enumsince: 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # value-header 682s # EnumName: TestCommaEnum 682s # enum_name: test_comma_enum 682s # ENUMNAME: TEST_COMMA_ENUM 682s # ENUMSHORT: COMMA_ENUM 682s # ENUMPREFIX: TEST 682s # enumsince: 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # value-production 682s # VALUENAME: ENUM_VALUE_WITH_COMMA 682s # valuenick: comma 682s # valuenum: 44 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # value-tail 682s # EnumName: TestCommaEnum 682s # enum_name: test_comma_enum 682s # ENUMNAME: TEST_COMMA_ENUM 682s # ENUMSHORT: COMMA_ENUM 682s # ENUMPREFIX: TEST 682s # enumsince: 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # file-tail 682s # 682s # comment 682s # comment: Generated data ends here 682s # Error: 682s ok 3 __main__.TestMkenums.test_deprecated_in 682s # glib-mkenums: /usr/bin/glib-mkenums 682s # tmpdir: /tmp/tmpb4scgh2j 682s # rspfile: False 682s # /tmp/tmpb4scgh2j/tmp3m6gabt2.h: 682s # typedef enum { 682s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 682s # } GDBusServerFlags; 682s # 682s # /tmp/tmpb4scgh2j/tmpfoahabev.template: 682s # /*** BEGIN file-header ***/ 682s # file-header 682s # /*** END file-header ***/ 682s # 682s # /*** BEGIN file-production ***/ 682s # file-production 682s # filename: @filename@ 682s # basename: @basename@ 682s # /*** END file-production ***/ 682s # 682s # /*** BEGIN enumeration-production ***/ 682s # enumeration-production 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END enumeration-production ***/ 682s # 682s # /*** BEGIN value-header ***/ 682s # value-header 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-header ***/ 682s # 682s # /*** BEGIN value-production ***/ 682s # value-production 682s # VALUENAME: @VALUENAME@ 682s # valuenick: @valuenick@ 682s # valuenum: @valuenum@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-production ***/ 682s # 682s # /*** BEGIN value-tail ***/ 682s # value-tail 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-tail ***/ 682s # 682s # /*** BEGIN comment ***/ 682s # comment 682s # comment: @comment@ 682s # /*** END comment ***/ 682s # 682s # /*** BEGIN file-tail ***/ 682s # file-tail 682s # /*** END file-tail ***/ 682s # 682s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpb4scgh2j/tmpfoahabev.template', '/tmp/tmpb4scgh2j/tmp3m6gabt2.h'] 682s # Return code: 0 682s # Output: 682s # comment 682s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 682s # 682s # 682s # file-header 682s # file-production 682s # filename: /tmp/tmpb4scgh2j/tmp3m6gabt2.h 682s # basename: tmp3m6gabt2.h 682s # enumeration-production 682s # EnumName: GDBusServerFlags 682s # enum_name: g_dbus_server_flags 682s # ENUMNAME: G_DBUS_SERVER_FLAGS 682s # ENUMSHORT: DBUS_SERVER_FLAGS 682s # ENUMPREFIX: G 682s # enumsince: 682s # type: flags 682s # Type: Flags 682s # TYPE: FLAGS 682s # value-header 682s # EnumName: GDBusServerFlags 682s # enum_name: g_dbus_server_flags 682s # ENUMNAME: G_DBUS_SERVER_FLAGS 682s # ENUMSHORT: DBUS_SERVER_FLAGS 682s # ENUMPREFIX: G 682s # enumsince: 682s # type: flags 682s # Type: Flags 682s # TYPE: FLAGS 682s # value-production 682s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 682s # valuenick: user 682s # valuenum: 4 682s # type: flags 682s # Type: Flags 682s # TYPE: FLAGS 682s # value-tail 682s # EnumName: GDBusServerFlags 682s # enum_name: g_dbus_server_flags 682s # ENUMNAME: G_DBUS_SERVER_FLAGS 682s # ENUMSHORT: DBUS_SERVER_FLAGS 682s # ENUMPREFIX: G 682s # enumsince: 682s # type: flags 682s # Type: Flags 682s # TYPE: FLAGS 682s # file-tail 682s # 682s # comment 682s # comment: Generated data ends here 682s # Error: 682s ok 4 __main__.TestMkenums.test_deprecated_in_for 682s # glib-mkenums: /usr/bin/glib-mkenums 682s # tmpdir: /tmp/tmp8nxffmq9 682s # rspfile: False 682s # /tmp/tmp8nxffmq9/tmpwo41q7z8.h: 682s # typedef enum { 682s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68_FOR(G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER2) = (1<<2) 682s # } GDBusServerFlags; 682s # 682s # /tmp/tmp8nxffmq9/tmp4p1y5z2n.template: 682s # /*** BEGIN file-header ***/ 682s # file-header 682s # /*** END file-header ***/ 682s # 682s # /*** BEGIN file-production ***/ 682s # file-production 682s # filename: @filename@ 682s # basename: @basename@ 682s # /*** END file-production ***/ 682s # 682s # /*** BEGIN enumeration-production ***/ 682s # enumeration-production 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END enumeration-production ***/ 682s # 682s # /*** BEGIN value-header ***/ 682s # value-header 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-header ***/ 682s # 682s # /*** BEGIN value-production ***/ 682s # value-production 682s # VALUENAME: @VALUENAME@ 682s # valuenick: @valuenick@ 682s # valuenum: @valuenum@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-production ***/ 682s # 682s # /*** BEGIN value-tail ***/ 682s # value-tail 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-tail ***/ 682s # 682s # /*** BEGIN comment ***/ 682s # comment 682s # comment: @comment@ 682s # /*** END comment ***/ 682s # 682s # /*** BEGIN file-tail ***/ 682s # file-tail 682s # /*** END file-tail ***/ 682s # 682s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8nxffmq9/tmp4p1y5z2n.template', '/tmp/tmp8nxffmq9/tmpwo41q7z8.h'] 682s # Return code: 0 682s # Output: 682s # comment 682s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 682s # 682s # 682s # file-header 682s # file-production 682s # filename: /tmp/tmp8nxffmq9/tmpwo41q7z8.h 682s # basename: tmpwo41q7z8.h 682s # enumeration-production 682s # EnumName: GDBusServerFlags 682s # enum_name: g_dbus_server_flags 682s # ENUMNAME: G_DBUS_SERVER_FLAGS 682s # ENUMSHORT: DBUS_SERVER_FLAGS 682s # ENUMPREFIX: G 682s # enumsince: 682s # type: flags 682s # Type: Flags 682s # TYPE: FLAGS 682s # value-header 682s # EnumName: GDBusServerFlags 682s # enum_name: g_dbus_server_flags 682s # ENUMNAME: G_DBUS_SERVER_FLAGS 682s # ENUMSHORT: DBUS_SERVER_FLAGS 682s # ENUMPREFIX: G 682s # enumsince: 682s # type: flags 682s # Type: Flags 682s # TYPE: FLAGS 682s # value-production 682s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 682s # valuenick: user 682s # valuenum: 4 682s # type: flags 682s # Type: Flags 682s # TYPE: FLAGS 682s # value-tail 682s # EnumName: GDBusServerFlags 682s # enum_name: g_dbus_server_flags 682s # ENUMNAME: G_DBUS_SERVER_FLAGS 682s # ENUMSHORT: DBUS_SERVER_FLAGS 682s # ENUMPREFIX: G 682s # enumsince: 682s # type: flags 682s # Type: Flags 682s # TYPE: FLAGS 682s # file-tail 682s # 682s # comment 682s # comment: Generated data ends here 682s # Error: 682s ok 5 __main__.TestMkenums.test_empty_header 682s # glib-mkenums: /usr/bin/glib-mkenums 682s # tmpdir: /tmp/tmp5yn3_ckr 682s # rspfile: False 682s # /tmp/tmp5yn3_ckr/tmpdjgdf43o.h: 682s # /tmp/tmp5yn3_ckr/tmpusgy4x8c.template: 682s # /*** BEGIN file-header ***/ 682s # file-header 682s # /*** END file-header ***/ 682s # 682s # /*** BEGIN file-production ***/ 682s # file-production 682s # filename: @filename@ 682s # basename: @basename@ 682s # /*** END file-production ***/ 682s # 682s # /*** BEGIN enumeration-production ***/ 682s # enumeration-production 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END enumeration-production ***/ 682s # 682s # /*** BEGIN value-header ***/ 682s # value-header 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-header ***/ 682s # 682s # /*** BEGIN value-production ***/ 682s # value-production 682s # VALUENAME: @VALUENAME@ 682s # valuenick: @valuenick@ 682s # valuenum: @valuenum@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-production ***/ 682s # 682s # /*** BEGIN value-tail ***/ 682s # value-tail 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-tail ***/ 682s # 682s # /*** BEGIN comment ***/ 682s # comment 682s # comment: @comment@ 682s # /*** END comment ***/ 682s # 682s # /*** BEGIN file-tail ***/ 682s # file-tail 682s # /*** END file-tail ***/ 682s # 682s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5yn3_ckr/tmpusgy4x8c.template', '/tmp/tmp5yn3_ckr/tmpdjgdf43o.h'] 682s # Return code: 0 682s # Output: 682s # comment 682s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 682s # 682s # 682s # file-header 682s # file-tail 682s # 682s # comment 682s # comment: Generated data ends here 682s # Error: 682s ok 6 __main__.TestMkenums.test_empty_template 682s # glib-mkenums: /usr/bin/glib-mkenums 682s # tmpdir: /tmp/tmpnugye3bp 682s # rspfile: False 682s # /tmp/tmpnugye3bp/tmp5miv_5m9.template: 682s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnugye3bp/tmp5miv_5m9.template'] 682s # Return code: 0 682s # Output: 682s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 682s # 682s # 682s # /* Generated data ends here */ 682s # Error: 682s ok 7 __main__.TestMkenums.test_enum_name 682s # glib-mkenums: /usr/bin/glib-mkenums 682s # tmpdir: /tmp/tmpl85y1rff 682s # rspfile: False 682s # /tmp/tmpl85y1rff/tmpq4py4nqj.h: 682s # typedef enum _SomeEnumIdentifier { 682s # ENUM_VALUE 682s # } SomeEnumIdentifier; 682s # 682s # /tmp/tmpl85y1rff/tmpnmcvs3uj.template: 682s # /*** BEGIN file-header ***/ 682s # file-header 682s # /*** END file-header ***/ 682s # 682s # /*** BEGIN file-production ***/ 682s # file-production 682s # filename: @filename@ 682s # basename: @basename@ 682s # /*** END file-production ***/ 682s # 682s # /*** BEGIN enumeration-production ***/ 682s # enumeration-production 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END enumeration-production ***/ 682s # 682s # /*** BEGIN value-header ***/ 682s # value-header 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-header ***/ 682s # 682s # /*** BEGIN value-production ***/ 682s # value-production 682s # VALUENAME: @VALUENAME@ 682s # valuenick: @valuenick@ 682s # valuenum: @valuenum@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-production ***/ 682s # 682s # /*** BEGIN value-tail ***/ 682s # value-tail 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-tail ***/ 682s # 682s # /*** BEGIN comment ***/ 682s # comment 682s # comment: @comment@ 682s # /*** END comment ***/ 682s # 682s # /*** BEGIN file-tail ***/ 682s # file-tail 682s # /*** END file-tail ***/ 682s # 682s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpl85y1rff/tmpnmcvs3uj.template', '/tmp/tmpl85y1rff/tmpq4py4nqj.h'] 682s # Return code: 0 682s # Output: 682s # comment 682s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 682s # 682s # 682s # file-header 682s # file-production 682s # filename: /tmp/tmpl85y1rff/tmpq4py4nqj.h 682s # basename: tmpq4py4nqj.h 682s # enumeration-production 682s # EnumName: SomeEnumIdentifier 682s # enum_name: some_enum_identifier 682s # ENUMNAME: SOME_ENUM_IDENTIFIER 682s # ENUMSHORT: ENUM_IDENTIFIER 682s # ENUMPREFIX: SOME 682s # enumsince: 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # value-header 682s # EnumName: SomeEnumIdentifier 682s # enum_name: some_enum_identifier 682s # ENUMNAME: SOME_ENUM_IDENTIFIER 682s # ENUMSHORT: ENUM_IDENTIFIER 682s # ENUMPREFIX: SOME 682s # enumsince: 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # value-production 682s # VALUENAME: ENUM_VALUE 682s # valuenick: value 682s # valuenum: 0 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # value-tail 682s # EnumName: SomeEnumIdentifier 682s # enum_name: some_enum_identifier 682s # ENUMNAME: SOME_ENUM_IDENTIFIER 682s # ENUMSHORT: ENUM_IDENTIFIER 682s # ENUMPREFIX: SOME 682s # enumsince: 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # file-tail 682s # 682s # comment 682s # comment: Generated data ends here 682s # Error: 682s ok 8 __main__.TestMkenums.test_enum_private_public 682s # glib-mkenums: /usr/bin/glib-mkenums 682s # tmpdir: /tmp/tmpua3i315a 682s # rspfile: False 682s # /tmp/tmpua3i315a/tmpe536lvi0.h: 682s # typedef enum { 682s # ENUM_VALUE_PUBLIC1, 682s # /*< private >*/ 682s # ENUM_VALUE_PRIVATE, 682s # } SomeEnumA 682s # 682s # /tmp/tmpua3i315a/tmpiyxqx0uj.template: 682s # /*** BEGIN file-header ***/ 682s # file-header 682s # /*** END file-header ***/ 682s # 682s # /*** BEGIN file-production ***/ 682s # file-production 682s # filename: @filename@ 682s # basename: @basename@ 682s # /*** END file-production ***/ 682s # 682s # /*** BEGIN enumeration-production ***/ 682s # enumeration-production 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END enumeration-production ***/ 682s # 682s # /*** BEGIN value-header ***/ 682s # value-header 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-header ***/ 682s # 682s # /*** BEGIN value-production ***/ 682s # value-production 682s # VALUENAME: @VALUENAME@ 682s # valuenick: @valuenick@ 682s # valuenum: @valuenum@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-production ***/ 682s # 682s # /*** BEGIN value-tail ***/ 682s # value-tail 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-tail ***/ 682s # 682s # /*** BEGIN comment ***/ 682s # comment 682s # comment: @comment@ 682s # /*** END comment ***/ 682s # 682s # /*** BEGIN file-tail ***/ 682s # file-tail 682s # /*** END file-tail ***/ 682s # 682s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpua3i315a/tmpiyxqx0uj.template', '/tmp/tmpua3i315a/tmpe536lvi0.h'] 682s # Return code: 0 682s # Output: 682s # comment 682s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 682s # 682s # 682s # file-header 682s # file-production 682s # filename: /tmp/tmpua3i315a/tmpe536lvi0.h 682s # basename: tmpe536lvi0.h 682s # enumeration-production 682s # EnumName: SomeEnumA 682s # enum_name: some_enum_a 682s # ENUMNAME: SOME_ENUM_A 682s # ENUMSHORT: ENUM_A 682s # ENUMPREFIX: SOME 682s # enumsince: 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # value-header 682s # EnumName: SomeEnumA 682s # enum_name: some_enum_a 682s # ENUMNAME: SOME_ENUM_A 682s # ENUMSHORT: ENUM_A 682s # ENUMPREFIX: SOME 682s # enumsince: 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # value-production 682s # VALUENAME: ENUM_VALUE_PUBLIC1 682s # valuenick: public1 682s # valuenum: 0 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # value-tail 682s # EnumName: SomeEnumA 682s # enum_name: some_enum_a 682s # ENUMNAME: SOME_ENUM_A 682s # ENUMSHORT: ENUM_A 682s # ENUMPREFIX: SOME 682s # enumsince: 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # file-tail 682s # 682s # comment 682s # comment: Generated data ends here 682s # Error: 682s # 682s # /tmp/tmpua3i315a/tmpbvci1ihb.h: 682s # typedef enum { 682s # /*< private >*/ 682s # ENUM_VALUE_PRIVATE, 682s # /*< public >*/ 682s # ENUM_VALUE_PUBLIC2, 682s # } SomeEnumB; 682s # 682s # /tmp/tmpua3i315a/tmph1e231zn.template: 682s # /*** BEGIN file-header ***/ 682s # file-header 682s # /*** END file-header ***/ 682s # 682s # /*** BEGIN file-production ***/ 682s # file-production 682s # filename: @filename@ 682s # basename: @basename@ 682s # /*** END file-production ***/ 682s # 682s # /*** BEGIN enumeration-production ***/ 682s # enumeration-production 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END enumeration-production ***/ 682s # 682s # /*** BEGIN value-header ***/ 682s # value-header 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-header ***/ 682s # 682s # /*** BEGIN value-production ***/ 682s # value-production 682s # VALUENAME: @VALUENAME@ 682s # valuenick: @valuenick@ 682s # valuenum: @valuenum@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-production ***/ 682s # 682s # /*** BEGIN value-tail ***/ 682s # value-tail 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-tail ***/ 682s # 682s # /*** BEGIN comment ***/ 682s # comment 682s # comment: @comment@ 682s # /*** END comment ***/ 682s # 682s # /*** BEGIN file-tail ***/ 682s # file-tail 682s # /*** END file-tail ***/ 682s # 682s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpua3i315a/tmph1e231zn.template', '/tmp/tmpua3i315a/tmpbvci1ihb.h'] 682s # Return code: 0 682s # Output: 682s # comment 682s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 682s # 682s # 682s # file-header 682s # file-production 682s # filename: /tmp/tmpua3i315a/tmpbvci1ihb.h 682s # basename: tmpbvci1ihb.h 682s # enumeration-production 682s # EnumName: SomeEnumB 682s # enum_name: some_enum_b 682s # ENUMNAME: SOME_ENUM_B 682s # ENUMSHORT: ENUM_B 682s # ENUMPREFIX: SOME 682s # enumsince: 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # value-header 682s # EnumName: SomeEnumB 682s # enum_name: some_enum_b 682s # ENUMNAME: SOME_ENUM_B 682s # ENUMSHORT: ENUM_B 682s # ENUMPREFIX: SOME 682s # enumsince: 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # value-production 682s # VALUENAME: ENUM_VALUE_PUBLIC2 682s # valuenick: public2 682s # valuenum: 1 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # value-tail 682s # EnumName: SomeEnumB 682s # enum_name: some_enum_b 682s # ENUMNAME: SOME_ENUM_B 682s # ENUMSHORT: ENUM_B 682s # ENUMPREFIX: SOME 682s # enumsince: 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # file-tail 682s # 682s # comment 682s # comment: Generated data ends here 682s # Error: 682s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 682s # glib-mkenums: /usr/bin/glib-mkenums 682s # tmpdir: /tmp/tmpxu2t5tw4 682s # rspfile: False 682s # /tmp/tmpxu2t5tw4/tmpte7kiuus.h: 682s # typedef enum { 682s # /*< private >*/ 682s # ENUM_VALUE_PRIVATE = 5, 682s # /*< public >*/ 682s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 682s # } TestSymbolicEnum; 682s # 682s # /tmp/tmpxu2t5tw4/tmp4799kanq.template: 682s # /*** BEGIN file-header ***/ 682s # file-header 682s # /*** END file-header ***/ 682s # 682s # /*** BEGIN file-production ***/ 682s # file-production 682s # filename: @filename@ 682s # basename: @basename@ 682s # /*** END file-production ***/ 682s # 682s # /*** BEGIN enumeration-production ***/ 682s # enumeration-production 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END enumeration-production ***/ 682s # 682s # /*** BEGIN value-header ***/ 682s # value-header 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-header ***/ 682s # 682s # /*** BEGIN value-production ***/ 682s # value-production 682s # VALUENAME: @VALUENAME@ 682s # valuenick: @valuenick@ 682s # valuenum: @valuenum@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-production ***/ 682s # 682s # /*** BEGIN value-tail ***/ 682s # value-tail 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-tail ***/ 682s # 682s # /*** BEGIN comment ***/ 682s # comment 682s # comment: @comment@ 682s # /*** END comment ***/ 682s # 682s # /*** BEGIN file-tail ***/ 682s # file-tail 682s # /*** END file-tail ***/ 682s # 682s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxu2t5tw4/tmp4799kanq.template', '/tmp/tmpxu2t5tw4/tmpte7kiuus.h'] 682s # Return code: 0 682s # Output: 682s # comment 682s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 682s # 682s # 682s # file-header 682s # file-production 682s # filename: /tmp/tmpxu2t5tw4/tmpte7kiuus.h 682s # basename: tmpte7kiuus.h 682s # enumeration-production 682s # EnumName: TestSymbolicEnum 682s # enum_name: test_symbolic_enum 682s # ENUMNAME: TEST_SYMBOLIC_ENUM 682s # ENUMSHORT: SYMBOLIC_ENUM 682s # ENUMPREFIX: TEST 682s # enumsince: 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # value-header 682s # EnumName: TestSymbolicEnum 682s # enum_name: test_symbolic_enum 682s # ENUMNAME: TEST_SYMBOLIC_ENUM 682s # ENUMSHORT: SYMBOLIC_ENUM 682s # ENUMPREFIX: TEST 682s # enumsince: 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # value-production 682s # VALUENAME: ENUM_VALUE_PUBLIC 682s # valuenick: public 682s # valuenum: 7 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # value-tail 682s # EnumName: TestSymbolicEnum 682s # enum_name: test_symbolic_enum 682s # ENUMNAME: TEST_SYMBOLIC_ENUM 682s # ENUMSHORT: SYMBOLIC_ENUM 682s # ENUMPREFIX: TEST 682s # enumsince: 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # file-tail 682s # 682s # comment 682s # comment: Generated data ends here 682s # Error: 682s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 682s # glib-mkenums: /usr/bin/glib-mkenums 682s # tmpdir: /tmp/tmpqloy0cei 682s # rspfile: False 682s # /tmp/tmpqloy0cei/tmpicexxcd4.template: 682s # /*** BEGIN file-header ***/ 682s # file-header 682s # filename: @filename@ 682s # basename: @basename@ 682s # /*** END file-header ***/ 682s # 682s # /*** BEGIN comment ***/ 682s # comment 682s # comment: @comment@ 682s # /*** END comment ***/ 682s # 682s # /*** BEGIN file-tail ***/ 682s # file-tail 682s # filename: @filename@ 682s # basename: @basename@ 682s # /*** END file-tail ***/ 682s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqloy0cei/tmpicexxcd4.template'] 682s # Return code: 0 682s # Output: 682s # comment 682s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 682s # 682s # 682s # file-header 682s # filename: @filename@ 682s # basename: @basename@ 682s # file-tail 682s # filename: @filename@ 682s # basename: @basename@ 682s # 682s # comment 682s # comment: Generated data ends here 682s # Error: 682s # WARNING: @filename@ used in file-header section. 682s # WARNING: @basename@ used in file-header section. 682s # WARNING: @filename@ used in file-tail section. 682s # WARNING: @basename@ used in file-tail section. 682s ok 11 __main__.TestMkenums.test_help 682s # glib-mkenums: /usr/bin/glib-mkenums 682s # tmpdir: /tmp/tmpdv2ty1id 682s # rspfile: False 682s # Running: ['/usr/bin/glib-mkenums', '--help'] 682s # Return code: 0 682s # Output: 682s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 682s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 682s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 682s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 682s # [--comments COMMENT_TMPL] [--template TEMPLATE] 682s # [--output OUTPUT] [--version] 682s # [args ...] 682s # 682s # positional arguments: 682s # args One or more input files, or a single argument 682s # @rspfile_path pointing to a file that contains the 682s # actual arguments 682s # 682s # options: 682s # -h, --help show this help message and exit 682s # --identifier-prefix IDPREFIX 682s # Identifier prefix 682s # --symbol-prefix SYMPREFIX 682s # Symbol prefix 682s # --fhead FHEAD Output file header 682s # --ftail FTAIL Output file footer 682s # --fprod FPROD Put out TEXT every time a new input file is being 682s # processed. 682s # --eprod EPROD Per enum text, produced prior to value iterations 682s # --vhead VHEAD Value header, produced before iterating over enum 682s # values 682s # --vprod VPROD Value text, produced for each enum value. 682s # --vtail VTAIL Value tail, produced after iterating over enum values 682s # --comments COMMENT_TMPL 682s # Comment structure 682s # --template TEMPLATE Template file 682s # --output OUTPUT 682s # --version, -v Print version information 682s # 682s # Production text substitutions: 682s # @EnumName@ PrefixTheXEnum 682s # @enum_name@ prefix_the_xenum 682s # @ENUMNAME@ PREFIX_THE_XENUM 682s # @ENUMSHORT@ THE_XENUM 682s # @ENUMPREFIX@ PREFIX 682s # @enumsince@ the user-provided since value given 682s # @VALUENAME@ PREFIX_THE_XVALUE 682s # @valuenick@ the-xvalue 682s # @valuenum@ the integer value (limited support, Since: 2.26) 682s # @type@ either enum or flags 682s # @Type@ either Enum or Flags 682s # @TYPE@ either ENUM or FLAGS 682s # @filename@ name of current input file 682s # @basename@ base name of the current input file (Since: 2.22) 682s # Error: 682s ok 12 __main__.TestMkenums.test_no_args 682s # glib-mkenums: /usr/bin/glib-mkenums 682s # tmpdir: /tmp/tmpuazn6nxo 682s # rspfile: False 682s # Running: ['/usr/bin/glib-mkenums'] 682s # Return code: 0 682s # Output: 682s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 682s # 682s # 682s # /* Generated data ends here */ 682s # Error: 682s ok 13 __main__.TestMkenums.test_no_headers 682s # glib-mkenums: /usr/bin/glib-mkenums 682s # tmpdir: /tmp/tmpo_8kf_4i 682s # rspfile: False 682s # /tmp/tmpo_8kf_4i/tmp_zdzysct.template: 682s # /*** BEGIN file-header ***/ 682s # file-header 682s # /*** END file-header ***/ 682s # 682s # /*** BEGIN file-production ***/ 682s # file-production 682s # filename: @filename@ 682s # basename: @basename@ 682s # /*** END file-production ***/ 682s # 682s # /*** BEGIN enumeration-production ***/ 682s # enumeration-production 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END enumeration-production ***/ 682s # 682s # /*** BEGIN value-header ***/ 682s # value-header 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-header ***/ 682s # 682s # /*** BEGIN value-production ***/ 682s # value-production 682s # VALUENAME: @VALUENAME@ 682s # valuenick: @valuenick@ 682s # valuenum: @valuenum@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-production ***/ 682s # 682s # /*** BEGIN value-tail ***/ 682s # value-tail 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-tail ***/ 682s # 682s # /*** BEGIN comment ***/ 682s # comment 682s # comment: @comment@ 682s # /*** END comment ***/ 682s # 682s # /*** BEGIN file-tail ***/ 682s # file-tail 682s # /*** END file-tail ***/ 682s # 682s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpo_8kf_4i/tmp_zdzysct.template'] 682s # Return code: 0 682s # Output: 682s # comment 682s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 682s # 682s # 682s # file-header 682s # file-tail 682s # 682s # comment 682s # comment: Generated data ends here 682s # Error: 682s ok 14 __main__.TestMkenums.test_no_nick 682s # glib-mkenums: /usr/bin/glib-mkenums 682s # tmpdir: /tmp/tmp5e33dq3i 682s # rspfile: False 682s # /tmp/tmp5e33dq3i/tmpw3sc9eze.h: 682s # typedef enum { 682s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 682s # } GeglSamplerType; 682s # 682s # /tmp/tmp5e33dq3i/tmp03t3nz3g.template: 682s # /*** BEGIN file-header ***/ 682s # file-header 682s # /*** END file-header ***/ 682s # 682s # /*** BEGIN file-production ***/ 682s # file-production 682s # filename: @filename@ 682s # basename: @basename@ 682s # /*** END file-production ***/ 682s # 682s # /*** BEGIN enumeration-production ***/ 682s # enumeration-production 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END enumeration-production ***/ 682s # 682s # /*** BEGIN value-header ***/ 682s # value-header 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-header ***/ 682s # 682s # /*** BEGIN value-production ***/ 682s # value-production 682s # VALUENAME: @VALUENAME@ 682s # valuenick: @valuenick@ 682s # valuenum: @valuenum@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-production ***/ 682s # 682s # /*** BEGIN value-tail ***/ 682s # value-tail 682s # EnumName: @EnumName@ 682s # enum_name: @enum_name@ 682s # ENUMNAME: @ENUMNAME@ 682s # ENUMSHORT: @ENUMSHORT@ 682s # ENUMPREFIX: @ENUMPREFIX@ 682s # enumsince: @enumsince@ 682s # type: @type@ 682s # Type: @Type@ 682s # TYPE: @TYPE@ 682s # /*** END value-tail ***/ 682s # 682s # /*** BEGIN comment ***/ 682s # comment 682s # comment: @comment@ 682s # /*** END comment ***/ 682s # 682s # /*** BEGIN file-tail ***/ 682s # file-tail 682s # /*** END file-tail ***/ 682s # 682s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5e33dq3i/tmp03t3nz3g.template', '/tmp/tmp5e33dq3i/tmpw3sc9eze.h'] 682s # Return code: 0 682s # Output: 682s # comment 682s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 682s # 682s # 682s # file-header 682s # file-production 682s # filename: /tmp/tmp5e33dq3i/tmpw3sc9eze.h 682s # basename: tmpw3sc9eze.h 682s # enumeration-production 682s # EnumName: GeglSamplerType 682s # enum_name: gegl_sampler_type 682s # ENUMNAME: GEGL_SAMPLER_TYPE 682s # ENUMSHORT: SAMPLER_TYPE 682s # ENUMPREFIX: GEGL 682s # enumsince: 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # value-header 682s # EnumName: GeglSamplerType 682s # enum_name: gegl_sampler_type 682s # ENUMNAME: GEGL_SAMPLER_TYPE 682s # ENUMSHORT: SAMPLER_TYPE 682s # ENUMPREFIX: GEGL 682s # enumsince: 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # value-production 682s # VALUENAME: GEGL_SAMPLER_NEAREST 682s # valuenick: nearest 682s # valuenum: 0 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # value-tail 682s # EnumName: GeglSamplerType 682s # enum_name: gegl_sampler_type 682s # ENUMNAME: GEGL_SAMPLER_TYPE 682s # ENUMSHORT: SAMPLER_TYPE 682s # ENUMPREFIX: GEGL 682s # enumsince: 682s # type: enum 682s # Type: Enum 682s # TYPE: ENUM 682s # file-tail 682s # 682s # comment 682s # comment: Generated data ends here 682s # Error: 683s ok 15 __main__.TestMkenums.test_non_utf8_encoding 683s # glib-mkenums: /usr/bin/glib-mkenums 683s # tmpdir: /tmp/tmp4o1rvd4b 683s # rspfile: False 683s # /tmp/tmp4o1rvd4b/tmpxhwnujps.h: 683s # /* Copyright © La Peña */ 683s # typedef enum { 683s # ENUM_VALUE 683s # } SomeEnumIdentifier; 683s # 683s # /tmp/tmp4o1rvd4b/tmpy167_s7s.template: 683s # /*** BEGIN file-header ***/ 683s # file-header 683s # /*** END file-header ***/ 683s # 683s # /*** BEGIN file-production ***/ 683s # file-production 683s # filename: @filename@ 683s # basename: @basename@ 683s # /*** END file-production ***/ 683s # 683s # /*** BEGIN enumeration-production ***/ 683s # enumeration-production 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END enumeration-production ***/ 683s # 683s # /*** BEGIN value-header ***/ 683s # value-header 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-header ***/ 683s # 683s # /*** BEGIN value-production ***/ 683s # value-production 683s # VALUENAME: @VALUENAME@ 683s # valuenick: @valuenick@ 683s # valuenum: @valuenum@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-production ***/ 683s # 683s # /*** BEGIN value-tail ***/ 683s # value-tail 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-tail ***/ 683s # 683s # /*** BEGIN comment ***/ 683s # comment 683s # comment: @comment@ 683s # /*** END comment ***/ 683s # 683s # /*** BEGIN file-tail ***/ 683s # file-tail 683s # /*** END file-tail ***/ 683s # 683s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4o1rvd4b/tmpy167_s7s.template', '/tmp/tmp4o1rvd4b/tmpxhwnujps.h'] 683s # Return code: 0 683s # Output: 683s # comment 683s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 683s # 683s # 683s # file-header 683s # file-production 683s # filename: /tmp/tmp4o1rvd4b/tmpxhwnujps.h 683s # basename: tmpxhwnujps.h 683s # enumeration-production 683s # EnumName: SomeEnumIdentifier 683s # enum_name: some_enum_identifier 683s # ENUMNAME: SOME_ENUM_IDENTIFIER 683s # ENUMSHORT: ENUM_IDENTIFIER 683s # ENUMPREFIX: SOME 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-header 683s # EnumName: SomeEnumIdentifier 683s # enum_name: some_enum_identifier 683s # ENUMNAME: SOME_ENUM_IDENTIFIER 683s # ENUMSHORT: ENUM_IDENTIFIER 683s # ENUMPREFIX: SOME 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-production 683s # VALUENAME: ENUM_VALUE 683s # valuenick: value 683s # valuenum: 0 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-tail 683s # EnumName: SomeEnumIdentifier 683s # enum_name: some_enum_identifier 683s # ENUMNAME: SOME_ENUM_IDENTIFIER 683s # ENUMSHORT: ENUM_IDENTIFIER 683s # ENUMPREFIX: SOME 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # file-tail 683s # 683s # comment 683s # comment: Generated data ends here 683s # Error: 683s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 683s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 683s ok 16 __main__.TestMkenums.test_reproducible 683s # glib-mkenums: /usr/bin/glib-mkenums 683s # tmpdir: /tmp/tmpup5m8kt_ 683s # rspfile: False 683s # /tmp/tmpup5m8kt_/tmpcn49pokt.template: template 683s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpup5m8kt_/tmpcn49pokt.template', '/tmp/tmpup5m8kt_/tmpz1u4_4o21.h', '/tmp/tmpup5m8kt_/tmp8405ihjr2.h'] 683s # Return code: 0 683s # Output: 683s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 683s # 683s # 683s # /* Generated data ends here */ 683s # Error: 683s # 683s # /tmp/tmpup5m8kt_/tmp1ufioy6o.template: template 683s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpup5m8kt_/tmp1ufioy6o.template', '/tmp/tmpup5m8kt_/tmp8405ihjr2.h', '/tmp/tmpup5m8kt_/tmpz1u4_4o21.h'] 683s # Return code: 0 683s # Output: 683s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 683s # 683s # 683s # /* Generated data ends here */ 683s # Error: 683s ok 17 __main__.TestMkenums.test_since 683s # glib-mkenums: /usr/bin/glib-mkenums 683s # tmpdir: /tmp/tmpzwownl06 683s # rspfile: False 683s # /tmp/tmpzwownl06/tmpiwz38o2q.h: 683s # typedef enum { /*< since=1.0 >*/ 683s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 683s # } QmiWmsMessageProtocol; 683s # 683s # /tmp/tmpzwownl06/tmpk90cdwaj.template: 683s # /*** BEGIN file-header ***/ 683s # file-header 683s # /*** END file-header ***/ 683s # 683s # /*** BEGIN file-production ***/ 683s # file-production 683s # filename: @filename@ 683s # basename: @basename@ 683s # /*** END file-production ***/ 683s # 683s # /*** BEGIN enumeration-production ***/ 683s # enumeration-production 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END enumeration-production ***/ 683s # 683s # /*** BEGIN value-header ***/ 683s # value-header 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-header ***/ 683s # 683s # /*** BEGIN value-production ***/ 683s # value-production 683s # VALUENAME: @VALUENAME@ 683s # valuenick: @valuenick@ 683s # valuenum: @valuenum@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-production ***/ 683s # 683s # /*** BEGIN value-tail ***/ 683s # value-tail 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-tail ***/ 683s # 683s # /*** BEGIN comment ***/ 683s # comment 683s # comment: @comment@ 683s # /*** END comment ***/ 683s # 683s # /*** BEGIN file-tail ***/ 683s # file-tail 683s # /*** END file-tail ***/ 683s # 683s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpzwownl06/tmpk90cdwaj.template', '/tmp/tmpzwownl06/tmpiwz38o2q.h'] 683s # Return code: 0 683s # Output: 683s # comment 683s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 683s # 683s # 683s # file-header 683s # file-production 683s # filename: /tmp/tmpzwownl06/tmpiwz38o2q.h 683s # basename: tmpiwz38o2q.h 683s # enumeration-production 683s # EnumName: QmiWmsMessageProtocol 683s # enum_name: qmi_wms_message_protocol 683s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 683s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 683s # ENUMPREFIX: QMI 683s # enumsince: 1.0 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-header 683s # EnumName: QmiWmsMessageProtocol 683s # enum_name: qmi_wms_message_protocol 683s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 683s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 683s # ENUMPREFIX: QMI 683s # enumsince: 1.0 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-production 683s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 683s # valuenick: cdma 683s # valuenum: 0 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-tail 683s # EnumName: QmiWmsMessageProtocol 683s # enum_name: qmi_wms_message_protocol 683s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 683s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 683s # ENUMPREFIX: QMI 683s # enumsince: 1.0 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # file-tail 683s # 683s # comment 683s # comment: Generated data ends here 683s # Error: 683s ok 18 __main__.TestMkenums.test_with_double_quotes 683s # glib-mkenums: /usr/bin/glib-mkenums 683s # tmpdir: /tmp/tmp1vrk4p40 683s # rspfile: False 683s # /tmp/tmp1vrk4p40/tmp4dcqir2i.h: 683s # typedef enum { 683s # FOO_VALUE /*< nick="eek, a comma" >*/ 683s # } Foo; 683s # 683s # /tmp/tmp1vrk4p40/tmpcf2bd60y.template: 683s # /*** BEGIN file-header ***/ 683s # file-header 683s # /*** END file-header ***/ 683s # 683s # /*** BEGIN file-production ***/ 683s # file-production 683s # filename: @filename@ 683s # basename: @basename@ 683s # /*** END file-production ***/ 683s # 683s # /*** BEGIN enumeration-production ***/ 683s # enumeration-production 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END enumeration-production ***/ 683s # 683s # /*** BEGIN value-header ***/ 683s # value-header 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-header ***/ 683s # 683s # /*** BEGIN value-production ***/ 683s # value-production 683s # VALUENAME: @VALUENAME@ 683s # valuenick: @valuenick@ 683s # valuenum: @valuenum@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-production ***/ 683s # 683s # /*** BEGIN value-tail ***/ 683s # value-tail 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-tail ***/ 683s # 683s # /*** BEGIN comment ***/ 683s # comment 683s # comment: @comment@ 683s # /*** END comment ***/ 683s # 683s # /*** BEGIN file-tail ***/ 683s # file-tail 683s # /*** END file-tail ***/ 683s # 683s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1vrk4p40/tmpcf2bd60y.template', '/tmp/tmp1vrk4p40/tmp4dcqir2i.h'] 683s # Return code: 0 683s # Output: 683s # comment 683s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 683s # 683s # 683s # file-header 683s # file-production 683s # filename: /tmp/tmp1vrk4p40/tmp4dcqir2i.h 683s # basename: tmp4dcqir2i.h 683s # enumeration-production 683s # EnumName: Foo 683s # enum_name: foo_ 683s # ENUMNAME: FOO_ 683s # ENUMSHORT: 683s # ENUMPREFIX: FOO 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-header 683s # EnumName: Foo 683s # enum_name: foo_ 683s # ENUMNAME: FOO_ 683s # ENUMSHORT: 683s # ENUMPREFIX: FOO 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-production 683s # VALUENAME: FOO_VALUE 683s # valuenick: eek, a comma 683s # valuenum: 0 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-tail 683s # EnumName: Foo 683s # enum_name: foo_ 683s # ENUMNAME: FOO_ 683s # ENUMSHORT: 683s # ENUMPREFIX: FOO 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # file-tail 683s # 683s # comment 683s # comment: Generated data ends here 683s # Error: 683s ok 19 __main__.TestRspMkenums.test_available_in 683s # glib-mkenums: /usr/bin/glib-mkenums 683s # tmpdir: /tmp/tmp93b5a3i7 683s # rspfile: True 683s # /tmp/tmp93b5a3i7/tmpb5tsvpcw.h: 683s # typedef enum { 683s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 683s # } GDBusServerFlags; 683s # 683s # /tmp/tmp93b5a3i7/tmpjx86c6yb.template: 683s # /*** BEGIN file-header ***/ 683s # file-header 683s # /*** END file-header ***/ 683s # 683s # /*** BEGIN file-production ***/ 683s # file-production 683s # filename: @filename@ 683s # basename: @basename@ 683s # /*** END file-production ***/ 683s # 683s # /*** BEGIN enumeration-production ***/ 683s # enumeration-production 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END enumeration-production ***/ 683s # 683s # /*** BEGIN value-header ***/ 683s # value-header 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-header ***/ 683s # 683s # /*** BEGIN value-production ***/ 683s # value-production 683s # VALUENAME: @VALUENAME@ 683s # valuenick: @valuenick@ 683s # valuenum: @valuenum@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-production ***/ 683s # 683s # /*** BEGIN value-tail ***/ 683s # value-tail 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-tail ***/ 683s # 683s # /*** BEGIN comment ***/ 683s # comment 683s # comment: @comment@ 683s # /*** END comment ***/ 683s # 683s # /*** BEGIN file-tail ***/ 683s # file-tail 683s # /*** END file-tail ***/ 683s # 683s # Response file contains: --template /tmp/tmp93b5a3i7/tmpjx86c6yb.template /tmp/tmp93b5a3i7/tmpb5tsvpcw.h 683s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp93b5a3i7/tmpqcchi1sc'] 683s # Return code: 0 683s # Output: 683s # comment 683s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 683s # 683s # 683s # file-header 683s # file-production 683s # filename: /tmp/tmp93b5a3i7/tmpb5tsvpcw.h 683s # basename: tmpb5tsvpcw.h 683s # enumeration-production 683s # EnumName: GDBusServerFlags 683s # enum_name: g_dbus_server_flags 683s # ENUMNAME: G_DBUS_SERVER_FLAGS 683s # ENUMSHORT: DBUS_SERVER_FLAGS 683s # ENUMPREFIX: G 683s # enumsince: 683s # type: flags 683s # Type: Flags 683s # TYPE: FLAGS 683s # value-header 683s # EnumName: GDBusServerFlags 683s # enum_name: g_dbus_server_flags 683s # ENUMNAME: G_DBUS_SERVER_FLAGS 683s # ENUMSHORT: DBUS_SERVER_FLAGS 683s # ENUMPREFIX: G 683s # enumsince: 683s # type: flags 683s # Type: Flags 683s # TYPE: FLAGS 683s # value-production 683s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 683s # valuenick: user 683s # valuenum: 4 683s # type: flags 683s # Type: Flags 683s # TYPE: FLAGS 683s # value-tail 683s # EnumName: GDBusServerFlags 683s # enum_name: g_dbus_server_flags 683s # ENUMNAME: G_DBUS_SERVER_FLAGS 683s # ENUMSHORT: DBUS_SERVER_FLAGS 683s # ENUMPREFIX: G 683s # enumsince: 683s # type: flags 683s # Type: Flags 683s # TYPE: FLAGS 683s # file-tail 683s # 683s # comment 683s # comment: Generated data ends here 683s # Error: 683s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 683s # glib-mkenums: /usr/bin/glib-mkenums 683s # tmpdir: /tmp/tmpqwcv6wu2 683s # rspfile: True 683s # /tmp/tmpqwcv6wu2/tmporrrbl4z.h: 683s # typedef enum { 683s # ENUM_VALUE_WITH_COMMA = ',', 683s # } TestCommaEnum; 683s # 683s # /tmp/tmpqwcv6wu2/tmpjuq2lyc6.template: 683s # /*** BEGIN file-header ***/ 683s # file-header 683s # /*** END file-header ***/ 683s # 683s # /*** BEGIN file-production ***/ 683s # file-production 683s # filename: @filename@ 683s # basename: @basename@ 683s # /*** END file-production ***/ 683s # 683s # /*** BEGIN enumeration-production ***/ 683s # enumeration-production 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END enumeration-production ***/ 683s # 683s # /*** BEGIN value-header ***/ 683s # value-header 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-header ***/ 683s # 683s # /*** BEGIN value-production ***/ 683s # value-production 683s # VALUENAME: @VALUENAME@ 683s # valuenick: @valuenick@ 683s # valuenum: @valuenum@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-production ***/ 683s # 683s # /*** BEGIN value-tail ***/ 683s # value-tail 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-tail ***/ 683s # 683s # /*** BEGIN comment ***/ 683s # comment 683s # comment: @comment@ 683s # /*** END comment ***/ 683s # 683s # /*** BEGIN file-tail ***/ 683s # file-tail 683s # /*** END file-tail ***/ 683s # 683s # Response file contains: --template /tmp/tmpqwcv6wu2/tmpjuq2lyc6.template /tmp/tmpqwcv6wu2/tmporrrbl4z.h 683s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqwcv6wu2/tmp3q4pij2y'] 683s # Return code: 0 683s # Output: 683s # comment 683s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 683s # 683s # 683s # file-header 683s # file-production 683s # filename: /tmp/tmpqwcv6wu2/tmporrrbl4z.h 683s # basename: tmporrrbl4z.h 683s # enumeration-production 683s # EnumName: TestCommaEnum 683s # enum_name: test_comma_enum 683s # ENUMNAME: TEST_COMMA_ENUM 683s # ENUMSHORT: COMMA_ENUM 683s # ENUMPREFIX: TEST 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-header 683s # EnumName: TestCommaEnum 683s # enum_name: test_comma_enum 683s # ENUMNAME: TEST_COMMA_ENUM 683s # ENUMSHORT: COMMA_ENUM 683s # ENUMPREFIX: TEST 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-production 683s # VALUENAME: ENUM_VALUE_WITH_COMMA 683s # valuenick: comma 683s # valuenum: 44 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-tail 683s # EnumName: TestCommaEnum 683s # enum_name: test_comma_enum 683s # ENUMNAME: TEST_COMMA_ENUM 683s # ENUMSHORT: COMMA_ENUM 683s # ENUMPREFIX: TEST 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # file-tail 683s # 683s # comment 683s # comment: Generated data ends here 683s # Error: 683s ok 21 __main__.TestRspMkenums.test_deprecated_in 683s # glib-mkenums: /usr/bin/glib-mkenums 683s # tmpdir: /tmp/tmp1p2i8qjg 683s # rspfile: True 683s # /tmp/tmp1p2i8qjg/tmp3jmpssfn.h: 683s # typedef enum { 683s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 683s # } GDBusServerFlags; 683s # 683s # /tmp/tmp1p2i8qjg/tmp568pmr06.template: 683s # /*** BEGIN file-header ***/ 683s # file-header 683s # /*** END file-header ***/ 683s # 683s # /*** BEGIN file-production ***/ 683s # file-production 683s # filename: @filename@ 683s # basename: @basename@ 683s # /*** END file-production ***/ 683s # 683s # /*** BEGIN enumeration-production ***/ 683s # enumeration-production 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END enumeration-production ***/ 683s # 683s # /*** BEGIN value-header ***/ 683s # value-header 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-header ***/ 683s # 683s # /*** BEGIN value-production ***/ 683s # value-production 683s # VALUENAME: @VALUENAME@ 683s # valuenick: @valuenick@ 683s # valuenum: @valuenum@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-production ***/ 683s # 683s # /*** BEGIN value-tail ***/ 683s # value-tail 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-tail ***/ 683s # 683s # /*** BEGIN comment ***/ 683s # comment 683s # comment: @comment@ 683s # /*** END comment ***/ 683s # 683s # /*** BEGIN file-tail ***/ 683s # file-tail 683s # /*** END file-tail ***/ 683s # 683s # Response file contains: --template /tmp/tmp1p2i8qjg/tmp568pmr06.template /tmp/tmp1p2i8qjg/tmp3jmpssfn.h 683s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1p2i8qjg/tmpzswgiy0_'] 683s # Return code: 0 683s # Output: 683s # comment 683s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 683s # 683s # 683s # file-header 683s # file-production 683s # filename: /tmp/tmp1p2i8qjg/tmp3jmpssfn.h 683s # basename: tmp3jmpssfn.h 683s # enumeration-production 683s # EnumName: GDBusServerFlags 683s # enum_name: g_dbus_server_flags 683s # ENUMNAME: G_DBUS_SERVER_FLAGS 683s # ENUMSHORT: DBUS_SERVER_FLAGS 683s # ENUMPREFIX: G 683s # enumsince: 683s # type: flags 683s # Type: Flags 683s # TYPE: FLAGS 683s # value-header 683s # EnumName: GDBusServerFlags 683s # enum_name: g_dbus_server_flags 683s # ENUMNAME: G_DBUS_SERVER_FLAGS 683s # ENUMSHORT: DBUS_SERVER_FLAGS 683s # ENUMPREFIX: G 683s # enumsince: 683s # type: flags 683s # Type: Flags 683s # TYPE: FLAGS 683s # value-production 683s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 683s # valuenick: user 683s # valuenum: 4 683s # type: flags 683s # Type: Flags 683s # TYPE: FLAGS 683s # value-tail 683s # EnumName: GDBusServerFlags 683s # enum_name: g_dbus_server_flags 683s # ENUMNAME: G_DBUS_SERVER_FLAGS 683s # ENUMSHORT: DBUS_SERVER_FLAGS 683s # ENUMPREFIX: G 683s # enumsince: 683s # type: flags 683s # Type: Flags 683s # TYPE: FLAGS 683s # file-tail 683s # 683s # comment 683s # comment: Generated data ends here 683s # Error: 683s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 683s # glib-mkenums: /usr/bin/glib-mkenums 683s # tmpdir: /tmp/tmpvauh4ptn 683s # rspfile: True 683s # /tmp/tmpvauh4ptn/tmpel_7dase.h: 683s # typedef enum { 683s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68_FOR(G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER2) = (1<<2) 683s # } GDBusServerFlags; 683s # 683s # /tmp/tmpvauh4ptn/tmpd4wgbmcc.template: 683s # /*** BEGIN file-header ***/ 683s # file-header 683s # /*** END file-header ***/ 683s # 683s # /*** BEGIN file-production ***/ 683s # file-production 683s # filename: @filename@ 683s # basename: @basename@ 683s # /*** END file-production ***/ 683s # 683s # /*** BEGIN enumeration-production ***/ 683s # enumeration-production 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END enumeration-production ***/ 683s # 683s # /*** BEGIN value-header ***/ 683s # value-header 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-header ***/ 683s # 683s # /*** BEGIN value-production ***/ 683s # value-production 683s # VALUENAME: @VALUENAME@ 683s # valuenick: @valuenick@ 683s # valuenum: @valuenum@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-production ***/ 683s # 683s # /*** BEGIN value-tail ***/ 683s # value-tail 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-tail ***/ 683s # 683s # /*** BEGIN comment ***/ 683s # comment 683s # comment: @comment@ 683s # /*** END comment ***/ 683s # 683s # /*** BEGIN file-tail ***/ 683s # file-tail 683s # /*** END file-tail ***/ 683s # 683s # Response file contains: --template /tmp/tmpvauh4ptn/tmpd4wgbmcc.template /tmp/tmpvauh4ptn/tmpel_7dase.h 683s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvauh4ptn/tmpdmdf3ptk'] 683s # Return code: 0 683s # Output: 683s # comment 683s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 683s # 683s # 683s # file-header 683s # file-production 683s # filename: /tmp/tmpvauh4ptn/tmpel_7dase.h 683s # basename: tmpel_7dase.h 683s # enumeration-production 683s # EnumName: GDBusServerFlags 683s # enum_name: g_dbus_server_flags 683s # ENUMNAME: G_DBUS_SERVER_FLAGS 683s # ENUMSHORT: DBUS_SERVER_FLAGS 683s # ENUMPREFIX: G 683s # enumsince: 683s # type: flags 683s # Type: Flags 683s # TYPE: FLAGS 683s # value-header 683s # EnumName: GDBusServerFlags 683s # enum_name: g_dbus_server_flags 683s # ENUMNAME: G_DBUS_SERVER_FLAGS 683s # ENUMSHORT: DBUS_SERVER_FLAGS 683s # ENUMPREFIX: G 683s # enumsince: 683s # type: flags 683s # Type: Flags 683s # TYPE: FLAGS 683s # value-production 683s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 683s # valuenick: user 683s # valuenum: 4 683s # type: flags 683s # Type: Flags 683s # TYPE: FLAGS 683s # value-tail 683s # EnumName: GDBusServerFlags 683s # enum_name: g_dbus_server_flags 683s # ENUMNAME: G_DBUS_SERVER_FLAGS 683s # ENUMSHORT: DBUS_SERVER_FLAGS 683s # ENUMPREFIX: G 683s # enumsince: 683s # type: flags 683s # Type: Flags 683s # TYPE: FLAGS 683s # file-tail 683s # 683s # comment 683s # comment: Generated data ends here 683s # Error: 683s ok 23 __main__.TestRspMkenums.test_empty_header 683s # glib-mkenums: /usr/bin/glib-mkenums 683s # tmpdir: /tmp/tmpgozrcs2a 683s # rspfile: True 683s # /tmp/tmpgozrcs2a/tmpn94ak89f.h: 683s # /tmp/tmpgozrcs2a/tmpnmwo7xti.template: 683s # /*** BEGIN file-header ***/ 683s # file-header 683s # /*** END file-header ***/ 683s # 683s # /*** BEGIN file-production ***/ 683s # file-production 683s # filename: @filename@ 683s # basename: @basename@ 683s # /*** END file-production ***/ 683s # 683s # /*** BEGIN enumeration-production ***/ 683s # enumeration-production 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END enumeration-production ***/ 683s # 683s # /*** BEGIN value-header ***/ 683s # value-header 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-header ***/ 683s # 683s # /*** BEGIN value-production ***/ 683s # value-production 683s # VALUENAME: @VALUENAME@ 683s # valuenick: @valuenick@ 683s # valuenum: @valuenum@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-production ***/ 683s # 683s # /*** BEGIN value-tail ***/ 683s # value-tail 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-tail ***/ 683s # 683s # /*** BEGIN comment ***/ 683s # comment 683s # comment: @comment@ 683s # /*** END comment ***/ 683s # 683s # /*** BEGIN file-tail ***/ 683s # file-tail 683s # /*** END file-tail ***/ 683s # 683s # Response file contains: --template /tmp/tmpgozrcs2a/tmpnmwo7xti.template /tmp/tmpgozrcs2a/tmpn94ak89f.h 683s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgozrcs2a/tmp4f3i3ahh'] 683s # Return code: 0 683s # Output: 683s # comment 683s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 683s # 683s # 683s # file-header 683s # file-tail 683s # 683s # comment 683s # comment: Generated data ends here 683s # Error: 683s ok 24 __main__.TestRspMkenums.test_empty_template 683s # glib-mkenums: /usr/bin/glib-mkenums 683s # tmpdir: /tmp/tmpfs1duitn 683s # rspfile: True 683s # /tmp/tmpfs1duitn/tmp381opccp.template: 683s # Response file contains: --template /tmp/tmpfs1duitn/tmp381opccp.template 683s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfs1duitn/tmpjfa3vrgu'] 683s # Return code: 0 683s # Output: 683s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 683s # 683s # 683s # /* Generated data ends here */ 683s # Error: 683s ok 25 __main__.TestRspMkenums.test_enum_name 683s # glib-mkenums: /usr/bin/glib-mkenums 683s # tmpdir: /tmp/tmps284o387 683s # rspfile: True 683s # /tmp/tmps284o387/tmpx7pkh0cp.h: 683s # typedef enum _SomeEnumIdentifier { 683s # ENUM_VALUE 683s # } SomeEnumIdentifier; 683s # 683s # /tmp/tmps284o387/tmp4w79wrhl.template: 683s # /*** BEGIN file-header ***/ 683s # file-header 683s # /*** END file-header ***/ 683s # 683s # /*** BEGIN file-production ***/ 683s # file-production 683s # filename: @filename@ 683s # basename: @basename@ 683s # /*** END file-production ***/ 683s # 683s # /*** BEGIN enumeration-production ***/ 683s # enumeration-production 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END enumeration-production ***/ 683s # 683s # /*** BEGIN value-header ***/ 683s # value-header 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-header ***/ 683s # 683s # /*** BEGIN value-production ***/ 683s # value-production 683s # VALUENAME: @VALUENAME@ 683s # valuenick: @valuenick@ 683s # valuenum: @valuenum@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-production ***/ 683s # 683s # /*** BEGIN value-tail ***/ 683s # value-tail 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-tail ***/ 683s # 683s # /*** BEGIN comment ***/ 683s # comment 683s # comment: @comment@ 683s # /*** END comment ***/ 683s # 683s # /*** BEGIN file-tail ***/ 683s # file-tail 683s # /*** END file-tail ***/ 683s # 683s # Response file contains: --template /tmp/tmps284o387/tmp4w79wrhl.template /tmp/tmps284o387/tmpx7pkh0cp.h 683s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmps284o387/tmprimy7ts2'] 683s # Return code: 0 683s # Output: 683s # comment 683s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 683s # 683s # 683s # file-header 683s # file-production 683s # filename: /tmp/tmps284o387/tmpx7pkh0cp.h 683s # basename: tmpx7pkh0cp.h 683s # enumeration-production 683s # EnumName: SomeEnumIdentifier 683s # enum_name: some_enum_identifier 683s # ENUMNAME: SOME_ENUM_IDENTIFIER 683s # ENUMSHORT: ENUM_IDENTIFIER 683s # ENUMPREFIX: SOME 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-header 683s # EnumName: SomeEnumIdentifier 683s # enum_name: some_enum_identifier 683s # ENUMNAME: SOME_ENUM_IDENTIFIER 683s # ENUMSHORT: ENUM_IDENTIFIER 683s # ENUMPREFIX: SOME 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-production 683s # VALUENAME: ENUM_VALUE 683s # valuenick: value 683s # valuenum: 0 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-tail 683s # EnumName: SomeEnumIdentifier 683s # enum_name: some_enum_identifier 683s # ENUMNAME: SOME_ENUM_IDENTIFIER 683s # ENUMSHORT: ENUM_IDENTIFIER 683s # ENUMPREFIX: SOME 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # file-tail 683s # 683s # comment 683s # comment: Generated data ends here 683s # Error: 683s ok 26 __main__.TestRspMkenums.test_enum_private_public 683s # glib-mkenums: /usr/bin/glib-mkenums 683s # tmpdir: /tmp/tmpzpkhi3jy 683s # rspfile: True 683s # /tmp/tmpzpkhi3jy/tmp4ulwttf8.h: 683s # typedef enum { 683s # ENUM_VALUE_PUBLIC1, 683s # /*< private >*/ 683s # ENUM_VALUE_PRIVATE, 683s # } SomeEnumA 683s # 683s # /tmp/tmpzpkhi3jy/tmpm_gbxleh.template: 683s # /*** BEGIN file-header ***/ 683s # file-header 683s # /*** END file-header ***/ 683s # 683s # /*** BEGIN file-production ***/ 683s # file-production 683s # filename: @filename@ 683s # basename: @basename@ 683s # /*** END file-production ***/ 683s # 683s # /*** BEGIN enumeration-production ***/ 683s # enumeration-production 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END enumeration-production ***/ 683s # 683s # /*** BEGIN value-header ***/ 683s # value-header 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-header ***/ 683s # 683s # /*** BEGIN value-production ***/ 683s # value-production 683s # VALUENAME: @VALUENAME@ 683s # valuenick: @valuenick@ 683s # valuenum: @valuenum@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-production ***/ 683s # 683s # /*** BEGIN value-tail ***/ 683s # value-tail 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-tail ***/ 683s # 683s # /*** BEGIN comment ***/ 683s # comment 683s # comment: @comment@ 683s # /*** END comment ***/ 683s # 683s # /*** BEGIN file-tail ***/ 683s # file-tail 683s # /*** END file-tail ***/ 683s # 683s # Response file contains: --template /tmp/tmpzpkhi3jy/tmpm_gbxleh.template /tmp/tmpzpkhi3jy/tmp4ulwttf8.h 683s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzpkhi3jy/tmp6ok3ar0l'] 683s # Return code: 0 683s # Output: 683s # comment 683s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 683s # 683s # 683s # file-header 683s # file-production 683s # filename: /tmp/tmpzpkhi3jy/tmp4ulwttf8.h 683s # basename: tmp4ulwttf8.h 683s # enumeration-production 683s # EnumName: SomeEnumA 683s # enum_name: some_enum_a 683s # ENUMNAME: SOME_ENUM_A 683s # ENUMSHORT: ENUM_A 683s # ENUMPREFIX: SOME 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-header 683s # EnumName: SomeEnumA 683s # enum_name: some_enum_a 683s # ENUMNAME: SOME_ENUM_A 683s # ENUMSHORT: ENUM_A 683s # ENUMPREFIX: SOME 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-production 683s # VALUENAME: ENUM_VALUE_PUBLIC1 683s # valuenick: public1 683s # valuenum: 0 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-tail 683s # EnumName: SomeEnumA 683s # enum_name: some_enum_a 683s # ENUMNAME: SOME_ENUM_A 683s # ENUMSHORT: ENUM_A 683s # ENUMPREFIX: SOME 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # file-tail 683s # 683s # comment 683s # comment: Generated data ends here 683s # Error: 683s # 683s # /tmp/tmpzpkhi3jy/tmp2_hehzhz.h: 683s # typedef enum { 683s # /*< private >*/ 683s # ENUM_VALUE_PRIVATE, 683s # /*< public >*/ 683s # ENUM_VALUE_PUBLIC2, 683s # } SomeEnumB; 683s # 683s # /tmp/tmpzpkhi3jy/tmp3_by_puc.template: 683s # /*** BEGIN file-header ***/ 683s # file-header 683s # /*** END file-header ***/ 683s # 683s # /*** BEGIN file-production ***/ 683s # file-production 683s # filename: @filename@ 683s # basename: @basename@ 683s # /*** END file-production ***/ 683s # 683s # /*** BEGIN enumeration-production ***/ 683s # enumeration-production 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END enumeration-production ***/ 683s # 683s # /*** BEGIN value-header ***/ 683s # value-header 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-header ***/ 683s # 683s # /*** BEGIN value-production ***/ 683s # value-production 683s # VALUENAME: @VALUENAME@ 683s # valuenick: @valuenick@ 683s # valuenum: @valuenum@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-production ***/ 683s # 683s # /*** BEGIN value-tail ***/ 683s # value-tail 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-tail ***/ 683s # 683s # /*** BEGIN comment ***/ 683s # comment 683s # comment: @comment@ 683s # /*** END comment ***/ 683s # 683s # /*** BEGIN file-tail ***/ 683s # file-tail 683s # /*** END file-tail ***/ 683s # 683s # Response file contains: --template /tmp/tmpzpkhi3jy/tmp3_by_puc.template /tmp/tmpzpkhi3jy/tmp2_hehzhz.h 683s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzpkhi3jy/tmpiltwffyq'] 683s # Return code: 0 683s # Output: 683s # comment 683s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 683s # 683s # 683s # file-header 683s # file-production 683s # filename: /tmp/tmpzpkhi3jy/tmp2_hehzhz.h 683s # basename: tmp2_hehzhz.h 683s # enumeration-production 683s # EnumName: SomeEnumB 683s # enum_name: some_enum_b 683s # ENUMNAME: SOME_ENUM_B 683s # ENUMSHORT: ENUM_B 683s # ENUMPREFIX: SOME 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-header 683s # EnumName: SomeEnumB 683s # enum_name: some_enum_b 683s # ENUMNAME: SOME_ENUM_B 683s # ENUMSHORT: ENUM_B 683s # ENUMPREFIX: SOME 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-production 683s # VALUENAME: ENUM_VALUE_PUBLIC2 683s # valuenick: public2 683s # valuenum: 1 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-tail 683s # EnumName: SomeEnumB 683s # enum_name: some_enum_b 683s # ENUMNAME: SOME_ENUM_B 683s # ENUMSHORT: ENUM_B 683s # ENUMPREFIX: SOME 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # file-tail 683s # 683s # comment 683s # comment: Generated data ends here 683s # Error: 683s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 683s # glib-mkenums: /usr/bin/glib-mkenums 683s # tmpdir: /tmp/tmpadvofsgb 683s # rspfile: True 683s # /tmp/tmpadvofsgb/tmph0_lykpw.h: 683s # typedef enum { 683s # /*< private >*/ 683s # ENUM_VALUE_PRIVATE = 5, 683s # /*< public >*/ 683s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 683s # } TestSymbolicEnum; 683s # 683s # /tmp/tmpadvofsgb/tmpg2wwdw9k.template: 683s # /*** BEGIN file-header ***/ 683s # file-header 683s # /*** END file-header ***/ 683s # 683s # /*** BEGIN file-production ***/ 683s # file-production 683s # filename: @filename@ 683s # basename: @basename@ 683s # /*** END file-production ***/ 683s # 683s # /*** BEGIN enumeration-production ***/ 683s # enumeration-production 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END enumeration-production ***/ 683s # 683s # /*** BEGIN value-header ***/ 683s # value-header 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-header ***/ 683s # 683s # /*** BEGIN value-production ***/ 683s # value-production 683s # VALUENAME: @VALUENAME@ 683s # valuenick: @valuenick@ 683s # valuenum: @valuenum@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-production ***/ 683s # 683s # /*** BEGIN value-tail ***/ 683s # value-tail 683s # EnumName: @EnumName@ 683s # enum_name: @enum_name@ 683s # ENUMNAME: @ENUMNAME@ 683s # ENUMSHORT: @ENUMSHORT@ 683s # ENUMPREFIX: @ENUMPREFIX@ 683s # enumsince: @enumsince@ 683s # type: @type@ 683s # Type: @Type@ 683s # TYPE: @TYPE@ 683s # /*** END value-tail ***/ 683s # 683s # /*** BEGIN comment ***/ 683s # comment 683s # comment: @comment@ 683s # /*** END comment ***/ 683s # 683s # /*** BEGIN file-tail ***/ 683s # file-tail 683s # /*** END file-tail ***/ 683s # 683s # Response file contains: --template /tmp/tmpadvofsgb/tmpg2wwdw9k.template /tmp/tmpadvofsgb/tmph0_lykpw.h 683s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpadvofsgb/tmpmveeucwy'] 683s # Return code: 0 683s # Output: 683s # comment 683s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 683s # 683s # 683s # file-header 683s # file-production 683s # filename: /tmp/tmpadvofsgb/tmph0_lykpw.h 683s # basename: tmph0_lykpw.h 683s # enumeration-production 683s # EnumName: TestSymbolicEnum 683s # enum_name: test_symbolic_enum 683s # ENUMNAME: TEST_SYMBOLIC_ENUM 683s # ENUMSHORT: SYMBOLIC_ENUM 683s # ENUMPREFIX: TEST 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-header 683s # EnumName: TestSymbolicEnum 683s # enum_name: test_symbolic_enum 683s # ENUMNAME: TEST_SYMBOLIC_ENUM 683s # ENUMSHORT: SYMBOLIC_ENUM 683s # ENUMPREFIX: TEST 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-production 683s # VALUENAME: ENUM_VALUE_PUBLIC 683s # valuenick: public 683s # valuenum: 7 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # value-tail 683s # EnumName: TestSymbolicEnum 683s # enum_name: test_symbolic_enum 683s # ENUMNAME: TEST_SYMBOLIC_ENUM 683s # ENUMSHORT: SYMBOLIC_ENUM 683s # ENUMPREFIX: TEST 683s # enumsince: 683s # type: enum 683s # Type: Enum 683s # TYPE: ENUM 683s # file-tail 683s # 683s # comment 683s # comment: Generated data ends here 683s # Error: 683s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 683s # glib-mkenums: /usr/bin/glib-mkenums 683s # tmpdir: /tmp/tmp079_0_z8 683s # rspfile: True 683s # /tmp/tmp079_0_z8/tmp_jot0naw.template: 683s # /*** BEGIN file-header ***/ 683s # file-header 683s # filename: @filename@ 683s # basename: @basename@ 683s # /*** END file-header ***/ 683s # 683s # /*** BEGIN comment ***/ 683s # comment 683s # comment: @comment@ 683s # /*** END comment ***/ 683s # 683s # /*** BEGIN file-tail ***/ 683s # file-tail 683s # filename: @filename@ 683s # basename: @basename@ 683s # /*** END file-tail ***/ 683s # Response file contains: --template /tmp/tmp079_0_z8/tmp_jot0naw.template 683s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp079_0_z8/tmp0dfc3ghx'] 683s # Return code: 0 683s # Output: 683s # comment 683s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 683s # 683s # 683s # file-header 683s # filename: @filename@ 683s # basename: @basename@ 683s # file-tail 683s # filename: @filename@ 683s # basename: @basename@ 683s # 683s # comment 683s # comment: Generated data ends here 683s # Error: 683s # WARNING: @filename@ used in file-header section. 683s # WARNING: @basename@ used in file-header section. 683s # WARNING: @filename@ used in file-tail section. 683s # WARNING: @basename@ used in file-tail section. 683s ok 29 __main__.TestRspMkenums.test_help 683s # glib-mkenums: /usr/bin/glib-mkenums 683s # tmpdir: /tmp/tmpwduvcbt2 683s # rspfile: True 683s # Response file contains: --help 683s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwduvcbt2/tmprvy4svab'] 683s # Return code: 0 683s # Output: 683s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 683s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 683s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 683s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 683s # [--comments COMMENT_TMPL] [--template TEMPLATE] 683s # [--output OUTPUT] [--version] 683s # [args ...] 683s # 683s # positional arguments: 683s # args One or more input files, or a single argument 683s # @rspfile_path pointing to a file that contains the 683s # actual arguments 683s # 683s # options: 683s # -h, --help show this help message and exit 683s # --identifier-prefix IDPREFIX 683s # Identifier prefix 683s # --symbol-prefix SYMPREFIX 683s # Symbol prefix 683s # --fhead FHEAD Output file header 683s # --ftail FTAIL Output file footer 683s # --fprod FPROD Put out TEXT every time a new input file is being 683s # processed. 683s # --eprod EPROD Per enum text, produced prior to value iterations 683s # --vhead VHEAD Value header, produced before iterating over enum 683s # values 683s # --vprod VPROD Value text, produced for each enum value. 683s # --vtail VTAIL Value tail, produced after iterating over enum values 683s # --comments COMMENT_TMPL 683s # Comment structure 683s # --template TEMPLATE Template file 683s # --output OUTPUT 683s # --version, -v Print version information 683s # 683s # Production text substitutions: 683s # @EnumName@ PrefixTheXEnum 683s # @enum_name@ prefix_the_xenum 683s # @ENUMNAME@ PREFIX_THE_XENUM 683s # @ENUMSHORT@ THE_XENUM 683s # @ENUMPREFIX@ PREFIX 683s # @enumsince@ the user-provided since value given 683s # @VALUENAME@ PREFIX_THE_XVALUE 683s # @valuenick@ the-xvalue 683s # @valuenum@ the integer value (limited support, Since: 2.26) 683s # @type@ either enum or flags 683s # @Type@ either Enum or Flags 683s # @TYPE@ either ENUM or FLAGS 683s # @filename@ name of current input file 683s # @basename@ base name of the current input file (Since: 2.22) 683s # Error: 684s ok 30 __main__.TestRspMkenums.test_no_args 684s # glib-mkenums: /usr/bin/glib-mkenums 684s # tmpdir: /tmp/tmp_4_fa1rd 684s # rspfile: True 684s # Response file contains: 684s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_4_fa1rd/tmphlj1dvl3'] 684s # Return code: 0 684s # Output: 684s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 684s # 684s # 684s # /* Generated data ends here */ 684s # Error: 684s ok 31 __main__.TestRspMkenums.test_no_headers 684s # glib-mkenums: /usr/bin/glib-mkenums 684s # tmpdir: /tmp/tmplcmbj5cj 684s # rspfile: True 684s # /tmp/tmplcmbj5cj/tmp5dit8cun.template: 684s # /*** BEGIN file-header ***/ 684s # file-header 684s # /*** END file-header ***/ 684s # 684s # /*** BEGIN file-production ***/ 684s # file-production 684s # filename: @filename@ 684s # basename: @basename@ 684s # /*** END file-production ***/ 684s # 684s # /*** BEGIN enumeration-production ***/ 684s # enumeration-production 684s # EnumName: @EnumName@ 684s # enum_name: @enum_name@ 684s # ENUMNAME: @ENUMNAME@ 684s # ENUMSHORT: @ENUMSHORT@ 684s # ENUMPREFIX: @ENUMPREFIX@ 684s # enumsince: @enumsince@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END enumeration-production ***/ 684s # 684s # /*** BEGIN value-header ***/ 684s # value-header 684s # EnumName: @EnumName@ 684s # enum_name: @enum_name@ 684s # ENUMNAME: @ENUMNAME@ 684s # ENUMSHORT: @ENUMSHORT@ 684s # ENUMPREFIX: @ENUMPREFIX@ 684s # enumsince: @enumsince@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END value-header ***/ 684s # 684s # /*** BEGIN value-production ***/ 684s # value-production 684s # VALUENAME: @VALUENAME@ 684s # valuenick: @valuenick@ 684s # valuenum: @valuenum@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END value-production ***/ 684s # 684s # /*** BEGIN value-tail ***/ 684s # value-tail 684s # EnumName: @EnumName@ 684s # enum_name: @enum_name@ 684s # ENUMNAME: @ENUMNAME@ 684s # ENUMSHORT: @ENUMSHORT@ 684s # ENUMPREFIX: @ENUMPREFIX@ 684s # enumsince: @enumsince@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END value-tail ***/ 684s # 684s # /*** BEGIN comment ***/ 684s # comment 684s # comment: @comment@ 684s # /*** END comment ***/ 684s # 684s # /*** BEGIN file-tail ***/ 684s # file-tail 684s # /*** END file-tail ***/ 684s # 684s # Response file contains: --template /tmp/tmplcmbj5cj/tmp5dit8cun.template 684s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplcmbj5cj/tmpx3pzf50r'] 684s # Return code: 0 684s # Output: 684s # comment 684s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 684s # 684s # 684s # file-header 684s # file-tail 684s # 684s # comment 684s # comment: Generated data ends here 684s # Error: 684s ok 32 __main__.TestRspMkenums.test_no_nick 684s # glib-mkenums: /usr/bin/glib-mkenums 684s # tmpdir: /tmp/tmpd82nxzpb 684s # rspfile: True 684s # /tmp/tmpd82nxzpb/tmpf925aud8.h: 684s # typedef enum { 684s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 684s # } GeglSamplerType; 684s # 684s # /tmp/tmpd82nxzpb/tmpq0_sy25z.template: 684s # /*** BEGIN file-header ***/ 684s # file-header 684s # /*** END file-header ***/ 684s # 684s # /*** BEGIN file-production ***/ 684s # file-production 684s # filename: @filename@ 684s # basename: @basename@ 684s # /*** END file-production ***/ 684s # 684s # /*** BEGIN enumeration-production ***/ 684s # enumeration-production 684s # EnumName: @EnumName@ 684s # enum_name: @enum_name@ 684s # ENUMNAME: @ENUMNAME@ 684s # ENUMSHORT: @ENUMSHORT@ 684s # ENUMPREFIX: @ENUMPREFIX@ 684s # enumsince: @enumsince@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END enumeration-production ***/ 684s # 684s # /*** BEGIN value-header ***/ 684s # value-header 684s # EnumName: @EnumName@ 684s # enum_name: @enum_name@ 684s # ENUMNAME: @ENUMNAME@ 684s # ENUMSHORT: @ENUMSHORT@ 684s # ENUMPREFIX: @ENUMPREFIX@ 684s # enumsince: @enumsince@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END value-header ***/ 684s # 684s # /*** BEGIN value-production ***/ 684s # value-production 684s # VALUENAME: @VALUENAME@ 684s # valuenick: @valuenick@ 684s # valuenum: @valuenum@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END value-production ***/ 684s # 684s # /*** BEGIN value-tail ***/ 684s # value-tail 684s # EnumName: @EnumName@ 684s # enum_name: @enum_name@ 684s # ENUMNAME: @ENUMNAME@ 684s # ENUMSHORT: @ENUMSHORT@ 684s # ENUMPREFIX: @ENUMPREFIX@ 684s # enumsince: @enumsince@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END value-tail ***/ 684s # 684s # /*** BEGIN comment ***/ 684s # comment 684s # comment: @comment@ 684s # /*** END comment ***/ 684s # 684s # /*** BEGIN file-tail ***/ 684s # file-tail 684s # /*** END file-tail ***/ 684s # 684s # Response file contains: --template /tmp/tmpd82nxzpb/tmpq0_sy25z.template /tmp/tmpd82nxzpb/tmpf925aud8.h 684s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpd82nxzpb/tmpd82ktcu1'] 684s # Return code: 0 684s # Output: 684s # comment 684s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 684s # 684s # 684s # file-header 684s # file-production 684s # filename: /tmp/tmpd82nxzpb/tmpf925aud8.h 684s # basename: tmpf925aud8.h 684s # enumeration-production 684s # EnumName: GeglSamplerType 684s # enum_name: gegl_sampler_type 684s # ENUMNAME: GEGL_SAMPLER_TYPE 684s # ENUMSHORT: SAMPLER_TYPE 684s # ENUMPREFIX: GEGL 684s # enumsince: 684s # type: enum 684s # Type: Enum 684s # TYPE: ENUM 684s # value-header 684s # EnumName: GeglSamplerType 684s # enum_name: gegl_sampler_type 684s # ENUMNAME: GEGL_SAMPLER_TYPE 684s # ENUMSHORT: SAMPLER_TYPE 684s # ENUMPREFIX: GEGL 684s # enumsince: 684s # type: enum 684s # Type: Enum 684s # TYPE: ENUM 684s # value-production 684s # VALUENAME: GEGL_SAMPLER_NEAREST 684s # valuenick: nearest 684s # valuenum: 0 684s # type: enum 684s # Type: Enum 684s # TYPE: ENUM 684s # value-tail 684s # EnumName: GeglSamplerType 684s # enum_name: gegl_sampler_type 684s # ENUMNAME: GEGL_SAMPLER_TYPE 684s # ENUMSHORT: SAMPLER_TYPE 684s # ENUMPREFIX: GEGL 684s # enumsince: 684s # type: enum 684s # Type: Enum 684s # TYPE: ENUM 684s # file-tail 684s # 684s # comment 684s # comment: Generated data ends here 684s # Error: 684s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 684s # glib-mkenums: /usr/bin/glib-mkenums 684s # tmpdir: /tmp/tmpbhajb97o 684s # rspfile: True 684s # /tmp/tmpbhajb97o/tmppiro10k0.h: 684s # /* Copyright © La Peña */ 684s # typedef enum { 684s # ENUM_VALUE 684s # } SomeEnumIdentifier; 684s # 684s # /tmp/tmpbhajb97o/tmptqlosnon.template: 684s # /*** BEGIN file-header ***/ 684s # file-header 684s # /*** END file-header ***/ 684s # 684s # /*** BEGIN file-production ***/ 684s # file-production 684s # filename: @filename@ 684s # basename: @basename@ 684s # /*** END file-production ***/ 684s # 684s # /*** BEGIN enumeration-production ***/ 684s # enumeration-production 684s # EnumName: @EnumName@ 684s # enum_name: @enum_name@ 684s # ENUMNAME: @ENUMNAME@ 684s # ENUMSHORT: @ENUMSHORT@ 684s # ENUMPREFIX: @ENUMPREFIX@ 684s # enumsince: @enumsince@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END enumeration-production ***/ 684s # 684s # /*** BEGIN value-header ***/ 684s # value-header 684s # EnumName: @EnumName@ 684s # enum_name: @enum_name@ 684s # ENUMNAME: @ENUMNAME@ 684s # ENUMSHORT: @ENUMSHORT@ 684s # ENUMPREFIX: @ENUMPREFIX@ 684s # enumsince: @enumsince@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END value-header ***/ 684s # 684s # /*** BEGIN value-production ***/ 684s # value-production 684s # VALUENAME: @VALUENAME@ 684s # valuenick: @valuenick@ 684s # valuenum: @valuenum@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END value-production ***/ 684s # 684s # /*** BEGIN value-tail ***/ 684s # value-tail 684s # EnumName: @EnumName@ 684s # enum_name: @enum_name@ 684s # ENUMNAME: @ENUMNAME@ 684s # ENUMSHORT: @ENUMSHORT@ 684s # ENUMPREFIX: @ENUMPREFIX@ 684s # enumsince: @enumsince@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END value-tail ***/ 684s # 684s # /*** BEGIN comment ***/ 684s # comment 684s # comment: @comment@ 684s # /*** END comment ***/ 684s # 684s # /*** BEGIN file-tail ***/ 684s # file-tail 684s # /*** END file-tail ***/ 684s # 684s # Response file contains: --template /tmp/tmpbhajb97o/tmptqlosnon.template /tmp/tmpbhajb97o/tmppiro10k0.h 684s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbhajb97o/tmpju8f415h'] 684s # Return code: 0 684s # Output: 684s # comment 684s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 684s # 684s # 684s # file-header 684s # file-production 684s # filename: /tmp/tmpbhajb97o/tmppiro10k0.h 684s # basename: tmppiro10k0.h 684s # enumeration-production 684s # EnumName: SomeEnumIdentifier 684s # enum_name: some_enum_identifier 684s # ENUMNAME: SOME_ENUM_IDENTIFIER 684s # ENUMSHORT: ENUM_IDENTIFIER 684s # ENUMPREFIX: SOME 684s # enumsince: 684s # type: enum 684s # Type: Enum 684s # TYPE: ENUM 684s # value-header 684s # EnumName: SomeEnumIdentifier 684s # enum_name: some_enum_identifier 684s # ENUMNAME: SOME_ENUM_IDENTIFIER 684s # ENUMSHORT: ENUM_IDENTIFIER 684s # ENUMPREFIX: SOME 684s # enumsince: 684s # type: enum 684s # Type: Enum 684s # TYPE: ENUM 684s # value-production 684s # VALUENAME: ENUM_VALUE 684s # valuenick: value 684s # valuenum: 0 684s # type: enum 684s # Type: Enum 684s # TYPE: ENUM 684s # value-tail 684s # EnumName: SomeEnumIdentifier 684s # enum_name: some_enum_identifier 684s # ENUMNAME: SOME_ENUM_IDENTIFIER 684s # ENUMSHORT: ENUM_IDENTIFIER 684s # ENUMPREFIX: SOME 684s # enumsince: 684s # type: enum 684s # Type: Enum 684s # TYPE: ENUM 684s # file-tail 684s # 684s # comment 684s # comment: Generated data ends here 684s # Error: 684s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 684s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 684s ok 34 __main__.TestRspMkenums.test_reproducible 684s # glib-mkenums: /usr/bin/glib-mkenums 684s # tmpdir: /tmp/tmp_vpveeue 684s # rspfile: True 684s # /tmp/tmp_vpveeue/tmpg50jut3f.template: template 684s # Response file contains: --template /tmp/tmp_vpveeue/tmpg50jut3f.template /tmp/tmp_vpveeue/tmpmjbh6wcr1.h /tmp/tmp_vpveeue/tmp9buwgs3s2.h 684s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_vpveeue/tmp14p9m07y'] 684s # Return code: 0 684s # Output: 684s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 684s # 684s # 684s # /* Generated data ends here */ 684s # Error: 684s # 684s # /tmp/tmp_vpveeue/tmptdprcczv.template: template 684s # Response file contains: --template /tmp/tmp_vpveeue/tmptdprcczv.template /tmp/tmp_vpveeue/tmp9buwgs3s2.h /tmp/tmp_vpveeue/tmpmjbh6wcr1.h 684s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_vpveeue/tmpg0mt9szf'] 684s # Return code: 0 684s # Output: 684s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 684s # 684s # 684s # /* Generated data ends here */ 684s # Error: 684s ok 35 __main__.TestRspMkenums.test_since 684s # glib-mkenums: /usr/bin/glib-mkenums 684s # tmpdir: /tmp/tmpf84h046j 684s # rspfile: True 684s # /tmp/tmpf84h046j/tmpu3ba2bib.h: 684s # typedef enum { /*< since=1.0 >*/ 684s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 684s # } QmiWmsMessageProtocol; 684s # 684s # /tmp/tmpf84h046j/tmp_msanpgd.template: 684s # /*** BEGIN file-header ***/ 684s # file-header 684s # /*** END file-header ***/ 684s # 684s # /*** BEGIN file-production ***/ 684s # file-production 684s # filename: @filename@ 684s # basename: @basename@ 684s # /*** END file-production ***/ 684s # 684s # /*** BEGIN enumeration-production ***/ 684s # enumeration-production 684s # EnumName: @EnumName@ 684s # enum_name: @enum_name@ 684s # ENUMNAME: @ENUMNAME@ 684s # ENUMSHORT: @ENUMSHORT@ 684s # ENUMPREFIX: @ENUMPREFIX@ 684s # enumsince: @enumsince@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END enumeration-production ***/ 684s # 684s # /*** BEGIN value-header ***/ 684s # value-header 684s # EnumName: @EnumName@ 684s # enum_name: @enum_name@ 684s # ENUMNAME: @ENUMNAME@ 684s # ENUMSHORT: @ENUMSHORT@ 684s # ENUMPREFIX: @ENUMPREFIX@ 684s # enumsince: @enumsince@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END value-header ***/ 684s # 684s # /*** BEGIN value-production ***/ 684s # value-production 684s # VALUENAME: @VALUENAME@ 684s # valuenick: @valuenick@ 684s # valuenum: @valuenum@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END value-production ***/ 684s # 684s # /*** BEGIN value-tail ***/ 684s # value-tail 684s # EnumName: @EnumName@ 684s # enum_name: @enum_name@ 684s # ENUMNAME: @ENUMNAME@ 684s # ENUMSHORT: @ENUMSHORT@ 684s # ENUMPREFIX: @ENUMPREFIX@ 684s # enumsince: @enumsince@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END value-tail ***/ 684s # 684s # /*** BEGIN comment ***/ 684s # comment 684s # comment: @comment@ 684s # /*** END comment ***/ 684s # 684s # /*** BEGIN file-tail ***/ 684s # file-tail 684s # /*** END file-tail ***/ 684s # 684s # Response file contains: --template /tmp/tmpf84h046j/tmp_msanpgd.template /tmp/tmpf84h046j/tmpu3ba2bib.h 684s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpf84h046j/tmpwfdnoofd'] 684s # Return code: 0 684s # Output: 684s # comment 684s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 684s # 684s # 684s # file-header 684s # file-production 684s # filename: /tmp/tmpf84h046j/tmpu3ba2bib.h 684s # basename: tmpu3ba2bib.h 684s # enumeration-production 684s # EnumName: QmiWmsMessageProtocol 684s # enum_name: qmi_wms_message_protocol 684s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 684s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 684s # ENUMPREFIX: QMI 684s # enumsince: 1.0 684s # type: enum 684s # Type: Enum 684s # TYPE: ENUM 684s # value-header 684s # EnumName: QmiWmsMessageProtocol 684s # enum_name: qmi_wms_message_protocol 684s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 684s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 684s # ENUMPREFIX: QMI 684s # enumsince: 1.0 684s # type: enum 684s # Type: Enum 684s # TYPE: ENUM 684s # value-production 684s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 684s # valuenick: cdma 684s # valuenum: 0 684s # type: enum 684s # Type: Enum 684s # TYPE: ENUM 684s # value-tail 684s # EnumName: QmiWmsMessageProtocol 684s # enum_name: qmi_wms_message_protocol 684s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 684s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 684s # ENUMPREFIX: QMI 684s # enumsince: 1.0 684s # type: enum 684s # Type: Enum 684s # TYPE: ENUM 684s # file-tail 684s # 684s # comment 684s # comment: Generated data ends here 684s # Error: 684s ok 36 __main__.TestRspMkenums.test_with_double_quotes 684s # glib-mkenums: /usr/bin/glib-mkenums 684s # tmpdir: /tmp/tmp1drlmnw4 684s # rspfile: True 684s # /tmp/tmp1drlmnw4/tmp207i717a.h: 684s # typedef enum { 684s # FOO_VALUE /*< nick="eek, a comma" >*/ 684s # } Foo; 684s # 684s # /tmp/tmp1drlmnw4/tmpnexvwn_w.template: 684s # /*** BEGIN file-header ***/ 684s # file-header 684s # /*** END file-header ***/ 684s # 684s # /*** BEGIN file-production ***/ 684s # file-production 684s # filename: @filename@ 684s # basename: @basename@ 684s # /*** END file-production ***/ 684s # 684s # /*** BEGIN enumeration-production ***/ 684s # enumeration-production 684s # EnumName: @EnumName@ 684s # enum_name: @enum_name@ 684s # ENUMNAME: @ENUMNAME@ 684s # ENUMSHORT: @ENUMSHORT@ 684s # ENUMPREFIX: @ENUMPREFIX@ 684s # enumsince: @enumsince@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END enumeration-production ***/ 684s # 684s # /*** BEGIN value-header ***/ 684s # value-header 684s # EnumName: @EnumName@ 684s # enum_name: @enum_name@ 684s # ENUMNAME: @ENUMNAME@ 684s # ENUMSHORT: @ENUMSHORT@ 684s # ENUMPREFIX: @ENUMPREFIX@ 684s # enumsince: @enumsince@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END value-header ***/ 684s # 684s # /*** BEGIN value-production ***/ 684s # value-production 684s # VALUENAME: @VALUENAME@ 684s # valuenick: @valuenick@ 684s # valuenum: @valuenum@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END value-production ***/ 684s # 684s # /*** BEGIN value-tail ***/ 684s # value-tail 684s # EnumName: @EnumName@ 684s # enum_name: @enum_name@ 684s # ENUMNAME: @ENUMNAME@ 684s # ENUMSHORT: @ENUMSHORT@ 684s # ENUMPREFIX: @ENUMPREFIX@ 684s # enumsince: @enumsince@ 684s # type: @type@ 684s # Type: @Type@ 684s # TYPE: @TYPE@ 684s # /*** END value-tail ***/ 684s # 684s # /*** BEGIN comment ***/ 684s # comment 684s # comment: @comment@ 684s # /*** END comment ***/ 684s # 684s # /*** BEGIN file-tail ***/ 684s # file-tail 684s # /*** END file-tail ***/ 684s # 684s # Response file contains: --template /tmp/tmp1drlmnw4/tmpnexvwn_w.template /tmp/tmp1drlmnw4/tmp207i717a.h 684s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1drlmnw4/tmp6i2shy7g'] 684s # Return code: 0 684s # Output: 684s # comment 684s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 684s # 684s # 684s # file-header 684s # file-production 684s # filename: /tmp/tmp1drlmnw4/tmp207i717a.h 684s # basename: tmp207i717a.h 684s # enumeration-production 684s # EnumName: Foo 684s # enum_name: foo_ 684s # ENUMNAME: FOO_ 684s # ENUMSHORT: 684s # ENUMPREFIX: FOO 684s # enumsince: 684s # type: enum 684s # Type: Enum 684s # TYPE: ENUM 684s # value-header 684s # EnumName: Foo 684s # enum_name: foo_ 684s # ENUMNAME: FOO_ 684s # ENUMSHORT: 684s # ENUMPREFIX: FOO 684s # enumsince: 684s # type: enum 684s # Type: Enum 684s # TYPE: ENUM 684s # value-production 684s # VALUENAME: FOO_VALUE 684s # valuenick: eek, a comma 684s # valuenum: 0 684s # type: enum 684s # Type: Enum 684s # TYPE: ENUM 684s # value-tail 684s # EnumName: Foo 684s # enum_name: foo_ 684s # ENUMNAME: FOO_ 684s # ENUMSHORT: 684s # ENUMPREFIX: FOO 684s # enumsince: 684s # type: enum 684s # Type: Enum 684s # TYPE: ENUM 684s # file-tail 684s # 684s # comment 684s # comment: Generated data ends here 684s # Error: 684s 1..36 684s ok - glib/mkenums.py.test 684s # Running test: glib/gdbus-peer-object-manager.test 684s TAP version 14 684s # random seed: R02Sf60f7e87083b2cb1f0f4bfd0be076dc1 684s 1..2 684s # Start of gdbus tests 684s # Start of peer-object-manager tests 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/normal/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/normal/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/normal/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/normal/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/normal/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/normal/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/normal/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/normal/.dirs/runtime 684s ok 1 /gdbus/peer-object-manager/normal 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/root/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/root/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/root/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/root/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/root/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/root/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/root/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_GC1GJ3/gdbus/peer-object-manager/root/.dirs/runtime 684s ok 2 /gdbus/peer-object-manager/root 684s # End of peer-object-manager tests 684s # End of gdbus tests 684s ok - glib/gdbus-peer-object-manager.test 684s # Running test: glib/mapping.test 684s TAP version 14 684s # random seed: R02S00b2a79532d707984a66066728323088 684s 1..3 684s # Start of mapping tests 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_MEDIJ3/mapping/flags/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_MEDIJ3/mapping/flags/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_MEDIJ3/mapping/flags/.dirs/system-config1:/tmp/test_mapping_MEDIJ3/mapping/flags/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_MEDIJ3/mapping/flags/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_MEDIJ3/mapping/flags/.dirs/system-data1:/tmp/test_mapping_MEDIJ3/mapping/flags/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_MEDIJ3/mapping/flags/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_MEDIJ3/mapping/flags/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_MEDIJ3/mapping/flags/.dirs/runtime 684s # test_mapping: ok 684s ok 1 /mapping/flags 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_MEDIJ3/mapping/private/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_MEDIJ3/mapping/private/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_MEDIJ3/mapping/private/.dirs/system-config1:/tmp/test_mapping_MEDIJ3/mapping/private/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_MEDIJ3/mapping/private/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_MEDIJ3/mapping/private/.dirs/system-data1:/tmp/test_mapping_MEDIJ3/mapping/private/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_MEDIJ3/mapping/private/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_MEDIJ3/mapping/private/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_MEDIJ3/mapping/private/.dirs/runtime 684s ok 2 /mapping/private 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_MEDIJ3/mapping/private-child/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_MEDIJ3/mapping/private-child/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_MEDIJ3/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_MEDIJ3/mapping/private-child/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_MEDIJ3/mapping/private-child/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_MEDIJ3/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_MEDIJ3/mapping/private-child/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_MEDIJ3/mapping/private-child/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_MEDIJ3/mapping/private-child/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_MEDIJ3/mapping/private-child/.dirs/runtime 684s # Subtest: /usr/libexec/installed-tests/glib/mapping 684s # random seed: R02Sc8b0097b4fe97b3b9bfa21d538aecf9f 684s # test_child_private: child spawned 684s # test_child_private: received first child signal 684s # test_child_private: received parent signal 684s # Child exited with status 0 684s # test_child_private: received second child signal 684s ok 3 /mapping/private-child 684s # End of mapping tests 684s ok - glib/mapping.test 684s # Running test: glib/object-info.test 684s ok - glib/object-info.test 684s TAP version 14 684s # random seed: R02Sff3c9efa634b18afd938842aa4a4db13 684s 1..2 684s # Start of object-info tests 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_9J6HJ3/object-info/find-method-using-interfaces/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_9J6HJ3/object-info/find-method-using-interfaces/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_9J6HJ3/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_9J6HJ3/object-info/find-method-using-interfaces/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_9J6HJ3/object-info/find-method-using-interfaces/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_9J6HJ3/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_9J6HJ3/object-info/find-method-using-interfaces/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_9J6HJ3/object-info/find-method-using-interfaces/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_9J6HJ3/object-info/find-method-using-interfaces/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_9J6HJ3/object-info/find-method-using-interfaces/.dirs/runtime 684s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 684s ok 1 /object-info/find-method-using-interfaces 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_9J6HJ3/object-info/find-vfunc-using-interfaces/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_9J6HJ3/object-info/find-vfunc-using-interfaces/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_9J6HJ3/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_9J6HJ3/object-info/find-vfunc-using-interfaces/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_9J6HJ3/object-info/find-vfunc-using-interfaces/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_9J6HJ3/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_9J6HJ3/object-info/find-vfunc-using-interfaces/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_9J6HJ3/object-info/find-vfunc-using-interfaces/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_9J6HJ3/object-info/find-vfunc-using-interfaces/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_9J6HJ3/object-info/find-vfunc-using-interfaces/.dirs/runtime 684s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 684s ok 2 /object-info/find-vfunc-using-interfaces 684s # End of object-info tests 684s # Running test: glib/defaultiface.test 684s ok - glib/defaultiface.test 684s TAP version 14 684s # random seed: R02Sa33927e271d96ab63eba7a60fe7440e0 684s 1..2 684s # Start of gobject tests 684s ok 1 /gobject/static-iface 684s ok 2 /gobject/dynamic-iface 684s # End of gobject tests 684s # Running test: glib/trash.test 684s TAP version 14 684s # random seed: R02S1ecbb4f0524048b329d8f577a4e66c2d 684s 1..3 684s # Start of trash tests 684s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 684s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 684s # File: /tmp/test-trashAGZHJ3 (parent st_dev: 64769) 684s # Home: /home/ubuntu (st_dev: 64769) 684s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 684s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 684s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 684s ok - glib/trash.test 684s ok 3 /trash/long-filename 684s # End of trash tests 684s # Running test: glib/testing-nonfatal.test 684s ok - glib/testing-nonfatal.test 684s TAP version 14 684s # random seed: R02S6b2ec9b4db355cdfabb11cb8040cdc37 684s ** 684s GLib:ERROR:../../../glib/tests/testing-nonfatal.c:26:main: assertion failed ("We can survive this!" == "Or maybe not?"): ("We can survive this!" == "Or maybe not?") 684s # GLib:ERROR:../../../glib/tests/testing-nonfatal.c:26:main: assertion failed ("We can survive this!" == "Or maybe not?"): ("We can survive this!" == "Or maybe not?") 684s # Running test: glib/macros-c-89.test 684s TAP version 14 684s # random seed: R02S61e264256e8a41f437ff58e206032920 684s 1..4 684s # Start of C tests 684s ok 1 /C/standard-89 684s # End of C tests 684s # Start of alignof tests 684s ok 2 /alignof/fallback 684s # End of alignof tests 684s # Start of assert tests 684s ok 3 /assert/static 684s # End of assert tests 684s # Start of struct tests 684s ok 4 /struct/sizeof_member 684s # End of struct tests 684s ok - glib/macros-c-89.test 684s # Running test: glib/charset.test 684s TAP version 14 684s # random seed: R02S924613925517d527032029564c5d799f 684s 1..2 684s # Start of charset tests 684s # Test 0 684s # Test 1 684s # Test 2 684s # Test 3 684s ok 1 /charset/language_names_with_category 684s ok - glib/charset.test 684s # Running test: glib/mutex.test 684s ok 2 /charset/language_names_with_category_async 684s # End of charset tests 684s TAP version 14 684s # random seed: R02S87f07224ece02e860481502d0ba67e27 684s 1..17 684s # Start of thread tests 684s ok 1 /thread/mutex1 684s ok 2 /thread/mutex2 684s ok 3 /thread/mutex3 684s ok 4 /thread/mutex4 686s # Executing: glib/mutex.test 690s ok 5 /thread/mutex5 690s # slow test /thread/mutex5 executed in 5.01 secs 690s # Start of mutex tests 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s ok - glib/mutex.test 690s # Running test: glib/testing.test 690s ok - glib/testing.test 690s # Running test: glib/markup-collect.test 690s ok - glib/markup-collect.test 690s # Running test: glib/unicode-encoding.test 690s ok - glib/unicode-encoding.test 690s # Running test: glib/qdata.test 690s ok - glib/qdata.test 690s # Running test: glib/network-address.test 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s ok 6 /thread/mutex/errno 690s # Start of perf tests 690s # max perf: 1.000000 mips 690s ok 7 /thread/mutex/perf/uncontended 690s # Start of contended tests 690s # max perf: 2.000000 mips 690s ok 8 /thread/mutex/perf/contended/1 690s # max perf: inf mips 690s ok 9 /thread/mutex/perf/contended/2 690s # max perf: 4.000000 mips 690s ok 10 /thread/mutex/perf/contended/3 690s # max perf: 5.000000 mips 690s ok 11 /thread/mutex/perf/contended/4 690s # max perf: 6.000000 mips 690s ok 12 /thread/mutex/perf/contended/5 690s # max perf: 3.500000 mips 690s ok 13 /thread/mutex/perf/contended/6 690s # max perf: 2.666667 mips 690s ok 14 /thread/mutex/perf/contended/7 690s # max perf: 3.000000 mips 690s ok 15 /thread/mutex/perf/contended/8 690s # max perf: 5.000000 mips 690s ok 16 /thread/mutex/perf/contended/9 690s # max perf: 2.750000 mips 690s ok 17 /thread/mutex/perf/contended/10 690s # End of contended tests 690s # End of perf tests 690s # End of mutex tests 690s # End of thread tests 690s TAP version 14 690s # random seed: R02S427a5e9cf54a49e7aa6b45de7cabb9e4 690s 1..1 690s # Start of assert tests 690s ok 1 /assert/finalize_object 690s # Start of finalize_object tests 690s # Start of subprocess tests 690s # End of subprocess tests 690s # End of finalize_object tests 690s # End of assert tests 690s TAP version 14 690s # random seed: R02Sd4bca804a43826d439ef9fbbcab69fbe 690s 1..21 690s # Start of markup tests 690s # Start of collect tests 690s ok 1 /markup/collect/0 690s ok 2 /markup/collect/1 690s ok 3 /markup/collect/2 690s ok 4 /markup/collect/3 690s ok 5 /markup/collect/4 690s ok 6 /markup/collect/5 690s ok 7 /markup/collect/6 690s ok 8 /markup/collect/7 690s ok 9 /markup/collect/8 690s ok 10 /markup/collect/9 690s ok 11 /markup/collect/10 690s ok 12 /markup/collect/11 690s ok 13 /markup/collect/12 690s ok 14 /markup/collect/13 690s ok 15 /markup/collect/14 690s ok 16 /markup/collect/15 690s ok 17 /markup/collect/16 690s ok 18 /markup/collect/17 690s ok 19 /markup/collect/18 690s ok 20 /markup/collect/19 690s ok 21 /markup/collect/cleanup 690s # End of collect tests 690s # End of markup tests 690s TAP version 14 690s # random seed: R02Sf7051640a5176219db0b2c1741076d46 690s 1..1 690s # Start of unicode tests 690s ok 1 /unicode/encoding 690s # End of unicode tests 690s TAP version 14 690s # random seed: R02S86098e9cf3ac54ff042ff83bf4704d9e 690s 1..2 690s # Start of qdata tests 690s ok 1 /qdata/threaded 690s ok 2 /qdata/dup 690s # End of qdata tests 690s TAP version 14 690s # random seed: R02S44092239ed09324fe81afcbb09b292f4 690s 1..72 690s # Start of network-address tests 690s ok 1 /network-address/basic 690s ok 2 /network-address/scope-id 690s ok 3 /network-address/uri-scope-id 690s ok 4 /network-address/to-string 690s # Start of parse-host tests 690s ok 5 /network-address/parse-host/0 690s ok 6 /network-address/parse-host/1 690s ok 7 /network-address/parse-host/2 690s ok 8 /network-address/parse-host/3 690s ok 9 /network-address/parse-host/4 690s ok 10 /network-address/parse-host/5 690s ok 11 /network-address/parse-host/6 690s ok 12 /network-address/parse-host/7 690s ok 13 /network-address/parse-host/8 690s ok 14 /network-address/parse-host/9 690s ok 15 /network-address/parse-host/10 690s ok 16 /network-address/parse-host/11 690s ok 17 /network-address/parse-host/12 690s ok 18 /network-address/parse-host/13 690s # End of parse-host tests 690s # Start of parse-uri tests 690s ok 19 /network-address/parse-uri/0 690s ok 20 /network-address/parse-uri/1 690s ok 21 /network-address/parse-uri/2 690s ok 22 /network-address/parse-uri/3 690s ok 23 /network-address/parse-uri/4 690s ok 24 /network-address/parse-uri/5 690s ok 25 /network-address/parse-uri/6 690s ok 26 /network-address/parse-uri/7 690s ok 27 /network-address/parse-uri/8 690s ok 28 /network-address/parse-uri/9 690s # End of parse-uri tests 690s # Start of resolve-address tests 690s # Input: 192.168.1.2 690s ok 29 /network-address/resolve-address/0 690s # Input: fe80::42 690s ok 30 /network-address/resolve-address/1 690s # Input: 192.168.1.2:80 690s ok 31 /network-address/resolve-address/2 690s # Input: [fe80::42] 690s ok 32 /network-address/resolve-address/3 690s # Input: [fe80::42]:80 690s ok 33 /network-address/resolve-address/4 690s # Input: 192.168.258 690s ok 34 /network-address/resolve-address/5 690s # Input: 192.11010306 690s ok 35 /network-address/resolve-address/6 690s # Input: 3232235778 690s ok 36 /network-address/resolve-address/7 690s # Input: 0300.0250.0001.0001 690s ok 37 /network-address/resolve-address/8 690s # Input: 0xC0.0xA8.0x01.0x02 690s ok 38 /network-address/resolve-address/9 690s # Input: 0xc0.0xa8.0x01.0x02 690s ok 39 /network-address/resolve-address/10 690s # Input: 0xc0a80102 690s ok 40 /network-address/resolve-address/11 690s # End of resolve-address tests 690s # Start of loopback tests 690s ok 41 /network-address/loopback/basic 690s ok 42 /network-address/loopback/sync 690s ok 43 /network-address/loopback/async 690s # End of loopback tests 690s # Start of localhost tests 690s ok 44 /network-address/localhost/async 690s ok 45 /network-address/localhost/sync 690s # End of localhost tests 690s # Start of happy-eyeballs tests 690s ok 46 /network-address/happy-eyeballs/basic 690s ok 47 /network-address/happy-eyeballs/parallel 690s ok 48 /network-address/happy-eyeballs/slow-ipv4 690s ok 49 /network-address/happy-eyeballs/slow-ipv6 690s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 691s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 691s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 691s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 691s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 691s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 691s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 691s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 691s # /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow summary: Ensure that we successfully return IPv4 results even when they come significantly later than an IPv6 failure. 691s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 691s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 691s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 691s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 691s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 691s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 691s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 691s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 691s ok 57 /network-address/happy-eyeballs/both-error 691s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 691s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 691s ok 58 /network-address/happy-eyeballs/both-error-delays-1 691s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 691s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 691s ok 59 /network-address/happy-eyeballs/both-error-delays-2 691s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 691s ok 60 /network-address/happy-eyeballs/both-error-delays-3 691s # End of happy-eyeballs tests 691s # End of network-address tests 691s # Start of gresolver tests 691s # Start of resolve-address tests 691s # Input: 192.168.1.2 691s ok 61 /gresolver/resolve-address/0 691s # Input: fe80::42 691s ok 62 /gresolver/resolve-address/1 691s # Input: 192.168.1.2:80 691s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 192.168.1.2:80 691s # Executing: glib/network-address.test 691s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 691s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 691s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 691s # Error: Error resolving “192.168.1.2:80”: Name or service not known 691s ok 63 /gresolver/resolve-address/2 691s # Input: [fe80::42] 691s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42] 691s # Error: Error resolving “[fe80::42]”: Name or service not known 691s ok 64 /gresolver/resolve-address/3 691s # Input: [fe80::42]:80 691s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]:80 691s # Error: Error resolving “[fe80::42]:80”: Name or service not known 691s ok 65 /gresolver/resolve-address/4 691s # Input: 192.168.258 691s # Error: Error resolving “192.168.258”: Name or service not known 691s ok 66 /gresolver/resolve-address/5 691s # Input: 192.11010306 691s # Error: Error resolving “192.11010306”: Name or service not known 691s ok 67 /gresolver/resolve-address/6 691s # Input: 3232235778 691s # Error: Error resolving “3232235778”: Name or service not known 691s ok 68 /gresolver/resolve-address/7 691s # Input: 0300.0250.0001.0001 691s # Error: Error resolving “0300.0250.0001.0001”: Name or service not known 691s ok 69 /gresolver/resolve-address/8 691s # Input: 0xC0.0xA8.0x01.0x02 691s # Error: Error resolving “0xC0.0xA8.0x01.0x02”: Name or service not known 691s ok 70 /gresolver/resolve-address/9 691s # Input: 0xc0.0xa8.0x01.0x02 691s # Error: Error resolving “0xc0.0xa8.0x01.0x02”: Name or service not known 691s ok 71 /gresolver/resolve-address/10 691s # Input: 0xc0a80102 691s # Error: Error resolving “0xc0a80102”: Name or service not known 691s ok 72 /gresolver/resolve-address/11 691s # End of resolve-address tests 691s # End of gresolver tests 691s ok - glib/network-address.test 691s # Running test: glib/gsubprocess.test 691s TAP version 14 691s # random seed: R02S1082c8573991f8ecb14f65026b47710f 691s 1..84 691s # Start of gsubprocess tests 691s ok 1 /gsubprocess/noop 691s ok 2 /gsubprocess/noop-all-to-null 691s ok 3 /gsubprocess/noop-no-wait 691s ok 4 /gsubprocess/noop-stdin-inherit 691s ok 5 /gsubprocess/search-path 691s ok 6 /gsubprocess/search-path-from-envp 694s ok 7 /gsubprocess/signal 694s # slow test /gsubprocess/signal executed in 2.99 secs 694s ok 8 /gsubprocess/exit1 694s ok 9 /gsubprocess/echo1 694s ok 10 /gsubprocess/echo-merged 694s ok 11 /gsubprocess/cat-utf8 695s ok 12 /gsubprocess/cat-eof 695s # slow test /gsubprocess/cat-eof executed in 1.00 secs 696s # Executing: glib/gsubprocess.test 698s ok 13 /gsubprocess/multi1 698s # slow test /gsubprocess/multi1 executed in 3.01 secs 698s ok 14 /gsubprocess/communicate 701s ok 15 /gsubprocess/terminate 701s # slow test /gsubprocess/terminate executed in 2.97 secs 701s ok 16 /gsubprocess/fail-initialization 701s # Executing: glib/gsubprocess.test 701s ok 17 /gsubprocess/env 701s ok 18 /gsubprocess/cwd 701s ok 19 /gsubprocess/launcher-close 701s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 701s ok 20 /gsubprocess/stdout-file 701s ok 21 /gsubprocess/stdout-fd 701s ok 22 /gsubprocess/child-setup 701s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 701s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 701s ok 23 /gsubprocess/launcher-environment 701s # Start of exit1 tests 701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 701s ok 24 /gsubprocess/exit1/cancel 701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 701s ok 25 /gsubprocess/exit1/cancel_in_cb 701s # End of exit1 tests 701s # Start of communicate tests 701s ok 26 /gsubprocess/communicate/cancelled 701s ok 27 /gsubprocess/communicate/async 701s ok 28 /gsubprocess/communicate/utf8 701s # hello world 701s ok 29 /gsubprocess/communicate/no-pipes 701s ok 30 /gsubprocess/communicate/separate-stderr 701s ok 31 /gsubprocess/communicate/stdout-only 701s # hello world 701s ok 32 /gsubprocess/communicate/stderr-only 701s ok 33 /gsubprocess/communicate/stdout-silence 701s ok 34 /gsubprocess/communicate/nothing 701s # Start of async tests 701s ok 35 /gsubprocess/communicate/async/cancelled 701s # hello world 701s ok 36 /gsubprocess/communicate/async/no-pipes 701s ok 37 /gsubprocess/communicate/async/separate-stderr 701s ok 38 /gsubprocess/communicate/async/stdout-only 701s # hello world 701s ok 39 /gsubprocess/communicate/async/stderr-only 701s ok 40 /gsubprocess/communicate/async/stdout-silence 701s # Start of cancelled tests 701s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 701s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 701s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 701s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 701s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 701s # End of cancelled tests 701s # End of async tests 701s # Start of utf8 tests 701s ok 46 /gsubprocess/communicate/utf8/cancelled 701s ok 47 /gsubprocess/communicate/utf8/async 701s # hello world 701s ok 48 /gsubprocess/communicate/utf8/no-pipes 701s ok 49 /gsubprocess/communicate/utf8/separate-stderr 701s ok 50 /gsubprocess/communicate/utf8/stdout-only 701s # hello world 701s ok 51 /gsubprocess/communicate/utf8/stderr-only 701s ok 52 /gsubprocess/communicate/utf8/stdout-silence 701s ok 53 /gsubprocess/communicate/utf8/invalid 701s # Start of async tests 701s ok 54 /gsubprocess/communicate/utf8/async/cancelled 701s # hello world 701s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 701s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 701s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 701s # hello world 701s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 701s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 701s ok 60 /gsubprocess/communicate/utf8/async/invalid 701s # Start of cancelled tests 701s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 701s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 701s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 701s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 701s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 701s # End of cancelled tests 701s # End of async tests 701s # Start of cancelled tests 701s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 701s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 701s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 701s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 701s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 701s # End of cancelled tests 701s # End of utf8 tests 701s # Start of cancelled tests 701s ok 71 /gsubprocess/communicate/cancelled/no-pipes 701s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 701s ok 73 /gsubprocess/communicate/cancelled/stdout-only 701s ok 74 /gsubprocess/communicate/cancelled/stderr-only 701s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 701s # End of cancelled tests 701s # End of communicate tests 701s # Start of env tests 701s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 701s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 701s ok 76 /gsubprocess/env/inherit 701s # End of env tests 701s # Start of pass-fd tests 701s ok 77 /gsubprocess/pass-fd/basic 701s ok 78 /gsubprocess/pass-fd/empty-child-setup 701s ok 79 /gsubprocess/pass-fd/inherit-fds 701s # End of pass-fd tests 701s # Start of fd-conflation tests 701s ok 80 /gsubprocess/fd-conflation/basic 701s ok 81 /gsubprocess/fd-conflation/empty-child-setup 701s ok 82 /gsubprocess/fd-conflation/inherit-fds 701s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 701s # End of fd-conflation tests 701s # Start of exit-status tests 701s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 701s ** 701s GLib-GIO:ERROR:../../../gio/tests/gsubprocess.c:2063:trace_children: assertion failed (ptrace (PTRACE_CONT, pid, NULL, 0) >= 0): errno 3: No such process 701s not ok /gsubprocess/exit-status/trapped - GLib-GIO:ERROR:../../../gio/tests/gsubprocess.c:2063:trace_children: assertion failed (ptrace (PTRACE_CONT, pid, NULL, 0) >= 0): errno 3: No such process 701s Bail out! 703s # FAIL: glib/gsubprocess.test (Child process killed by signal 6) 703s not ok - glib/gsubprocess.test 703s # Running test: glib/memory-monitor-dbus.test 703s TAP version 13 703s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 703s 1..1 703s ok - glib/memory-monitor-dbus.test 703s # Running test: glib/pathbuf.test 703s TAP version 14 703s # random seed: R02Sa6e3c6f437a3a8bf97c903ee93aea708 703s 1..3 703s # Start of pathbuf tests 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_LRPIJ3/pathbuf/init/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_LRPIJ3/pathbuf/init/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_LRPIJ3/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_LRPIJ3/pathbuf/init/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_LRPIJ3/pathbuf/init/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_LRPIJ3/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_LRPIJ3/pathbuf/init/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_LRPIJ3/pathbuf/init/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_LRPIJ3/pathbuf/init/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_LRPIJ3/pathbuf/init/.dirs/runtime 703s # Initializing empty path buf 703s # Initializing with empty path 703s # Initializing with full path 703s # Initializing with no path 703s # Allocating GPathBuf on the heap 703s ok 1 /pathbuf/init 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_LRPIJ3/pathbuf/push-pop/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_LRPIJ3/pathbuf/push-pop/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_LRPIJ3/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_LRPIJ3/pathbuf/push-pop/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_LRPIJ3/pathbuf/push-pop/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_LRPIJ3/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_LRPIJ3/pathbuf/push-pop/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_LRPIJ3/pathbuf/push-pop/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_LRPIJ3/pathbuf/push-pop/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_LRPIJ3/pathbuf/push-pop/.dirs/runtime 703s # Pushing relative path component 703s # Pushing absolute path component 703s # Popping a path component 703s # Can't pop the last element of a path buffer 703s ok 2 /pathbuf/push-pop 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_LRPIJ3/pathbuf/filename-extension/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_LRPIJ3/pathbuf/filename-extension/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_LRPIJ3/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_LRPIJ3/pathbuf/filename-extension/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_LRPIJ3/pathbuf/filename-extension/.dirs/config 703s ok - glib/pathbuf.test 703s # Running test: glib/atomic-c-89.test 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_LRPIJ3/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_LRPIJ3/pathbuf/filename-extension/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_LRPIJ3/pathbuf/filename-extension/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_LRPIJ3/pathbuf/filename-extension/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_LRPIJ3/pathbuf/filename-extension/.dirs/runtime 703s ok 3 /pathbuf/filename-extension 703s # End of pathbuf tests 703s TAP version 14 703s # random seed: R02S906ad44dd36df9f1da22c5ac118ba1b5 703s 1..2 703s # Start of atomic tests 703s ok 1 /atomic/types 703s ok - glib/atomic-c-89.test 703s ok 2 /atomic/threaded 703s # End of atomic tests 703s # Running test: glib/resources.test 703s TAP version 14 703s # random seed: R02S2e1c4f50e1be69a4c6155e437c5bb558 703s 1..19 703s # Start of resource tests 703s ok 1 /resource/file 703s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 703s ok 2 /resource/file-path 703s ok 3 /resource/data 703s ok 4 /resource/data_unaligned 703s ok 5 /resource/data-corrupt 703s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 703s ok 6 /resource/data-corrupt-compression 703s ok 7 /resource/data-empty 703s ok 8 /resource/registered 703s ok 9 /resource/manual 703s ok 10 /resource/manual2 703s ok 11 /resource/automatic 703s ok 12 /resource/module 703s ok 13 /resource/binary-linked 703s ok 14 /resource/64k 703s GLib-GIO-Message: 18:27:52.338: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 703s GLib-GIO-Message: 18:27:52.338: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 703s GLib-GIO-Message: 18:27:52.338: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 703s ok 15 /resource/overlay 703s ok 16 /resource/digits 703s ok 17 /resource/has-children 703s # Start of uri tests 703s ok 18 /resource/uri/query-info 703s ok 19 /resource/uri/file 703s # End of uri tests 703s # End of resource tests 703s TAP version 14 703s # random seed: R02Sd2403fbc6d0f1538dce822b53e590ba2 703s 1..2 703s # Start of uuid tests 703s ok 1 /uuid/string 703s ok 2 /uuid/random 703s # End of uuid tests 703s TAP version 14 703s # random seed: R02Sb207879eeadcd52b06fe7ba2b73f1329 703s 1..24 703s # Start of snprintf tests 703s ok 1 /snprintf/retval-and-trunc 703s ok 2 /snprintf/%d 703s ok 3 /snprintf/%d-invalid 703s ok 4 /snprintf/%o 703s ok 5 /snprintf/%u 703s ok 6 /snprintf/%x 703s ok 7 /snprintf/%X 703s ok 8 /snprintf/%f 703s ok 9 /snprintf/%e 703s ok 10 /snprintf/%c 703s ok 11 /snprintf/%s 703s ok 12 /snprintf/%n 703s ok 13 /snprintf/test-percent 703s ok 14 /snprintf/test-positional-params 703s ok 15 /snprintf/test-64bit 703s ok 16 /snprintf/produce-embedded-nulls 703s # End of snprintf tests 703s # Start of printf tests 703s ok 17 /printf/test-percent 703s ok 18 /printf/test-positional-params 703s ok - glib/resources.test 703s # Running test: glib/guuid.test 703s ok - glib/guuid.test 703s # Running test: glib/test-printf.test 703s ok - glib/test-printf.test 703s # Running test: glib/contenttype.test 703s ok 19 /printf/test-64bit 703s # Start of test-64bit tests 703s # Start of subprocess tests 703s # End of subprocess tests 703s # End of test-64bit tests 703s # End of printf tests 703s # Start of fprintf tests 703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3761 703s # /fprintf/produce-embedded-nulls summary: printf() functions can produce strings with embedded null characters. That happens when passing individual characters (%c) with value ' 703s ok 20 /fprintf/produce-embedded-nulls 703s # End of fprintf tests 703s # Start of sprintf tests 703s ok 21 /sprintf/test-positional-params 703s ok 22 /sprintf/upper-bound 703s # End of sprintf tests 703s # Start of vasprintf tests 703s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 703s ok 23 /vasprintf/invalid-format-placeholder 703s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 703s ok 24 /vasprintf/invalid-wide-string 703s # End of vasprintf tests 703s TAP version 14 703s # random seed: R02S8f814f26dd2671da3e82848c442611bd 703s 1..14 703s # Start of contenttype tests 703s ok 1 /contenttype/guess 703s ok 2 /contenttype/guess_svg_from_data 703s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 703s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 703s ok 5 /contenttype/unknown 703s ok 6 /contenttype/subtype 703s ok 7 /contenttype/list 703s ok 8 /contenttype/executable 703s ok 9 /contenttype/description 703s ok 10 /contenttype/icon 703s ok 11 /contenttype/symbolic-icon 703s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 703s ok 12 /contenttype/tree 703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 703s ok 13 /contenttype/tree_invalid_encoding 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 703s ok 14 /contenttype/test_type_is_a_special_case 703s # End of contenttype tests 703s ok - glib/contenttype.test 703s # Running test: glib/keyfile.test 703s TAP version 14 703s # random seed: R02S4c352dbc1cb3d25043e86c1dfec0c463 703s 1..36 703s # Start of keyfile tests 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/line-ends/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/line-ends/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/line-ends/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/line-ends/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/line-ends/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/line-ends/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/line-ends/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/line-ends/.dirs/runtime 703s ok 1 /keyfile/line-ends 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/whitespace/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/whitespace/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/whitespace/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/whitespace/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/whitespace/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/whitespace/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/whitespace/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/whitespace/.dirs/runtime 703s ok 2 /keyfile/whitespace 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/comments/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/comments/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/comments/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/comments/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/comments/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/comments/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/comments/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/comments/.dirs/runtime 703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 703s ok 3 /keyfile/comments 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/listing/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/listing/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/listing/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/listing/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/listing/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/listing/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/listing/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/listing/.dirs/runtime 703s ok 4 /keyfile/listing 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/string/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/string/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/string/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/string/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/string/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/string/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/string/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/string/.dirs/runtime 703s ok 5 /keyfile/string 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/boolean/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/boolean/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/boolean/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/boolean/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/boolean/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/boolean/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/boolean/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/boolean/.dirs/runtime 703s ok 6 /keyfile/boolean 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/number/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/number/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/number/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/number/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/number/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/number/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/number/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/number/.dirs/runtime 703s ok 7 /keyfile/number 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/locale-string/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/locale-string/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/locale-string/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/locale-string/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/locale-string/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/locale-string/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/locale-string/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/locale-string/.dirs/runtime 703s ok 8 /keyfile/locale-string 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/lists/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/lists/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/lists/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/lists/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/lists/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/lists/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/lists/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/lists/.dirs/runtime 703s ok 9 /keyfile/lists 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/lists-set-get/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/lists-set-get/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/lists-set-get/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/lists-set-get/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/lists-set-get/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/lists-set-get/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/lists-set-get/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/lists-set-get/.dirs/runtime 703s ok 10 /keyfile/lists-set-get 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/group-remove/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/group-remove/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/group-remove/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/group-remove/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/group-remove/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/group-remove/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/group-remove/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/group-remove/.dirs/runtime 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 703s ok 11 /keyfile/group-remove 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/key-remove/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/key-remove/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/key-remove/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/key-remove/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/key-remove/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/key-remove/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/key-remove/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/key-remove/.dirs/runtime 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 703s ok 12 /keyfile/key-remove 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/groups/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/groups/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/groups/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/groups/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/groups/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/groups/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/groups/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/groups/.dirs/runtime 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 703s ok 13 /keyfile/groups 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-keys/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-keys/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/duplicate-keys/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-keys/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/duplicate-keys/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-keys/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-keys/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-keys/.dirs/runtime 703s ok 14 /keyfile/duplicate-keys 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups/.dirs/runtime 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 703s ok 15 /keyfile/duplicate-groups 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups2/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups2/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups2/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups2/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups2/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups2/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups2/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/duplicate-groups2/.dirs/runtime 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 703s ok 16 /keyfile/duplicate-groups2 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/group-names/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/group-names/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/group-names/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/group-names/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/group-names/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/group-names/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/group-names/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/group-names/.dirs/runtime 703s ok 17 /keyfile/group-names 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/key-names/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/key-names/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/key-names/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/key-names/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/key-names/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/key-names/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/key-names/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/key-names/.dirs/runtime 703s ok 18 /keyfile/key-names 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/reload/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/reload/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/reload/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/reload/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/reload/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/reload/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/reload/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/reload/.dirs/runtime 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 703s ok 19 /keyfile/reload 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/int64/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/int64/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/int64/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/int64/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/int64/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/int64/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/int64/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/int64/.dirs/runtime 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 703s ok 20 /keyfile/int64 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/load/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/load/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/load/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/load/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/load/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/load/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/load/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/load/.dirs/runtime 703s ok 21 /keyfile/load 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/save/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/save/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/save/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/save/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/save/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/save/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/save/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/save/.dirs/runtime 703s ok 22 /keyfile/save 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/load-fail/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/load-fail/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/load-fail/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/load-fail/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/load-fail/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/load-fail/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/load-fail/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/load-fail/.dirs/runtime 703s ok 23 /keyfile/load-fail 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/non-utf8/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/non-utf8/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/non-utf8/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/non-utf8/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/non-utf8/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/non-utf8/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/non-utf8/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/non-utf8/.dirs/runtime 703s ok 24 /keyfile/non-utf8 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/page-boundary/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/page-boundary/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/page-boundary/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/page-boundary/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/page-boundary/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/page-boundary/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/page-boundary/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/page-boundary/.dirs/runtime 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 703s ok 25 /keyfile/page-boundary 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/ref/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/ref/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/ref/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/ref/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/ref/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/ref/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/ref/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/ref/.dirs/runtime 703s ok 26 /keyfile/ref 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/replace-value/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/replace-value/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/replace-value/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/replace-value/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/replace-value/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/replace-value/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/replace-value/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/replace-value/.dirs/runtime 703s ok 27 /keyfile/replace-value 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/list-separator/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/list-separator/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/list-separator/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/list-separator/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/list-separator/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/list-separator/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/list-separator/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/list-separator/.dirs/runtime 703s ok 28 /keyfile/list-separator 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/empty-string/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/empty-string/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/empty-string/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/empty-string/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/empty-string/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/empty-string/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/empty-string/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/empty-string/.dirs/runtime 703s ok 29 /keyfile/empty-string 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/limbo/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/limbo/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/limbo/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/limbo/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/limbo/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/limbo/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/limbo/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/limbo/.dirs/runtime 703s ok 30 /keyfile/limbo 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/utf8/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/utf8/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/utf8/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/utf8/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/utf8/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/utf8/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/utf8/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/utf8/.dirs/runtime 703s # Testing invalid encoding ‘non-UTF-8’ 703s # Testing invalid encoding ‘UTF’ 703s # Testing invalid encoding ‘UTF-9’ 703s ok 31 /keyfile/utf8 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/roundtrip/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/roundtrip/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/roundtrip/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/roundtrip/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/roundtrip/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/roundtrip/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/roundtrip/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/roundtrip/.dirs/runtime 703s ok 32 /keyfile/roundtrip 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/bytes/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/bytes/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/bytes/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/bytes/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/bytes/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/bytes/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/bytes/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/bytes/.dirs/runtime 703s ok 33 /keyfile/bytes 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/get-locale/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/get-locale/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/get-locale/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/get-locale/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/get-locale/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/get-locale/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/get-locale/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/get-locale/.dirs/runtime 703s ok 34 /keyfile/get-locale 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/free-when-not-last-ref/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/free-when-not-last-ref/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/free-when-not-last-ref/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/free-when-not-last-ref/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/free-when-not-last-ref/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/free-when-not-last-ref/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/free-when-not-last-ref/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/free-when-not-last-ref/.dirs/runtime 703s ok 35 /keyfile/free-when-not-last-ref 703s # Start of locale-string tests 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_M10RJ3/keyfile/locale-string/multiple-loads/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/locale-string/multiple-loads/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_M10RJ3/keyfile/locale-string/multiple-loads/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_M10RJ3/keyfile/locale-string/multiple-loads/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_M10RJ3/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_M10RJ3/keyfile/locale-string/multiple-loads/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_M10RJ3/keyfile/locale-string/multiple-loads/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_M10RJ3/keyfile/locale-string/multiple-loads/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_M10RJ3/keyfile/locale-string/multiple-loads/.dirs/runtime 703s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 703s ok 36 /keyfile/locale-string/multiple-loads 703s # End of locale-string tests 703s # End of keyfile tests 703s TAP version 14 703s # random seed: R02S06a8e2c817f73cabf30c9a1e25cd8807 703s 1..4 703s # Start of enum tests 703s ok 1 /enum/basic 703s ok 2 /enum/define-type 703s # End of enum tests 703s # Start of flags tests 703s ok 3 /flags/basic 703s ok 4 /flags/define-type 703s # End of flags tests 703s TAP version 14 703s # random seed: R02S84f675c26dfc2d827b84fb0cfba55036 703s 1..11 703s # Start of inet-address tests 703s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::1::2 703s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 2001:1:2:3:4:5:6:7] 703s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7 703s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7] 703s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7]:80 703s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 0:1:2:3:4:5:6:7:8:9 703s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::FFFFFFF 703s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 204.152.189.116:80 703s ok 1 /inet-address/parse 703s ok 2 /inet-address/any 703s ok 3 /inet-address/loopback 703s ok 4 /inet-address/bytes 703s ok 5 /inet-address/property 703s # End of inet-address tests 703s # Start of socket-address tests 703s ok 6 /socket-address/basic 703s ok 7 /socket-address/to-string 703s # End of socket-address tests 703s # Start of address-mask tests 703s ok 8 /address-mask/parse 703s ok 9 /address-mask/property 703s ok 10 /address-mask/equal 703s ok 11 /address-mask/match 703s # End of address-mask tests 703s TAP version 14 703s # random seed: R02S999074f96b02dcfd62130600cad15deb 703s 1..10 703s # Start of buffered-input-stream tests 703s ok 1 /buffered-input-stream/peek 703s ok 2 /buffered-input-stream/peek-buffer 703s ok 3 /buffered-input-stream/set-buffer-size 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 703s ok 4 /buffered-input-stream/read-byte 703s ok 5 /buffered-input-stream/read 703s ok 6 /buffered-input-stream/read-async 703s ok 7 /buffered-input-stream/skip 703s ok 8 /buffered-input-stream/skip-async 703s ok 9 /buffered-input-stream/seek 703s # End of buffered-input-stream tests 703s # Start of filter-input-stream tests 703s ok 10 /filter-input-stream/close 703s # End of filter-input-stream tests 703s TAP version 14 703s # random seed: R02S31180fe007b8ed9fbc62ab4bd2588852 703s 1..5 703s # Start of appinfo tests 703s ok 1 /appinfo/utf16-strfuncs 703s ok 2 /appinfo/win32-extract-executable 703s ok 3 /appinfo/win32-rundll32-fixup 703s ok 4 /appinfo/win32-parse-filename 703s ok 5 /appinfo/win32-utf16-conversion-fail 703s # Start of subprocess tests 703s # End of subprocess tests 703s # End of appinfo tests 703s ok - glib/keyfile.test 703s # Running test: glib/enums.test 703s ok - glib/enums.test 703s # Running test: glib/inet-address.test 703s ok - glib/inet-address.test 703s # Running test: glib/buffered-input-stream.test 703s ok - glib/buffered-input-stream.test 703s # Running test: glib/win32-appinfo.test 703s ok - glib/win32-appinfo.test 703s # Running test: glib/markup-subparser.test 703s TAP version 14 703s # random seed: R02S96421e0fb06ef52b2415afb1dc7fa78e 703s 1..14 703s # Start of glib tests 703s # Start of markup tests 703s # Start of subparser tests 703s # Start of success tests 703s ok 1 /glib/markup/subparser/success/0 703s ok 2 /glib/markup/subparser/success/1 703s ok 3 /glib/markup/subparser/success/2 703s ok 4 /glib/markup/subparser/success/3 703s ok 5 /glib/markup/subparser/success/4 703s ok 6 /glib/markup/subparser/success/5 703s ok 7 /glib/markup/subparser/success/6 703s # End of success tests 703s # Start of failure tests 703s ok 8 /glib/markup/subparser/failure/0 703s ok 9 /glib/markup/subparser/failure/1 703s ok 10 /glib/markup/subparser/failure/2 703s ok 11 /glib/markup/subparser/failure/3 703s ok 12 /glib/markup/subparser/failure/4 703s ok 13 /glib/markup/subparser/failure/5 703s ok 14 /glib/markup/subparser/failure/6 703s # End of failure tests 703s # End of subparser tests 703s # End of markup tests 703s # End of glib tests 703s ok - glib/markup-subparser.test 703s # Running test: glib/gdbus-non-socket.test 703s TAP version 14 703s # random seed: R02Scd8925f4cdf0ca92f970f30836d9e079 703s 1..1 703s # Start of gdbus tests 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_IDSMJ3/gdbus/non-socket/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_IDSMJ3/gdbus/non-socket/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_IDSMJ3/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_IDSMJ3/gdbus/non-socket/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_IDSMJ3/gdbus/non-socket/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_IDSMJ3/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_IDSMJ3/gdbus/non-socket/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_IDSMJ3/gdbus/non-socket/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_IDSMJ3/gdbus/non-socket/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_IDSMJ3/gdbus/non-socket/.dirs/runtime 703s ok 1 /gdbus/non-socket 703s # End of gdbus tests 703s ok - glib/gdbus-non-socket.test 703s # Running test: glib/async-splice-output-stream.test 703s TAP version 14 703s # random seed: R02S0c31e52849bf2fd0b8ab5eca72857c9e 703s 1..5 703s # Start of async-splice tests 703s ok 1 /async-splice/copy-chunks 703s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 703s ok 2 /async-splice/copy-chunks-threaded-input 703s ok 3 /async-splice/copy-chunks-threaded-output 703s ok 4 /async-splice/copy-chunks-threaded 703s ok 5 /async-splice/cancelled 703s # End of async-splice tests 703s ok - glib/async-splice-output-stream.test 703s # Running test: glib/macros-c-99.test 703s TAP version 14 703s # random seed: R02S1ca34441dfdce677df3bf138ddc9a7bd 703s 1..4 703s # Start of C tests 703s ok 1 /C/standard-99 703s # End of C tests 703s # Start of alignof tests 703s ok 2 /alignof/fallback 703s # End of alignof tests 703s # Start of assert tests 703s ok 3 /assert/static 703s # End of assert tests 703s # Start of struct tests 703s ok 4 /struct/sizeof_member 703s # End of struct tests 703s ok - glib/macros-c-99.test 703s # Running test: glib/gdbus-auth.test 703s TAP version 14 703s # random seed: R02S19077c44f53cd1c7f91826199ed4c126 703s 1..5 703s # Start of gdbus tests 703s # Start of auth tests 703s # Start of client tests 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/EXTERNAL/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/EXTERNAL/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/EXTERNAL/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/EXTERNAL/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/EXTERNAL/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/EXTERNAL/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/EXTERNAL/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/EXTERNAL/.dirs/runtime 703s ok 1 /gdbus/auth/client/EXTERNAL 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 703s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 703s # End of client tests 703s # Start of server tests 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/ANONYMOUS/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/ANONYMOUS/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/ANONYMOUS/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/ANONYMOUS/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/ANONYMOUS/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/ANONYMOUS/.dirs/runtime 703s ok 3 /gdbus/auth/server/ANONYMOUS 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/EXTERNAL/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/EXTERNAL/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/EXTERNAL/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/EXTERNAL/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/EXTERNAL/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/EXTERNAL/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/EXTERNAL/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/EXTERNAL/.dirs/runtime 703s ok 4 /gdbus/auth/server/EXTERNAL 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_99DOJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 703s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 703s # End of server tests 703s # End of auth tests 703s # End of gdbus tests 703s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 703s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 703s ok - glib/gdbus-auth.test 703s # Running test: glib/gi-inspect-typelib.py.test 703s TAP version 13 703s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 703s # tmpdir: /tmp/tmpqiszilgk 703s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 703s # Return code: 0 703s # Output: 703s # Usage: 703s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 703s # 703s # Help Options: 703s # -h, --help Show help options 703s # 703s # Application Options: 703s # --typelib-version=VERSION Typelib version to inspect 703s # --print-shlibs List the shared libraries the typelib requires 703s # --print-typelibs List other typelibs the inspected typelib requires 703s # Error: 703s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 703s # tmpdir: /tmp/tmpx_dpe7yj 703s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 703s # Return code: 1 703s # Output: 703s # 703s # Error: 703s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 703s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 703s # tmpdir: /tmp/tmpoiun7x01 703s # Running: ['/usr/bin/gi-inspect-typelib'] 703s # Return code: 1 703s # Output: 703s # 703s # Error: 703s # Please specify exactly one namespace 703s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 703s # tmpdir: /tmp/tmplwcqesop 703s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 703s # Return code: 0 703s # Output: 703s # shlib: libgobject-2.0.so.0 703s # shlib: libglib-2.0.so.0 703s # Error: 703s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 703s # tmpdir: /tmp/tmprft066g1 703s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 703s # Return code: 0 703s # Output: 703s # 703s # Error: 703s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 703s # tmpdir: /tmp/tmp242j0jco 703s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 703s # Return code: 0 703s # Output: 703s # shlib: libgobject-2.0.so.0 703s # shlib: libglib-2.0.so.0 703s # Error: 703s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 703s # tmpdir: /tmp/tmp0ir00rl8 703s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 703s # Return code: 0 703s # Output: 703s # shlib: libgobject-2.0.so.0 703s # Error: 703s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 703s # tmpdir: /tmp/tmpxuvjhosu 703s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 703s # Return code: 0 703s # Output: 703s # typelib: GLib-2.0 703s # Error: 703s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 703s # tmpdir: /tmp/tmpruju56kd 703s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 703s # Return code: 0 703s # Output: 703s # shlib: libgobject-2.0.so.0 703s # typelib: GLib-2.0 703s # Error: 703s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 703s # tmpdir: /tmp/tmpjo4845fv 703s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 703s # Return code: 0 703s # Output: 703s # shlib: libgio-2.0.so.0 703s # Error: 703s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 703s # tmpdir: /tmp/tmpdo6nyqk7 703s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 703s # Return code: 0 703s # Output: 703s # typelib: GObject-2.0 703s # typelib: GLib-2.0 703s # typelib: GModule-2.0 703s # Error: 703s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 703s # tmpdir: /tmp/tmpt795ml9m 703s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 703s # Return code: 0 703s # Output: 703s # shlib: libgio-2.0.so.0 703s # typelib: GObject-2.0 703s # typelib: GLib-2.0 703s # typelib: GModule-2.0 703s # Error: 703s 1..12 703s ok - glib/gi-inspect-typelib.py.test 703s # Running test: glib/utils-c-99.test 703s TAP version 14 703s # random seed: R02S14978d97b6c9f7aa3f4654464c8f9d1c 703s 1..41 703s # Start of utils tests 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/language-names/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/language-names/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/language-names/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/language-names/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/language-names/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/language-names/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/language-names/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/language-names/.dirs/runtime 703s ok 1 /utils/language-names 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/locale-variants/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/locale-variants/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/locale-variants/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/locale-variants/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/locale-variants/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/locale-variants/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/locale-variants/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/locale-variants/.dirs/runtime 703s # Testing locale ‘en’ 703s # Testing locale ‘sr@latin’ 703s # Testing locale ‘fr_BE’ 703s # Testing locale ‘sr_SR@latin’ 703s # Testing locale ‘sr_SR@latin.UTF-8’ 703s # Testing locale ‘sr@latin_invalid’ 703s # Testing locale ‘sr.UTF-8@latin’ 703s # Testing locale ‘sr.UTF-8_latin’ 703s # Testing locale ‘sr.UTF-8@latin_invalid’ 703s ok 2 /utils/locale-variants 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/version/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/version/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/version/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/version/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/version/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/version/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/version/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/version/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/version/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/version/.dirs/runtime 703s ok 3 /utils/version 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/appname/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/appname/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/appname/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/appname/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/appname/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/appname/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/appname/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/appname/.dirs/runtime 703s ok 4 /utils/appname 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/prgname-thread-safety/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/prgname-thread-safety/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/prgname-thread-safety/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/prgname-thread-safety/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/prgname-thread-safety/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/prgname-thread-safety/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/prgname-thread-safety/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/prgname-thread-safety/.dirs/runtime 703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 703s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 703s ok 5 /utils/prgname-thread-safety 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/tmpdir/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/tmpdir/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/tmpdir/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/tmpdir/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/tmpdir/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/tmpdir/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/tmpdir/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/tmpdir/.dirs/runtime 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 703s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 703s Unable to clean up temporary directory /tmp/test_utils-c-99_D93WJ3/utils/tmpdir: No such file or directory 703s ok 6 /utils/tmpdir 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/basic_bits/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/basic_bits/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/basic_bits/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/basic_bits/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/basic_bits/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/basic_bits/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/basic_bits/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/basic_bits/.dirs/runtime 703s ok 7 /utils/basic_bits 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/bits/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/bits/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/bits/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/bits/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/bits/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/bits/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/bits/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/bits/.dirs/runtime 703s ok 8 /utils/bits 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/swap/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/swap/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/swap/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/swap/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/swap/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/swap/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/swap/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/swap/.dirs/runtime 703s ok 9 /utils/swap 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/find-program/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/find-program/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/find-program/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/find-program/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/find-program/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/find-program/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/find-program/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/find-program/.dirs/runtime 703s ok 10 /utils/find-program 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/find-program-for-path/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/find-program-for-path/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/find-program-for-path/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/find-program-for-path/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/find-program-for-path/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/find-program-for-path/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/find-program-for-path/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/find-program-for-path/.dirs/runtime 703s ok 11 /utils/find-program-for-path 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/debug/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/debug/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/debug/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/debug/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/debug/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/debug/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/debug/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/debug/.dirs/runtime 703s Unable to clean up temporary directory /tmp/test_utils-c-99_D93WJ3/utils/debug: No such file or directory 703s ok 12 /utils/debug 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/codeset/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/codeset/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/codeset/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/codeset/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/codeset/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/codeset/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/codeset/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/codeset/.dirs/runtime 703s ok 13 /utils/codeset 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/codeset2/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/codeset2/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/codeset2/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/codeset2/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/codeset2/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/codeset2/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/codeset2/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/codeset2/.dirs/runtime 703s Unable to clean up temporary directory /tmp/test_utils-c-99_D93WJ3/utils/codeset2: No such file or directory 703s ok 14 /utils/codeset2 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/console-charset/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/console-charset/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/console-charset/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/console-charset/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/console-charset/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/console-charset/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/console-charset/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/console-charset/.dirs/runtime 703s ok 15 /utils/console-charset 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/gettext/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/gettext/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/gettext/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/gettext/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/gettext/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/gettext/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/gettext/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/gettext/.dirs/runtime 703s ok 16 /utils/gettext 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/username/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/username/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/username/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/username/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/username/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/username/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/username/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/username/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/username/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/username/.dirs/runtime 703s ok 17 /utils/username 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/realname/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/realname/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/realname/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/realname/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/realname/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/realname/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/realname/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/realname/.dirs/runtime 703s ok 18 /utils/realname 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/hostname/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/hostname/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/hostname/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/hostname/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/hostname/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/hostname/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/hostname/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/hostname/.dirs/runtime 703s ok 19 /utils/hostname 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/os-info/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/os-info/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/os-info/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/os-info/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/os-info/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/os-info/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/os-info/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/os-info/.dirs/runtime 703s # NAME: Ubuntu 703s ok 20 /utils/os-info 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/.dirs/runtime 703s ok 21 /utils/clear-pointer 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer-cast/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer-cast/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/clear-pointer-cast/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer-cast/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/clear-pointer-cast/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer-cast/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer-cast/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer-cast/.dirs/runtime 703s ok 22 /utils/clear-pointer-cast 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/take-pointer/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/take-pointer/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/take-pointer/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/take-pointer/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/take-pointer/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/take-pointer/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/take-pointer/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/take-pointer/.dirs/runtime 703s ok 23 /utils/take-pointer 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-source/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-source/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/clear-source/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-source/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/clear-source/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-source/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-source/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/clear-source/.dirs/runtime 703s ok 24 /utils/clear-source 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/misc-mem/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/misc-mem/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/misc-mem/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/misc-mem/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/misc-mem/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/misc-mem/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/misc-mem/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/misc-mem/.dirs/runtime 703s ok 25 /utils/misc-mem 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/.dirs/runtime 703s # /utils/aligned-mem summary: Aligned memory allocator 703s # Alignment must not be zero 703s # Alignment must be a power of two 703s # Alignment must be a multiple of sizeof(void*) 703s ok 26 /utils/aligned-mem 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/free-sized/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/free-sized/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/free-sized/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/free-sized/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/free-sized/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/free-sized/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/free-sized/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/free-sized/.dirs/runtime 703s # /utils/free-sized summary: Check that g_free_sized() works 703s ok 27 /utils/free-sized 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/nullify/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/nullify/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/nullify/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/nullify/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/nullify/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/nullify/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/nullify/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/nullify/.dirs/runtime 703s ok 28 /utils/nullify 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/atexit/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/atexit/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/atexit/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/atexit/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/atexit/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/atexit/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/atexit/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/atexit/.dirs/runtime 703s Unable to clean up temporary directory /tmp/test_utils-c-99_D93WJ3/utils/atexit: No such file or directory 703s ok 29 /utils/atexit 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/check-setuid/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/check-setuid/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/check-setuid/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/check-setuid/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/check-setuid/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/check-setuid/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/check-setuid/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/check-setuid/.dirs/runtime 703s ok 30 /utils/check-setuid 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/int-limits/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/int-limits/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/int-limits/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/int-limits/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/int-limits/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/int-limits/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/int-limits/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/int-limits/.dirs/runtime 703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 703s ok 31 /utils/int-limits 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-list/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-list/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/clear-list/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-list/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/clear-list/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-list/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-list/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/clear-list/.dirs/runtime 703s ok 32 /utils/clear-list 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-slist/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-slist/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/clear-slist/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-slist/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/clear-slist/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-slist/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-slist/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/clear-slist/.dirs/runtime 703s ok 33 /utils/clear-slist 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/steal-handle-id/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/steal-handle-id/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/steal-handle-id/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/steal-handle-id/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/steal-handle-id/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/steal-handle-id/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/steal-handle-id/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/steal-handle-id/.dirs/runtime 703s ok 34 /utils/steal-handle-id 703s # Start of user-special-dirs tests 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/desktop/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/desktop/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/desktop/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/desktop/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/desktop/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/desktop/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/desktop/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/desktop/.dirs/runtime 703s ok 35 /utils/user-special-dirs/desktop 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/load-unlocked/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/load-unlocked/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/load-unlocked/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/load-unlocked/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/load-unlocked/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/load-unlocked/.dirs/runtime 703s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 703s Unable to clean up temporary directory /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/load-unlocked: No such file or directory 703s ok 36 /utils/user-special-dirs/load-unlocked 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/reload-leaks/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/reload-leaks/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/reload-leaks/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/reload-leaks/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/reload-leaks/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/reload-leaks/.dirs/runtime 703s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 703s Unable to clean up temporary directory /tmp/test_utils-c-99_D93WJ3/utils/user-special-dirs/reload-leaks: No such file or directory 703s ok 37 /utils/user-special-dirs/reload-leaks 703s # End of user-special-dirs tests 703s # Start of clear-pointer tests 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/side-effects/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/side-effects/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/side-effects/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/side-effects/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/side-effects/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/side-effects/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/side-effects/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/clear-pointer/side-effects/.dirs/runtime 703s ok 38 /utils/clear-pointer/side-effects 703s # End of clear-pointer tests 703s # Start of aligned-mem tests 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/alignment/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/alignment/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/alignment/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/alignment/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/alignment/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/alignment/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/alignment/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/alignment/.dirs/runtime 703s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 703s ok 39 /utils/aligned-mem/alignment 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/zeroed/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/zeroed/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/zeroed/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/zeroed/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/zeroed/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/zeroed/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/zeroed/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/zeroed/.dirs/runtime 703s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 703s ok 40 /utils/aligned-mem/zeroed 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/free-sized/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/free-sized/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/free-sized/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/free-sized/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/free-sized/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/free-sized/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/free-sized/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_D93WJ3/utils/aligned-mem/free-sized/.dirs/runtime 703s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 703s ok 41 /utils/aligned-mem/free-sized 703s # Start of subprocess tests 703s # End of subprocess tests 703s # End of aligned-mem tests 703s # End of utils tests 703s ok - glib/utils-c-99.test 703s # Running test: glib/registered-type-info.test 703s TAP version 14 703s # random seed: R02Sb33055b15e0ed6f44ca3737eb55455c9 703s 1..1 703s # Start of registered-type-info tests 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_IMUSJ3/registered-type-info/boxed/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_IMUSJ3/registered-type-info/boxed/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_IMUSJ3/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_IMUSJ3/registered-type-info/boxed/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_IMUSJ3/registered-type-info/boxed/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_IMUSJ3/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_IMUSJ3/registered-type-info/boxed/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_IMUSJ3/registered-type-info/boxed/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_IMUSJ3/registered-type-info/boxed/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_IMUSJ3/registered-type-info/boxed/.dirs/runtime 703s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 703s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 703s # Expecting CClosure to not be boxed 703s # Expecting TypeCValue to not be boxed 703s # Expecting InitiallyUnownedClass to not be boxed 703s # Expecting BookmarkFile to be boxed 703s # Expecting Closure to be boxed 703s # Expecting Object to not be boxed 703s ok 1 /registered-type-info/boxed 703s # End of registered-type-info tests 703s ok - glib/registered-type-info.test 703s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 703s TAP version 14 703s # random seed: R02S8c6521544236072c1fc17def8c1704f2 703s 1..8 703s # Start of gdbus tests 703s # Start of codegen tests 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/annotations/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/annotations/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/annotations/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/annotations/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/annotations/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/annotations/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/annotations/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/annotations/.dirs/runtime 703s ok 1 /gdbus/codegen/annotations 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/interface_stability/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/interface_stability/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/interface_stability/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/interface_stability/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/interface_stability/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/interface_stability/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/interface_stability/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/interface_stability/.dirs/runtime 703s ok 2 /gdbus/codegen/interface_stability 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/object-manager/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/object-manager/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/object-manager/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/object-manager/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/object-manager/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/object-manager/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/object-manager/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/object-manager/.dirs/runtime 703s ok 3 /gdbus/codegen/object-manager 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/property-naming/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/property-naming/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/property-naming/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/property-naming/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/property-naming/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/property-naming/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/property-naming/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/property-naming/.dirs/runtime 703s ok 4 /gdbus/codegen/property-naming 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/autocleanups/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/autocleanups/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/autocleanups/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/autocleanups/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/autocleanups/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/autocleanups/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/autocleanups/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/autocleanups/.dirs/runtime 703s ok 5 /gdbus/codegen/autocleanups 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/deprecations/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/deprecations/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/deprecations/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/deprecations/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/deprecations/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/deprecations/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/deprecations/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/deprecations/.dirs/runtime 703s ok 6 /gdbus/codegen/deprecations 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/standalone-interface-info/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/standalone-interface-info/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/standalone-interface-info/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/standalone-interface-info/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/standalone-interface-info/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/standalone-interface-info/.dirs/runtime 703s ok 7 /gdbus/codegen/standalone-interface-info 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/unix-fd-list/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/unix-fd-list/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/unix-fd-list/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/unix-fd-list/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/unix-fd-list/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/unix-fd-list/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/unix-fd-list/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IFKSJ3/gdbus/codegen/unix-fd-list/.dirs/runtime 703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 703s ok 8 /gdbus/codegen/unix-fd-list 703s # End of codegen tests 703s # End of gdbus tests 703s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 703s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 703s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 703s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 703s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 703s ok - glib/gdbus-test-codegen-min-required-2-64.test 703s # Running test: glib/repository-search-paths.test 703s TAP version 14 703s # random seed: R02Sce126f049cc39301a04a3c7ded3f3769 703s 1..4 703s # Start of repository tests 703s # Start of search-paths tests 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_X10SJ3/repository/search-paths/default/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_X10SJ3/repository/search-paths/default/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_X10SJ3/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_X10SJ3/repository/search-paths/default/.dirs/system-config2 703s ok - glib/repository-search-paths.test 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_X10SJ3/repository/search-paths/default/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_X10SJ3/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_X10SJ3/repository/search-paths/default/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_X10SJ3/repository/search-paths/default/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_X10SJ3/repository/search-paths/default/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_X10SJ3/repository/search-paths/default/.dirs/runtime 703s ok 1 /repository/search-paths/default 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_X10SJ3/repository/search-paths/prepend/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_X10SJ3/repository/search-paths/prepend/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_X10SJ3/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_X10SJ3/repository/search-paths/prepend/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_X10SJ3/repository/search-paths/prepend/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_X10SJ3/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_X10SJ3/repository/search-paths/prepend/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_X10SJ3/repository/search-paths/prepend/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_X10SJ3/repository/search-paths/prepend/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_X10SJ3/repository/search-paths/prepend/.dirs/runtime 703s ok 2 /repository/search-paths/prepend 703s # End of search-paths tests 703s # Start of library-paths tests 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_X10SJ3/repository/library-paths/default/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_X10SJ3/repository/library-paths/default/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_X10SJ3/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_X10SJ3/repository/library-paths/default/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_X10SJ3/repository/library-paths/default/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_X10SJ3/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_X10SJ3/repository/library-paths/default/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_X10SJ3/repository/library-paths/default/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_X10SJ3/repository/library-paths/default/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_X10SJ3/repository/library-paths/default/.dirs/runtime 703s ok 3 /repository/library-paths/default 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_X10SJ3/repository/library-paths/prepend/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_X10SJ3/repository/library-paths/prepend/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_X10SJ3/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_X10SJ3/repository/library-paths/prepend/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_X10SJ3/repository/library-paths/prepend/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_X10SJ3/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_X10SJ3/repository/library-paths/prepend/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_X10SJ3/repository/library-paths/prepend/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_X10SJ3/repository/library-paths/prepend/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_X10SJ3/repository/library-paths/prepend/.dirs/runtime 703s ok 4 /repository/library-paths/prepend 703s # End of library-paths tests 703s # End of repository tests 703s # Running test: glib/thread-pool-slow.test 703s TAP version 14 703s # random seed: R02Sf7f2b144590a30ecc97e6729e4c0bd71 703s 1..7 703s # Start of threadpool tests 703s ok 1 /threadpool/functions 704s ok 2 /threadpool/stop-unused 704s # slow test /threadpool/stop-unused executed in 0.51 secs 704s ok 3 /threadpool/pools 704s # [unsorted] ===> pushed new thread with id:17, number of threads:1, unprocessed:1 704s # [unsorted] ===> pushed new thread with id:30, number of threads:2, unprocessed:2 704s # [unsorted] ===> pushed new thread with id:34, number of threads:3, unprocessed:3 704s # [unsorted] ===> pushed new thread with id:88, number of threads:4, unprocessed:4 704s # [unsorted] ===> pushed new thread with id:90, number of threads:5, unprocessed:5 704s # [unsorted] ===> pushed new thread with id:23, number of threads:6, unprocessed:6 704s # [unsorted] ===> pushed new thread with id:11, number of threads:7, unprocessed:7 704s # [unsorted] ===> pushed new thread with id:87, number of threads:8, unprocessed:8 704s # [unsorted] ===> pushed new thread with id:32, number of threads:9, unprocessed:9 704s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:3 704s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:4 704s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:5 704s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:6 704s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:7 704s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:8 704s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:9 704s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:10 704s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:11 704s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:12 704s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:13 704s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:14 704s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:15 704s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:16 704s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:17 704s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:18 704s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:19 704s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:20 704s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:21 704s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:22 704s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:23 704s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:24 704s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:25 704s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:26 704s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:27 704s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:28 704s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:29 704s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:30 704s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:31 704s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:32 704s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:33 704s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:34 704s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:35 704s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:36 704s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:37 704s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:38 704s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:39 704s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:40 704s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:41 704s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:42 704s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:43 704s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:44 704s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:45 704s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:46 704s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:47 704s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:48 704s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:49 704s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:50 704s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:51 704s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:52 704s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:53 704s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:54 704s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:55 704s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:56 704s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:57 704s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:58 704s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:59 704s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:60 704s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:61 704s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:62 704s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:63 704s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:64 704s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:65 704s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:66 704s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:67 704s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:68 704s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:69 704s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:70 704s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:71 704s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:72 704s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:73 704s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:74 704s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:75 704s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:76 704s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:77 704s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:78 704s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:79 704s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:80 704s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:81 704s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:82 704s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:83 704s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:84 704s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:85 704s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:86 704s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:87 704s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:88 704s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:89 704s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:90 704s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:91 704s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:92 704s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:93 704s ok 4 /threadpool/no-sort 704s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:1 704s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:2 704s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:3 704s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:4 704s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:5 704s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:6 704s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:7 704s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:8 704s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:9 704s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:10 704s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:11 704s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:12 704s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:13 704s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:14 704s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:15 704s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:16 704s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:17 704s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:18 704s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:19 704s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:20 704s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:21 704s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:22 704s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:23 704s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:24 704s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:25 704s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:26 704s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:27 704s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:28 704s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:29 704s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:30 704s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:31 704s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:32 704s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:33 704s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:34 704s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:35 704s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:36 704s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:37 704s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:38 704s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:39 704s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:40 704s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:41 704s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:42 704s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:43 704s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:44 704s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:45 704s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:46 704s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:47 704s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:48 704s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:49 704s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:50 704s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:51 704s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:52 704s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:53 704s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:54 704s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:55 704s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:56 704s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:57 704s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:58 704s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:59 704s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:60 704s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:61 704s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:62 704s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:63 704s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:64 704s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:65 704s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:66 704s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:67 704s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:68 704s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:69 704s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:70 704s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:71 704s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:72 704s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:73 704s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:74 704s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:75 704s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:76 704s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:77 704s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:78 704s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:79 704s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:80 704s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:81 704s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:82 704s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:83 704s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:84 704s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:85 704s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:86 704s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:87 704s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:88 704s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:89 704s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:90 704s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:91 704s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:92 704s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:93 704s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:94 704s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:95 704s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:96 704s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:97 704s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:98 704s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:99 704s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:100 704s # Starting thread pool processing 704s ok 5 /threadpool/sort 705s ok 6 /threadpool/stop-unused-multiple 705s # slow test /threadpool/stop-unused-multiple executed in 0.52 secs 705s # Pool idle thread count: 0, unprocessed jobs: 49 705s # Pool idle thread count: 0, unprocessed jobs: 0 705s # Pool idle thread count: 0, unprocessed jobs: 0 706s # Pool idle thread count: 10, unprocessed jobs: 0 706s # Pool idle thread count: 10, unprocessed jobs: 0 706s # Executing: glib/thread-pool-slow.test 706s # Pool idle thread count: 10, unprocessed jobs: 0 706s # Pool idle thread count: 10, unprocessed jobs: 0 707s # Pool idle thread count: 10, unprocessed jobs: 0 707s # Pool idle thread count: 10, unprocessed jobs: 0 707s # Pool idle thread count: 10, unprocessed jobs: 0 707s # Pool idle thread count: 10, unprocessed jobs: 0 709s # Pool idle thread count: 10, unprocessed jobs: 0 709s # Pool idle thread count: 10, unprocessed jobs: 0 709s # Pool idle thread count: 10, unprocessed jobs: 0 709s # Pool idle thread count: 10, unprocessed jobs: 0 709s # Pool idle thread count: 10, unprocessed jobs: 0 709s # Pool idle thread count: 10, unprocessed jobs: 0 709s # Pool idle thread count: 10, unprocessed jobs: 0 709s # Pool idle thread count: 10, unprocessed jobs: 0 710s # Pool idle thread count: 10, unprocessed jobs: 0 710s # Pool idle thread count: 10, unprocessed jobs: 0 710s # Pool idle thread count: 10, unprocessed jobs: 0 710s # Pool idle thread count: 10, unprocessed jobs: 0 711s # Pool idle thread count: 10, unprocessed jobs: 0 711s # Pool idle thread count: 10, unprocessed jobs: 0 711s # Executing: glib/thread-pool-slow.test 711s # Pool idle thread count: 10, unprocessed jobs: 0 711s # Pool idle thread count: 10, unprocessed jobs: 0 712s # Pool idle thread count: 10, unprocessed jobs: 0 712s # Pool idle thread count: 10, unprocessed jobs: 0 712s # Pool idle thread count: 10, unprocessed jobs: 0 712s # Pool idle thread count: 10, unprocessed jobs: 0 713s # Pool idle thread count: 10, unprocessed jobs: 0 713s # Pool idle thread count: 10, unprocessed jobs: 0 713s # Pool idle thread count: 10, unprocessed jobs: 0 713s # Pool idle thread count: 10, unprocessed jobs: 0 714s # Pool idle thread count: 10, unprocessed jobs: 2 714s # Pool idle thread count: 10, unprocessed jobs: 2 714s # Pool idle thread count: 8, unprocessed jobs: 0 714s # Pool idle thread count: 8, unprocessed jobs: 0 714s # Pool idle thread count: 10, unprocessed jobs: 0 714s # Pool idle thread count: 10, unprocessed jobs: 0 715s # Pool idle thread count: 10, unprocessed jobs: 0 715s # Pool idle thread count: 10, unprocessed jobs: 0 715s # Pool idle thread count: 10, unprocessed jobs: 0 715s # Pool idle thread count: 10, unprocessed jobs: 0 718s # Pool idle thread count: 2, unprocessed jobs: 0 718s # Pool idle thread count: 2, unprocessed jobs: 0 718s # Executing: glib/thread-pool-slow.test 718s # Pool idle thread count: 2, unprocessed jobs: 0 718s # Pool idle thread count: 2, unprocessed jobs: 0 718s # Pool idle thread count: 2, unprocessed jobs: 0 718s # Pool idle thread count: 2, unprocessed jobs: 0 718s # Pool idle thread count: 2, unprocessed jobs: 0 718s # Pool idle thread count: 2, unprocessed jobs: 0 718s # Pool idle thread count: 2, unprocessed jobs: 0 718s # Pool idle thread count: 2, unprocessed jobs: 0 718s # Pool idle thread count: 2, unprocessed jobs: 0 718s # Pool idle thread count: 2, unprocessed jobs: 0 719s # Pool idle thread count: 2, unprocessed jobs: 0 719s # Pool idle thread count: 2, unprocessed jobs: 0 719s # Pool idle thread count: 2, unprocessed jobs: 0 719s # Pool idle thread count: 2, unprocessed jobs: 0 720s # Pool idle thread count: 2, unprocessed jobs: 0 720s # Pool idle thread count: 2, unprocessed jobs: 0 720s # Pool idle thread count: 2, unprocessed jobs: 0 720s # Pool idle thread count: 2, unprocessed jobs: 0 721s # Pool idle thread count: 2, unprocessed jobs: 0 721s # Pool idle thread count: 2, unprocessed jobs: 0 721s # Executing: glib/thread-pool-slow.test 721s # Pool idle thread count: 2, unprocessed jobs: 0 721s # Pool idle thread count: 2, unprocessed jobs: 0 722s # Pool idle thread count: 2, unprocessed jobs: 0 722s # Pool idle thread count: 2, unprocessed jobs: 0 722s # Pool idle thread count: 2, unprocessed jobs: 0 722s # Pool idle thread count: 2, unprocessed jobs: 0 723s # Pool idle thread count: 2, unprocessed jobs: 0 723s # Pool idle thread count: 2, unprocessed jobs: 0 723s # Pool idle thread count: 2, unprocessed jobs: 0 723s # Pool idle thread count: 2, unprocessed jobs: 0 724s # Pool idle thread count: 2, unprocessed jobs: 0 724s # Pool idle thread count: 2, unprocessed jobs: 0 724s ok 7 /threadpool/idle-time 724s # slow test /threadpool/idle-time executed in 19.52 secs 724s # End of threadpool tests 724s ok - glib/thread-pool-slow.test 724s # Running test: glib/scannerapi.test 724s TAP version 14 724s # random seed: R02Se54fec3f529abfa54510ddac5c21a1b6 724s 1..8 724s # Start of scanner tests 724s ok 1 /scanner/warn 724s ok 2 /scanner/error 724s ok 3 /scanner/symbols 724s ok 4 /scanner/tokens 724s ok 5 /scanner/multiline-comment 724s ok - glib/scannerapi.test 724s ok 6 /scanner/int-to-float 724s ok 7 /scanner/fd-input 724s # Start of fd-input tests 724s ok 8 /scanner/fd-input/rewind 724s # End of fd-input tests 724s # End of scanner tests 724s # Running test: glib/atomic-c-11.test 724s TAP version 14 724s # random seed: R02S76b80aa85df65951a50e2cfdb64be536 724s 1..2 724s # Start of atomic tests 724s ok 1 /atomic/types 724s ok - glib/atomic-c-11.test 724s ok 2 /atomic/threaded 724s # End of atomic tests 724s # Running test: glib/objects-refcount2.test 724s TAP version 14 724s # random seed: R02S2cdb1f1db7902b9945ab78dc1e09a718 724s 1..1 724s # Start of gobject tests 724s # Start of refcount tests 724s # init 0x2142869dd70 724s # 724s # . 724s # . 724s # . 724s # . 724s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 725s # . 726s # . 726s # . 726s # . 726s # . 726s # . 726s # . 726s # . 726s # . 726s # . 726s # . 726s # . 726s # . 726s # . 726s # . 726s # . 726s # . 726s # . 726s # . 726s # Executing: glib/objects-refcount2.test 726s # . 726s # . 726s # . 726s # . 726s # . 726s # . 726s # . 726s # . 726s # . 726s # . 727s # . 727s # . 727s # . 727s # . 727s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 728s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 729s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 730s # . 731s # . 731s # . 731s # . 731s # . 731s # . 731s # . 731s # . 731s # . 731s # . 731s # . 731s # . 731s # . 731s # . 731s # . 731s # . 731s # . 731s # . 731s # Executing: glib/objects-refcount2.test 731s # . 731s # . 731s # . 731s # . 731s # . 731s # . 731s # . 731s # . 731s # . 731s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 732s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 733s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 734s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 735s # . 736s # . 736s # . 736s # . 736s # . 736s # . 736s # . 736s # . 736s # . 736s # . 736s # . 736s # . 736s # . 736s # . 736s # . 736s # . 736s # . 736s # . 736s # . 736s # Executing: glib/objects-refcount2.test 736s # . 736s # . 736s # . 736s # . 736s # . 736s # . 736s # . 736s # . 736s # . 736s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 740s # . 741s # . 741s # . 741s # . 741s # . 741s # . 741s # . 741s # . 741s # . 741s # . 741s # . 741s # . 741s # . 741s # . 741s # . 741s # . 741s # . 741s # . 741s # Executing: glib/objects-refcount2.test 741s # . 741s # . 741s # . 741s # . 741s # . 741s # . 741s # . 741s # . 741s # . 741s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 742s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 743s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 744s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 745s # . 746s # . 746s # . 746s # . 746s # . 746s # . 746s # . 746s # . 746s # . 746s # . 746s # . 746s # . 746s # . 746s # . 746s # . 746s # . 746s # . 746s # . 746s # Executing: glib/objects-refcount2.test 746s # . 746s # . 746s # . 746s # . 746s # . 746s # . 746s # . 746s # . 746s # . 746s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 747s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 748s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 749s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 750s # . 751s # . 751s # . 751s # . 751s # . 751s # . 751s # . 751s # . 751s # . 751s # . 751s # . 751s # . 751s # . 751s # . 751s # . 751s # . 751s # . 751s # . 751s # . 751s # Executing: glib/objects-refcount2.test 751s # . 751s # . 751s # . 751s # . 751s # . 751s # . 751s # . 751s # . 751s # . 751s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 752s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 753s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 754s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # Executing: glib/objects-refcount2.test 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 761s # . 761s # . 761s ok - glib/objects-refcount2.test 761s # . 761s # dispose 0x2142869dd70! 761s # 761s ok 1 /gobject/refcount/object-advanced 761s # slow test /gobject/refcount/object-advanced executed in 36.29 secs 761s # End of refcount tests 761s # End of gobject tests 761s # Running test: glib/application-command-line.test 761s TAP version 14 761s # random seed: R02S4ece5e7d2d5e7727c6a439a31bc51269 761s 1..1 761s # Start of application-command-line tests 761s ok - glib/application-command-line.test 761s ok 1 /application-command-line/basic-properties 761s # End of application-command-line tests 761s # Running test: glib/tls-bindings.test 761s TAP version 14 761s # random seed: R02S6416a9aefde04a88762d118f23af327f 761s 1..2 761s # Start of tls-connection tests 761s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 761s ok 1 /tls-connection/get-tls-channel-binding 761s ok - glib/tls-bindings.test 761s ok 2 /tls-connection/get-dtls-channel-binding 761s # End of tls-connection tests 761s # Running test: glib/onceinit.test 761s TAP version 14 761s # random seed: R02S4957b97c622965fd5f2b3f844b7d36c4 761s 1..1 761s # Start of thread tests 761s ok - glib/onceinit.test 761s ok 1 /thread/onceinit 761s # End of thread tests 761s # Running test: glib/glistmodel.test 761s TAP version 14 761s # random seed: R02Seadbe6f8620eec4fc2af81cd093217d4 761s 1..18 761s # Start of glistmodel tests 761s # Start of store tests 761s ok 1 /glistmodel/store/properties 761s ok 2 /glistmodel/store/non-gobjects 761s ok 3 /glistmodel/store/boundaries 761s ok 4 /glistmodel/store/refcounts 761s ok - glib/glistmodel.test 761s ok 5 /glistmodel/store/sorted 761s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 761s ok 6 /glistmodel/store/splice-replace-middle 761s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 761s ok 7 /glistmodel/store/splice-replace-all 761s ok 8 /glistmodel/store/splice-noop 761s ok 9 /glistmodel/store/splice-remove-multiple 761s ok 10 /glistmodel/store/splice-add-multiple 761s ok 11 /glistmodel/store/splice-wrong-type 761s ok 12 /glistmodel/store/item-type 761s ok 13 /glistmodel/store/remove-all 761s ok 14 /glistmodel/store/sort 761s ok 15 /glistmodel/store/get-item-cache 761s ok 16 /glistmodel/store/items-changed 761s ok 17 /glistmodel/store/past-end 761s ok 18 /glistmodel/store/find 761s # End of store tests 761s # End of glistmodel tests 761s # Running test: glib/gdbus-proxy.test 761s TAP version 14 761s # random seed: R02S61cebe20ea61ed74c2d285e9d8b63120 761s 1..5 761s # Start of gdbus tests 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/.dirs/runtime 761s # Executing: glib/gdbus-proxy.test 762s ok 1 /gdbus/proxy 762s # slow test /gdbus/proxy executed in 1.74 secs 762s # Start of proxy tests 762s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-properties/.dirs/home 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-properties/.dirs/cache 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-properties/.dirs/system-config2 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-properties/.dirs/config 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-properties/.dirs/system-data2 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-properties/.dirs/data 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-properties/.dirs/state 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-properties/.dirs/runtime 762s ok 2 /gdbus/proxy/no-properties 762s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/wellknown-noauto/.dirs/home 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/wellknown-noauto/.dirs/cache 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/wellknown-noauto/.dirs/system-config2 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/wellknown-noauto/.dirs/config 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/wellknown-noauto/.dirs/system-data2 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/wellknown-noauto/.dirs/data 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/wellknown-noauto/.dirs/state 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/wellknown-noauto/.dirs/runtime 762s ok 3 /gdbus/proxy/wellknown-noauto 762s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/async/.dirs/home 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/async/.dirs/cache 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/async/.dirs/system-config2 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/async/.dirs/config 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/async/.dirs/system-data2 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/async/.dirs/data 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/async/.dirs/state 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/async/.dirs/runtime 764s ok 4 /gdbus/proxy/async 764s # slow test /gdbus/proxy/async executed in 1.74 secs 764s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-match-rule/.dirs/home 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-match-rule/.dirs/cache 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-match-rule/.dirs/system-config2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-match-rule/.dirs/config 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-match-rule/.dirs/system-data2 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-match-rule/.dirs/data 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-match-rule/.dirs/state 764s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_750XJ3/gdbus/proxy/no-match-rule/.dirs/runtime 764s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 766s ok - glib/gdbus-proxy.test 766s # Running test: glib/readwrite.test 766s ok 5 /gdbus/proxy/no-match-rule 766s # slow test /gdbus/proxy/no-match-rule executed in 1.73 secs 766s # End of proxy tests 766s # End of gdbus tests 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s TAP version 14 766s # random seed: R02Sb639cf7371b3bc63e45d234c6788924a 766s 1..3 766s # Start of readwrite tests 766s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 766s ok 1 /readwrite/test_g_file_open_readwrite 766s ok 2 /readwrite/test_g_file_create_readwrite 766s ok - glib/readwrite.test 766s ok 3 /readwrite/test_g_file_replace_readwrite 766s # End of readwrite tests 766s # Running test: glib/power-profile-monitor.test 766s TAP version 14 766s # random seed: R02S2e212580004f00316eedea8654dc2fd3 766s 1..1 766s # Start of power-profile-monitor tests 766s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 766s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’ 766s ok 1 /power-profile-monitor/default 766s # End of power-profile-monitor tests 766s ok - glib/power-profile-monitor.test 766s # Running test: glib/portal-support-flatpak-full.test 766s ok - glib/portal-support-flatpak-full.test 766s # Running test: glib/debugcontroller.test 766s TAP version 14 766s # random seed: R02S1594b52d29035cc9ed5a420fe9ac42fc 766s 1..1 766s # Start of portal-support tests 766s # Start of flatpak tests 766s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_WF5HJ3/portal-support/flatpak/full/.dirs/home 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_WF5HJ3/portal-support/flatpak/full/.dirs/cache 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_WF5HJ3/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_WF5HJ3/portal-support/flatpak/full/.dirs/system-config2 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_WF5HJ3/portal-support/flatpak/full/.dirs/config 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_WF5HJ3/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_WF5HJ3/portal-support/flatpak/full/.dirs/system-data2 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_WF5HJ3/portal-support/flatpak/full/.dirs/data 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_WF5HJ3/portal-support/flatpak/full/.dirs/state 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_WF5HJ3/portal-support/flatpak/full/.dirs/runtime 766s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_WF5HJ3/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 766s ok 1 /portal-support/flatpak/full 766s # End of flatpak tests 766s # End of portal-support tests 766s TAP version 14 766s # random seed: R02Sc0f7e0633036ce15c436e176ee2f7125 766s 1..3 766s # Start of debug-controller tests 766s # Start of dbus tests 766s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 766s # GLib-GIO-DEBUG: Debug output enabled 766s # GLib-GIO-DEBUG: Debug output disabled 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s ok 1 /debug-controller/dbus/basic 766s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s ok 2 /debug-controller/dbus/duplicate 766s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 766s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 766s # End of dbus tests 766s ok - glib/debugcontroller.test 766s # Running test: glib/unix-streams.test 766s # End of debug-controller tests 766s TAP version 14 766s # random seed: R02S861817366c3968a584f4415f4edefeed 766s 1..9 766s # Start of unix-streams tests 766s ok 1 /unix-streams/basic 766s # Executing: glib/unix-streams.test 766s ok 2 /unix-streams/pipe-io-test 766s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 767s ok 3 /unix-streams/nonblocking-io-test 767s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 767s ok 4 /unix-streams/read_write 767s ok 5 /unix-streams/read_writev 767s ok 6 /unix-streams/write-wouldblock 767s ok 7 /unix-streams/writev-wouldblock 767s ok 8 /unix-streams/write-async-wouldblock 767s ok 9 /unix-streams/writev-async-wouldblock 767s # End of unix-streams tests 767s ok - glib/unix-streams.test 767s # Running test: glib/spawn-multithreaded.test 767s TAP version 14 767s # random seed: R02S9676fadfb0393ece8760d3496dc094c4 767s 1..4 767s # Start of gthread tests 768s # Child 13937 (ttl 1) exited, status 0 769s # Child 13938 (ttl 2) exited, status 0 769s ok 1 /gthread/spawn-childs 769s # slow test /gthread/spawn-childs executed in 2.00 secs 769s # Created pid: 13943 (ttl 2) 769s # Created pid: 13942 (ttl 1) 770s # Child 13942 (ttl 1) exited, status 0 771s # Child 13943 (ttl 2) exited, status 0 771s ok 2 /gthread/spawn-childs-threads 771s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 771s ok 3 /gthread/spawn-sync 771s ok 4 /gthread/spawn-async 771s # End of gthread tests 771s ok - glib/spawn-multithreaded.test 771s # Running test: glib/tls-database.test 771s TAP version 14 771s # random seed: R02S45e3a3188e66e013db08b6dc5e6f12f4 771s 1..1 771s # Start of tls-backend tests 771s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 771s ok 1 /tls-backend/set-default-database 771s # End of tls-backend tests 771s ok - glib/tls-database.test 771s # Running test: glib/portal-support-flatpak-network-only.test 771s TAP version 14 771s ok - glib/portal-support-flatpak-network-only.test 771s # Running test: glib/utils-c-11.test 771s # random seed: R02S657529f45bc61ba0daa072f1f9ecace5 771s 1..1 771s # Start of portal-support tests 771s # Start of flatpak tests 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_M9JIJ3/portal-support/flatpak/network/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_M9JIJ3/portal-support/flatpak/network/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_M9JIJ3/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_M9JIJ3/portal-support/flatpak/network/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_M9JIJ3/portal-support/flatpak/network/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_M9JIJ3/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_M9JIJ3/portal-support/flatpak/network/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_M9JIJ3/portal-support/flatpak/network/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_M9JIJ3/portal-support/flatpak/network/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_M9JIJ3/portal-support/flatpak/network/.dirs/runtime 771s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_M9JIJ3/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 771s ok 1 /portal-support/flatpak/network 771s # End of flatpak tests 771s # End of portal-support tests 771s TAP version 14 771s # random seed: R02Sa25bd287f2d49874103f20121966681d 771s 1..41 771s # Start of utils tests 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/language-names/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/language-names/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/language-names/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/language-names/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/language-names/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/language-names/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/language-names/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/language-names/.dirs/runtime 771s ok 1 /utils/language-names 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/locale-variants/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/locale-variants/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/locale-variants/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/locale-variants/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/locale-variants/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/locale-variants/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/locale-variants/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/locale-variants/.dirs/runtime 771s # Testing locale ‘en’ 771s # Testing locale ‘sr@latin’ 771s # Testing locale ‘fr_BE’ 771s # Testing locale ‘sr_SR@latin’ 771s # Testing locale ‘sr_SR@latin.UTF-8’ 771s # Testing locale ‘sr@latin_invalid’ 771s # Testing locale ‘sr.UTF-8@latin’ 771s # Testing locale ‘sr.UTF-8_latin’ 771s # Testing locale ‘sr.UTF-8@latin_invalid’ 771s ok 2 /utils/locale-variants 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/version/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/version/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/version/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/version/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/version/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/version/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/version/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/version/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/version/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/version/.dirs/runtime 771s ok 3 /utils/version 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/appname/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/appname/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/appname/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/appname/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/appname/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/appname/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/appname/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/appname/.dirs/runtime 771s ok 4 /utils/appname 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/prgname-thread-safety/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/prgname-thread-safety/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/prgname-thread-safety/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/prgname-thread-safety/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/prgname-thread-safety/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/prgname-thread-safety/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/prgname-thread-safety/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/prgname-thread-safety/.dirs/runtime 771s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 771s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 771s ok 5 /utils/prgname-thread-safety 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/tmpdir/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/tmpdir/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/tmpdir/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/tmpdir/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/tmpdir/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/tmpdir/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/tmpdir/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/tmpdir/.dirs/runtime 771s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 771s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 771s Unable to clean up temporary directory /tmp/test_utils-c-11_I5NIJ3/utils/tmpdir: No such file or directory 771s ok 6 /utils/tmpdir 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/basic_bits/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/basic_bits/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/basic_bits/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/basic_bits/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/basic_bits/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/basic_bits/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/basic_bits/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/basic_bits/.dirs/runtime 771s ok 7 /utils/basic_bits 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/bits/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/bits/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/bits/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/bits/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/bits/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/bits/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/bits/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/bits/.dirs/runtime 771s ok 8 /utils/bits 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/swap/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/swap/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/swap/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/swap/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/swap/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/swap/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/swap/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/swap/.dirs/runtime 771s ok 9 /utils/swap 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/find-program/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/find-program/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/find-program/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/find-program/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/find-program/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/find-program/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/find-program/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/find-program/.dirs/runtime 771s ok 10 /utils/find-program 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/find-program-for-path/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/find-program-for-path/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/find-program-for-path/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/find-program-for-path/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/find-program-for-path/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/find-program-for-path/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/find-program-for-path/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/find-program-for-path/.dirs/runtime 771s ok 11 /utils/find-program-for-path 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/debug/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/debug/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/debug/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/debug/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/debug/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/debug/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/debug/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/debug/.dirs/runtime 771s Unable to clean up temporary directory /tmp/test_utils-c-11_I5NIJ3/utils/debug: No such file or directory 771s ok 12 /utils/debug 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/codeset/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/codeset/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/codeset/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/codeset/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/codeset/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/codeset/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/codeset/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/codeset/.dirs/runtime 771s ok 13 /utils/codeset 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/codeset2/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/codeset2/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/codeset2/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/codeset2/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/codeset2/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/codeset2/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/codeset2/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/codeset2/.dirs/runtime 771s Unable to clean up temporary directory /tmp/test_utils-c-11_I5NIJ3/utils/codeset2: No such file or directory 771s ok 14 /utils/codeset2 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/console-charset/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/console-charset/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/console-charset/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/console-charset/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/console-charset/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/console-charset/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/console-charset/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/console-charset/.dirs/runtime 771s ok 15 /utils/console-charset 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/gettext/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/gettext/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/gettext/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/gettext/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/gettext/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/gettext/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/gettext/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/gettext/.dirs/runtime 771s ok 16 /utils/gettext 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/username/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/username/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/username/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/username/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/username/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/username/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/username/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/username/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/username/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/username/.dirs/runtime 771s ok 17 /utils/username 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/realname/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/realname/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/realname/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/realname/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/realname/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/realname/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/realname/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/realname/.dirs/runtime 771s ok 18 /utils/realname 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/hostname/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/hostname/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/hostname/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/hostname/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/hostname/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/hostname/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/hostname/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/hostname/.dirs/runtime 771s ok 19 /utils/hostname 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/os-info/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/os-info/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/os-info/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/os-info/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/os-info/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/os-info/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/os-info/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/os-info/.dirs/runtime 771s # NAME: Ubuntu 771s ok 20 /utils/os-info 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/.dirs/runtime 771s ok 21 /utils/clear-pointer 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer-cast/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer-cast/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer-cast/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer-cast/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer-cast/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer-cast/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer-cast/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer-cast/.dirs/runtime 771s ok 22 /utils/clear-pointer-cast 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/take-pointer/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/take-pointer/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/take-pointer/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/take-pointer/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/take-pointer/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/take-pointer/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/take-pointer/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/take-pointer/.dirs/runtime 771s ok 23 /utils/take-pointer 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-source/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-source/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/clear-source/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-source/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/clear-source/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-source/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-source/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/clear-source/.dirs/runtime 771s ok 24 /utils/clear-source 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/misc-mem/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/misc-mem/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/misc-mem/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/misc-mem/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/misc-mem/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/misc-mem/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/misc-mem/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/misc-mem/.dirs/runtime 771s ok 25 /utils/misc-mem 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/.dirs/runtime 771s # /utils/aligned-mem summary: Aligned memory allocator 771s # Alignment must not be zero 771s # Alignment must be a power of two 771s # Alignment must be a multiple of sizeof(void*) 771s ok 26 /utils/aligned-mem 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/free-sized/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/free-sized/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/free-sized/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/free-sized/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/free-sized/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/free-sized/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/free-sized/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/free-sized/.dirs/runtime 771s # /utils/free-sized summary: Check that g_free_sized() works 771s ok 27 /utils/free-sized 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/nullify/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/nullify/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/nullify/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/nullify/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/nullify/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/nullify/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/nullify/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/nullify/.dirs/runtime 771s ok 28 /utils/nullify 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/atexit/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/atexit/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/atexit/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/atexit/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/atexit/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/atexit/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/atexit/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/atexit/.dirs/runtime 771s Unable to clean up temporary directory /tmp/test_utils-c-11_I5NIJ3/utils/atexit: No such file or directory 771s ok 29 /utils/atexit 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/check-setuid/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/check-setuid/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/check-setuid/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/check-setuid/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/check-setuid/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/check-setuid/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/check-setuid/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/check-setuid/.dirs/runtime 771s ok 30 /utils/check-setuid 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/int-limits/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/int-limits/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/int-limits/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/int-limits/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/int-limits/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/int-limits/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/int-limits/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/int-limits/.dirs/runtime 771s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 771s ok 31 /utils/int-limits 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-list/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-list/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/clear-list/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-list/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/clear-list/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-list/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-list/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/clear-list/.dirs/runtime 771s ok 32 /utils/clear-list 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-slist/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-slist/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/clear-slist/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-slist/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/clear-slist/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-slist/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-slist/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/clear-slist/.dirs/runtime 771s ok 33 /utils/clear-slist 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/steal-handle-id/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/steal-handle-id/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/steal-handle-id/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/steal-handle-id/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/steal-handle-id/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/steal-handle-id/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/steal-handle-id/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/steal-handle-id/.dirs/runtime 771s ok 34 /utils/steal-handle-id 771s # Start of user-special-dirs tests 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/desktop/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/desktop/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/desktop/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/desktop/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/desktop/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/desktop/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/desktop/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/desktop/.dirs/runtime 771s ok 35 /utils/user-special-dirs/desktop 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/load-unlocked/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/load-unlocked/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/load-unlocked/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/load-unlocked/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/load-unlocked/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/load-unlocked/.dirs/runtime 771s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 771s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 771s Unable to clean up temporary directory /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/load-unlocked: No such file or directory 771s ok 36 /utils/user-special-dirs/load-unlocked 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/reload-leaks/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/reload-leaks/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/reload-leaks/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/reload-leaks/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/reload-leaks/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/reload-leaks/.dirs/runtime 771s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 771s Unable to clean up temporary directory /tmp/test_utils-c-11_I5NIJ3/utils/user-special-dirs/reload-leaks: No such file or directory 771s ok 37 /utils/user-special-dirs/reload-leaks 771s # End of user-special-dirs tests 771s # Start of clear-pointer tests 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/side-effects/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/side-effects/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/side-effects/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/side-effects/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/side-effects/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/side-effects/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/side-effects/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/clear-pointer/side-effects/.dirs/runtime 771s ok 38 /utils/clear-pointer/side-effects 771s # End of clear-pointer tests 771s # Start of aligned-mem tests 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/alignment/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/alignment/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/alignment/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/alignment/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/alignment/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/alignment/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/alignment/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/alignment/.dirs/runtime 771s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 771s ok 39 /utils/aligned-mem/alignment 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/zeroed/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/zeroed/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/zeroed/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/zeroed/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/zeroed/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/zeroed/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/zeroed/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/zeroed/.dirs/runtime 771s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 771s ok 40 /utils/aligned-mem/zeroed 771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/free-sized/.dirs/home 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/free-sized/.dirs/cache 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/free-sized/.dirs/system-config2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/free-sized/.dirs/config 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/free-sized/.dirs/system-data2 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/free-sized/.dirs/data 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/free-sized/.dirs/state 771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_I5NIJ3/utils/aligned-mem/free-sized/.dirs/runtime 771s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 771s ok 41 /utils/aligned-mem/free-sized 771s # Start of subprocess tests 771s # End of subprocess tests 771s # End of aligned-mem tests 771s # End of utils tests 771s TAP version 14 771s # random seed: R02S1bc1ff67beb8d1c549fc4ab5ee792bb7 771s 1..1 771s # Start of png-thumbs tests 771s ok - glib/utils-c-11.test 771s # Running test: glib/thumbnail-verification.test 771s ok - glib/thumbnail-verification.test 771s ok 1 /png-thumbs/validity 771s # End of png-thumbs tests 771s # Running test: glib/mainloop.test 771s TAP version 14 771s # random seed: R02Sfaf49991cd75b9c98f5f566e8f34f851 771s 1..47 771s # Start of maincontext tests 771s ok 1 /maincontext/basic 771s # Add same-priority sources: 39 771s # Find each source: 19 771s # Executing: glib/mainloop.test 771s # Remove in random order: 55 771s ok 2 /maincontext/nsources_same_priority 771s # Add different-priority sources: 45 771s # Find each source: 19 771s # Remove in random order: 60 771s ok 3 /maincontext/nsources_different_priority 772s # Add sources from threads: 40 772s # Remove sources from threads: 66 772s ok 4 /maincontext/nsources_threadpool 772s ok 5 /maincontext/source_finalization 772s # /maincontext/idle-once summary: Test g_idle_add_once() works 772s ok 6 /maincontext/idle-once 772s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 772s ok 7 /maincontext/timeout-once 772s # /maincontext/context-ref-in-source-callbackfuncs-unref summary: Tests if calling GSource API in GSourceCallbackFuncs.unref does not deadlock attempting to retrieve the relevant GMainContext. 772s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 772s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 772s # Start of source_finalization_from_source tests 772s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 772s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 772s ok 9 /maincontext/source_finalization_from_source/0 772s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 772s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 772s ok 10 /maincontext/source_finalization_from_source/1 772s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 772s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 772s ok 11 /maincontext/source_finalization_from_source/2 772s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 772s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 772s ok 12 /maincontext/source_finalization_from_source/3 772s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 772s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 772s ok 13 /maincontext/source_finalization_from_source/4 772s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 772s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 772s ok 14 /maincontext/source_finalization_from_source/5 772s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 772s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 772s ok 15 /maincontext/source_finalization_from_source/6 772s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 772s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 772s ok 16 /maincontext/source_finalization_from_source/7 772s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 772s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 772s ok 17 /maincontext/source_finalization_from_source/8 772s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 772s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 772s ok 18 /maincontext/source_finalization_from_source/9 772s # End of source_finalization_from_source tests 772s # Start of source_finalization_from_dispatch tests 772s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 772s ok 19 /maincontext/source_finalization_from_dispatch/0 772s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 772s ok 20 /maincontext/source_finalization_from_dispatch/1 772s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 772s ok 21 /maincontext/source_finalization_from_dispatch/2 772s # End of source_finalization_from_dispatch tests 772s # End of maincontext tests 772s # Start of mainloop tests 772s ok 22 /mainloop/basic 772s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 772s ok 24 /mainloop/priorities 772s ok 25 /mainloop/invoke 772s # slow test /mainloop/invoke executed in 0.50 secs 773s ok 26 /mainloop/child_sources 773s # slow test /mainloop/child_sources executed in 1.18 secs 775s ok 27 /mainloop/recursive_child_sources 775s # slow test /mainloop/recursive_child_sources executed in 2.14 secs 775s ok 28 /mainloop/recursive_loop_child_sources 776s ok 29 /mainloop/swapping_child_sources 776s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 776s ok 30 /mainloop/blocked_child_sources 776s # Executing: glib/mainloop.test 777s ok 31 /mainloop/source_time 777s # slow test /mainloop/source_time executed in 1.00 secs 777s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 777s ok 32 /mainloop/overflow 777s ok 33 /mainloop/ready-time 777s # slow test /mainloop/ready-time executed in 0.50 secs 777s ok 34 /mainloop/wakeup 777s ok 35 /mainloop/remove-invalid 777s ok 36 /mainloop/unref-while-pending 779s ok 37 /mainloop/unix-fd 779s # slow test /mainloop/unix-fd executed in 1.50 secs 779s ok 38 /mainloop/unix-fd-source 779s ok 39 /mainloop/source-unix-fd-api 779s ok 40 /mainloop/wait 779s ok 41 /mainloop/unix-file-poll 779s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 779s ok 42 /mainloop/unix-fd-priority 779s ok 43 /mainloop/nfds 779s ok 44 /mainloop/steal-fd 780s ok 45 /mainloop/simultaneous-source-context-destruction 780s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.17 secs 780s # Start of ownerless-polling tests 780s ok 46 /mainloop/ownerless-polling/attach-first 780s ok 47 /mainloop/ownerless-polling/pop-first 780s # End of ownerless-polling tests 780s # End of mainloop tests 780s ok - glib/mainloop.test 780s # Running test: glib/portal-support-snap.test 780s TAP version 14 780s # random seed: R02Sce4d2f53d3221c67506d450a3581cd5e 780s 1..7 780s # Start of portal-support tests 780s # Start of snap tests 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/no-snapctl/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/no-snapctl/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/no-snapctl/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/no-snapctl/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/no-snapctl/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/no-snapctl/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/no-snapctl/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/no-snapctl/.dirs/runtime 780s # Created snap.yaml in /tmp/test_portal-support-snap_2D3GJ3/meta/snap.yaml 780s Unable to clean up temporary directory /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/no-snapctl: No such file or directory 780s ok 1 /portal-support/snap/no-snapctl 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/none/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/none/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/none/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/none/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/none/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/none/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/none/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/none/.dirs/runtime 780s # Created snap.yaml in /tmp/test_portal-support-snap_2D3GJ3/meta/snap.yaml 780s # Created snapctl in /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/none/.dirs/runtime/snapctl 780s Unable to clean up temporary directory /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/none: No such file or directory 780s ok 2 /portal-support/snap/none 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/all/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/all/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/all/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/all/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/all/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/all/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/all/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/all/.dirs/runtime 780s # Created snap.yaml in /tmp/test_portal-support-snap_2D3GJ3/meta/snap.yaml 780s # Created snapctl in /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/all/.dirs/runtime/snapctl 780s Unable to clean up temporary directory /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/all: No such file or directory 780s ok 3 /portal-support/snap/all 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/desktop-only/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/desktop-only/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/desktop-only/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/desktop-only/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/desktop-only/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/desktop-only/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/desktop-only/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/desktop-only/.dirs/runtime 780s # Created snap.yaml in /tmp/test_portal-support-snap_2D3GJ3/meta/snap.yaml 780s # Created snapctl in /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/desktop-only/.dirs/runtime/snapctl 780s Unable to clean up temporary directory /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/desktop-only: No such file or directory 780s ok 4 /portal-support/snap/desktop-only 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/network-only/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/network-only/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/network-only/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/network-only/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/network-only/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/network-only/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/network-only/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/network-only/.dirs/runtime 780s # Created snap.yaml in /tmp/test_portal-support-snap_2D3GJ3/meta/snap.yaml 780s # Created snapctl in /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/network-only/.dirs/runtime/snapctl 780s Unable to clean up temporary directory /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/network-only: No such file or directory 780s ok 5 /portal-support/snap/network-only 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/gsettings-only/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/gsettings-only/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/gsettings-only/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/gsettings-only/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/gsettings-only/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/gsettings-only/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/gsettings-only/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/gsettings-only/.dirs/runtime 780s # Created snap.yaml in /tmp/test_portal-support-snap_2D3GJ3/meta/snap.yaml 780s # Created snapctl in /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 780s Unable to clean up temporary directory /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/gsettings-only: No such file or directory 780s ok 6 /portal-support/snap/gsettings-only 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/updates-dynamically/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/updates-dynamically/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/updates-dynamically/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/updates-dynamically/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/updates-dynamically/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/updates-dynamically/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/updates-dynamically/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/updates-dynamically/.dirs/runtime 780s # Created snap.yaml in /tmp/test_portal-support-snap_2D3GJ3/meta/snap.yaml 780s # Created snapctl in /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 780s # Created snapctl in /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 780s # Created snapctl in /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 780s # Created snapctl in /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 780s # Created snapctl in /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 780s # Created snapctl in /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 780s # Created snapctl in /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 780s Unable to clean up temporary directory /tmp/test_portal-support-snap_2D3GJ3/portal-support/snap/updates-dynamically: No such file or directory 780s ok 7 /portal-support/snap/updates-dynamically 780s # End of snap tests 780s # End of portal-support tests 780s Unable to clean up temporary directory /tmp/test_portal-support-snap_2D3GJ3: No such file or directory 780s ok - glib/portal-support-snap.test 780s # Running test: glib/properties-refcount4.test 780s TAP version 14 780s # random seed: R02S418d4ac809e56f3477bd27c4ba233485 780s 1..1 780s # Start of gobject tests 780s # Start of refcount tests 780s ok 1 /gobject/refcount/properties-4 780s # End of refcount tests 780s # End of gobject tests 780s ok - glib/properties-refcount4.test 780s # Running test: glib/rand.test 780s TAP version 14 780s # random seed: R02S9757a73d3141f545dd75019eaaaccafa 780s 1..2 780s # Start of rand tests 780s ok 1 /rand/test-rand 780s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 780s ok 2 /rand/double-range 780s # End of rand tests 780s ok - glib/rand.test 780s # Running test: glib/dump.test 780s TAP version 14 780s # random seed: R02Scae1d06b6820131a6ae25720996ce4df 780s 1..4 780s # Start of dump tests 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_L1IQJ3/dump/empty-file/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_L1IQJ3/dump/empty-file/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_L1IQJ3/dump/empty-file/.dirs/system-config1:/tmp/test_dump_L1IQJ3/dump/empty-file/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_L1IQJ3/dump/empty-file/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_L1IQJ3/dump/empty-file/.dirs/system-data1:/tmp/test_dump_L1IQJ3/dump/empty-file/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_L1IQJ3/dump/empty-file/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_L1IQJ3/dump/empty-file/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_L1IQJ3/dump/empty-file/.dirs/runtime 780s ok 1 /dump/empty-file 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_L1IQJ3/dump/missing-get-type/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_L1IQJ3/dump/missing-get-type/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_L1IQJ3/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_L1IQJ3/dump/missing-get-type/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_L1IQJ3/dump/missing-get-type/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_L1IQJ3/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_L1IQJ3/dump/missing-get-type/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_L1IQJ3/dump/missing-get-type/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_L1IQJ3/dump/missing-get-type/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_L1IQJ3/dump/missing-get-type/.dirs/runtime 780s Invalid GType function: 'does_not_exist_get_type' 780s ok 2 /dump/missing-get-type 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_L1IQJ3/dump/missing-quark/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_L1IQJ3/dump/missing-quark/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_L1IQJ3/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_L1IQJ3/dump/missing-quark/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_L1IQJ3/dump/missing-quark/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_L1IQJ3/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_L1IQJ3/dump/missing-quark/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_L1IQJ3/dump/missing-quark/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_L1IQJ3/dump/missing-quark/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_L1IQJ3/dump/missing-quark/.dirs/runtime 780s Invalid error quark function: 'does_not_exist_error' 780s ok 3 /dump/missing-quark 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_L1IQJ3/dump/basic/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_L1IQJ3/dump/basic/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_L1IQJ3/dump/basic/.dirs/system-config1:/tmp/test_dump_L1IQJ3/dump/basic/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_L1IQJ3/dump/basic/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_L1IQJ3/dump/basic/.dirs/system-data1:/tmp/test_dump_L1IQJ3/dump/basic/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_L1IQJ3/dump/basic/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_L1IQJ3/dump/basic/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_L1IQJ3/dump/basic/.dirs/runtime 780s ok 4 /dump/basic 780s # End of dump tests 780s ok - glib/dump.test 780s # Running test: glib/ifaceproperties.test 780s TAP version 14 780s ok - glib/ifaceproperties.test 780s # Running test: glib/type.test 780s ok - glib/type.test 780s # Running test: glib/portal-support-flatpak-gsettings-only.test 780s # random seed: R02S7073cb7d4699116c43277491f59fcc19 780s 1..7 780s # Start of interface tests 780s # Start of properties tests 780s ok 1 /interface/properties/set 780s ok 2 /interface/properties/notify 780s ok 3 /interface/properties/find-overridden 780s ok 4 /interface/properties/list-overridden 780s ok 5 /interface/properties/find-interface 780s ok 6 /interface/properties/list-interface 780s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 780s ok 7 /interface/properties/not-overridden 780s # End of properties tests 780s # End of interface tests 780s TAP version 14 780s # random seed: R02S6150ebf64d9eeda32523afdc2eb34097 780s 1..6 780s # Start of type tests 780s ok 1 /type/registration-serial 780s ok 2 /type/interface-prerequisite 780s ok 3 /type/interface-check 780s ok 4 /type/next-base 780s ok 5 /type/is-a 780s # Invalid types can’t be queried. 780s # Unclassed types can’t be queried. 780s ok 6 /type/query 780s # End of type tests 780s TAP version 14 780s # random seed: R02Se92df082cef4f0b10320a09954d212c3 780s 1..1 780s # Start of portal-support tests 780s # Start of flatpak tests 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_4GAQJ3/portal-support/flatpak/gsettings/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_4GAQJ3/portal-support/flatpak/gsettings/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_4GAQJ3/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_4GAQJ3/portal-support/flatpak/gsettings/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_4GAQJ3/portal-support/flatpak/gsettings/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_4GAQJ3/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_4GAQJ3/portal-support/flatpak/gsettings/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_4GAQJ3/portal-support/flatpak/gsettings/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_4GAQJ3/portal-support/flatpak/gsettings/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_4GAQJ3/portal-support/flatpak/gsettings/.dirs/runtime 780s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_4GAQJ3/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 780s ok 1 /portal-support/flatpak/gsettings 780s # End of flatpak tests 780s # End of portal-support tests 780s TAP version 14 780s # random seed: R02Sea180ecdbfade72784bb5a8142fb0852 780s 1..3 780s # Start of io-stream tests 780s ok 1 /io-stream/copy-chunks 780s # Start of close tests 780s # Start of async tests 780s ok 2 /io-stream/close/async/memory 780s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 780s ok 3 /io-stream/close/async/file 780s # End of async tests 780s # End of close tests 780s # End of io-stream tests 780s TAP version 14 780s # random seed: R02S7a10d6baa8e2bf90501e50e9c91cec96 780s 1..1 780s # Start of gthash tests 780s ok 1 /gthash/build-retrieve 780s # End of gthash tests 780s TAP version 14 780s # random seed: R02S113bd22c619e6dc6bc33e4ed6819c091 780s 1..2 780s # Start of gio tests 780s # Start of simple-async-result tests 780s ok 1 /gio/simple-async-result/test 780s # GLib-GIO-DEBUG: GTask 0x441f04a5b10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 780s ok 2 /gio/simple-async-result/valid 780s # End of simple-async-result tests 780s # End of gio tests 780s TAP version 14 780s # random seed: R02S44bc6946c0a1fe9726262a59fceb3497 780s 1..2 780s # Start of hook tests 780s ok 1 /hook/basics 780s ok 2 /hook/corner-cases 780s # End of hook tests 780s ok - glib/portal-support-flatpak-gsettings-only.test 780s # Running test: glib/io-stream.test 780s ok - glib/io-stream.test 780s # Running test: glib/gthash.test 780s ok - glib/gthash.test 780s # Running test: glib/simple-async-result.test 780s ok - glib/simple-async-result.test 780s # Running test: glib/hook.test 780s ok - glib/hook.test 780s # Running test: glib/gdbus-connection.test 780s TAP version 14 780s # random seed: R02S27ffbb897273092f2c91c665cbf2b13c 780s 1..9 780s # Start of gdbus tests 780s # Start of connection tests 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/bus-failure/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/bus-failure/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/bus-failure/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/bus-failure/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/bus-failure/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/bus-failure/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/bus-failure/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/bus-failure/.dirs/runtime 780s ok 1 /gdbus/connection/bus-failure 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/basic/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/basic/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/basic/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/basic/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/basic/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/basic/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/basic/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/basic/.dirs/runtime 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s ok 2 /gdbus/connection/basic 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/life-cycle/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/life-cycle/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/life-cycle/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/life-cycle/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/life-cycle/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/life-cycle/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/life-cycle/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/life-cycle/.dirs/runtime 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s ok 3 /gdbus/connection/life-cycle 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/send/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/send/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/send/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/send/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/send/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/send/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/send/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/send/.dirs/runtime 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s ok 4 /gdbus/connection/send 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signals/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signals/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signals/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signals/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signals/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signals/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signals/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signals/.dirs/runtime 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s ok 5 /gdbus/connection/signals 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signal-match-rules/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signal-match-rules/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signal-match-rules/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signal-match-rules/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signal-match-rules/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signal-match-rules/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signal-match-rules/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/signal-match-rules/.dirs/runtime 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s ok 6 /gdbus/connection/signal-match-rules 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/filter/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/filter/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/filter/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/filter/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/filter/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/filter/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/filter/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/filter/.dirs/runtime 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s ok 7 /gdbus/connection/filter 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/serials/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/serials/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/serials/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/serials/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/serials/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/serials/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/serials/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/serials/.dirs/runtime 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s ok 8 /gdbus/connection/serials 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/cancel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/cancel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/cancel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/cancel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/cancel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/cancel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/cancel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_9QHRJ3/gdbus/connection/cancel/.dirs/runtime 780s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s ok 9 /gdbus/connection/cancel 780s # End of connection tests 780s # End of gdbus tests 780s ok - glib/gdbus-connection.test 780s # Running test: glib/properties-introspection.test 780s TAP version 14 780s # random seed: R02S399060a38b88686150627db3a3bd2c66 780s 1..2 780s # Start of properties tests 780s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 780s ok 1 /properties/introspection 780s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 780s ok 2 /properties/collision 780s # End of properties tests 780s ok - glib/properties-introspection.test 780s # Running test: glib/objects-refcount1.test 780s TAP version 14 780s # random seed: R02S4b52508fcf4688a1881c847a5ec9f5cc 780s 1..1 780s # Start of gobject tests 780s # Start of refcount tests 780s # init 0x1cc63a94dd90 780s # 780s # init 0x1cc63a94dea0 780s # 781s # Executing: glib/objects-refcount1.test 785s ok - glib/objects-refcount1.test 785s # dispose 0x1cc63a94dd90! 785s # 785s # dispose 0x1cc63a94dea0! 785s # 785s ok 1 /gobject/refcount/object-basics 785s # slow test /gobject/refcount/object-basics executed in 5.01 secs 785s # End of refcount tests 785s # End of gobject tests 785s # Running test: glib/volumemonitor.test 785s TAP version 14 785s # random seed: R02Scfe40d7367d02c5fb8a3557734ee605f 785s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 785s 1..3 785s # Start of volumemonitor tests 785s ok 1 /volumemonitor/connected_drives 785s ok 2 /volumemonitor/volumes 785s ok 3 /volumemonitor/mounts 785s # End of volumemonitor tests 785s ok - glib/volumemonitor.test 785s # Running test: glib/gdbus-proxy-unique-name.test 785s TAP version 14 785s # random seed: R02Seae010200751473181cec47303862ee0 785s 1..1 785s # Start of gdbus tests 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_1JQMJ3/gdbus/proxy-unique-name/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_1JQMJ3/gdbus/proxy-unique-name/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_1JQMJ3/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_1JQMJ3/gdbus/proxy-unique-name/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_1JQMJ3/gdbus/proxy-unique-name/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_1JQMJ3/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_1JQMJ3/gdbus/proxy-unique-name/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_1JQMJ3/gdbus/proxy-unique-name/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_1JQMJ3/gdbus/proxy-unique-name/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_1JQMJ3/gdbus/proxy-unique-name/.dirs/runtime 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s ok 1 /gdbus/proxy-unique-name 785s # End of gdbus tests 785s ok - glib/gdbus-proxy-unique-name.test 785s # Running test: glib/gdbus-threading.test 785s ok - glib/gdbus-threading.test 785s TAP version 14 785s # random seed: R02Sae2916ff837d60882a6969ab132d5eed 785s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 785s # Running test: glib/notify-init.test 785s TAP version 14 785s # random seed: R02Sc84cac91a0f8ffc7f75d8fbc39f4516f 785s 1..1 785s # Start of properties tests 785s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 785s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 785s ok 1 /properties/notify-in-init 785s # End of properties tests 785s ok - glib/notify-init.test 785s # Running test: glib/utils-c-89.test 785s TAP version 14 785s # random seed: R02S3e1f31edae6cf56ed837f9ffe7bbcc86 785s 1..41 785s # Start of utils tests 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/language-names/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/language-names/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/language-names/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/language-names/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/language-names/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/language-names/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/language-names/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/language-names/.dirs/runtime 785s ok 1 /utils/language-names 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/locale-variants/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/locale-variants/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/locale-variants/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/locale-variants/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/locale-variants/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/locale-variants/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/locale-variants/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/locale-variants/.dirs/runtime 785s # Testing locale ‘en’ 785s # Testing locale ‘sr@latin’ 785s # Testing locale ‘fr_BE’ 785s # Testing locale ‘sr_SR@latin’ 785s # Testing locale ‘sr_SR@latin.UTF-8’ 785s # Testing locale ‘sr@latin_invalid’ 785s # Testing locale ‘sr.UTF-8@latin’ 785s # Testing locale ‘sr.UTF-8_latin’ 785s # Testing locale ‘sr.UTF-8@latin_invalid’ 785s ok 2 /utils/locale-variants 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/version/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/version/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/version/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/version/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/version/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/version/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/version/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/version/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/version/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/version/.dirs/runtime 785s ok 3 /utils/version 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/appname/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/appname/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/appname/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/appname/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/appname/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/appname/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/appname/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/appname/.dirs/runtime 785s ok 4 /utils/appname 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/prgname-thread-safety/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/prgname-thread-safety/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/prgname-thread-safety/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/prgname-thread-safety/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/prgname-thread-safety/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/prgname-thread-safety/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/prgname-thread-safety/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/prgname-thread-safety/.dirs/runtime 785s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 785s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 785s ok 5 /utils/prgname-thread-safety 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/tmpdir/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/tmpdir/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/tmpdir/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/tmpdir/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/tmpdir/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/tmpdir/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/tmpdir/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/tmpdir/.dirs/runtime 785s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 785s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 785s Unable to clean up temporary directory /tmp/test_utils-c-89_55MOJ3/utils/tmpdir: No such file or directory 785s ok 6 /utils/tmpdir 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/basic_bits/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/basic_bits/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/basic_bits/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/basic_bits/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/basic_bits/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/basic_bits/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/basic_bits/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/basic_bits/.dirs/runtime 785s ok 7 /utils/basic_bits 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/bits/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/bits/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/bits/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/bits/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/bits/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/bits/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/bits/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/bits/.dirs/runtime 785s ok 8 /utils/bits 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/swap/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/swap/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/swap/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/swap/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/swap/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/swap/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/swap/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/swap/.dirs/runtime 785s ok 9 /utils/swap 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/find-program/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/find-program/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/find-program/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/find-program/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/find-program/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/find-program/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/find-program/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/find-program/.dirs/runtime 785s ok 10 /utils/find-program 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/find-program-for-path/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/find-program-for-path/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/find-program-for-path/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/find-program-for-path/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/find-program-for-path/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/find-program-for-path/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/find-program-for-path/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/find-program-for-path/.dirs/runtime 785s ok 11 /utils/find-program-for-path 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/debug/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/debug/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/debug/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/debug/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/debug/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/debug/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/debug/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/debug/.dirs/runtime 785s Unable to clean up temporary directory /tmp/test_utils-c-89_55MOJ3/utils/debug: No such file or directory 785s ok 12 /utils/debug 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/codeset/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/codeset/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/codeset/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/codeset/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/codeset/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/codeset/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/codeset/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/codeset/.dirs/runtime 785s ok 13 /utils/codeset 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/codeset2/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/codeset2/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/codeset2/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/codeset2/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/codeset2/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/codeset2/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/codeset2/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/codeset2/.dirs/runtime 785s Unable to clean up temporary directory /tmp/test_utils-c-89_55MOJ3/utils/codeset2: No such file or directory 785s ok 14 /utils/codeset2 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/console-charset/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/console-charset/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/console-charset/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/console-charset/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/console-charset/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/console-charset/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/console-charset/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/console-charset/.dirs/runtime 785s ok 15 /utils/console-charset 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/gettext/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/gettext/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/gettext/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/gettext/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/gettext/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/gettext/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/gettext/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/gettext/.dirs/runtime 785s ok 16 /utils/gettext 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/username/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/username/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/username/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/username/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/username/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/username/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/username/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/username/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/username/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/username/.dirs/runtime 785s ok 17 /utils/username 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/realname/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/realname/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/realname/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/realname/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/realname/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/realname/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/realname/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/realname/.dirs/runtime 785s ok 18 /utils/realname 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/hostname/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/hostname/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/hostname/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/hostname/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/hostname/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/hostname/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/hostname/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/hostname/.dirs/runtime 785s ok 19 /utils/hostname 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/os-info/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/os-info/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/os-info/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/os-info/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/os-info/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/os-info/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/os-info/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/os-info/.dirs/runtime 785s # NAME: Ubuntu 785s ok 20 /utils/os-info 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/.dirs/runtime 785s ok 21 /utils/clear-pointer 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer-cast/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer-cast/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/clear-pointer-cast/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer-cast/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/clear-pointer-cast/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer-cast/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer-cast/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer-cast/.dirs/runtime 785s ok 22 /utils/clear-pointer-cast 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/take-pointer/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/take-pointer/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/take-pointer/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/take-pointer/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/take-pointer/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/take-pointer/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/take-pointer/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/take-pointer/.dirs/runtime 785s ok 23 /utils/take-pointer 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-source/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-source/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/clear-source/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-source/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/clear-source/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-source/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-source/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/clear-source/.dirs/runtime 785s ok 24 /utils/clear-source 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/misc-mem/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/misc-mem/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/misc-mem/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/misc-mem/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/misc-mem/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/misc-mem/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/misc-mem/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/misc-mem/.dirs/runtime 785s ok 25 /utils/misc-mem 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/.dirs/runtime 785s # /utils/aligned-mem summary: Aligned memory allocator 785s # Alignment must not be zero 785s # Alignment must be a power of two 785s # Alignment must be a multiple of sizeof(void*) 785s ok 26 /utils/aligned-mem 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/free-sized/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/free-sized/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/free-sized/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/free-sized/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/free-sized/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/free-sized/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/free-sized/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/free-sized/.dirs/runtime 785s # /utils/free-sized summary: Check that g_free_sized() works 785s ok 27 /utils/free-sized 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/nullify/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/nullify/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/nullify/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/nullify/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/nullify/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/nullify/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/nullify/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/nullify/.dirs/runtime 785s ok 28 /utils/nullify 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/atexit/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/atexit/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/atexit/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/atexit/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/atexit/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/atexit/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/atexit/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/atexit/.dirs/runtime 785s Unable to clean up temporary directory /tmp/test_utils-c-89_55MOJ3/utils/atexit: No such file or directory 785s ok 29 /utils/atexit 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/check-setuid/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/check-setuid/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/check-setuid/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/check-setuid/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/check-setuid/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/check-setuid/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/check-setuid/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/check-setuid/.dirs/runtime 785s ok 30 /utils/check-setuid 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/int-limits/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/int-limits/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/int-limits/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/int-limits/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/int-limits/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/int-limits/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/int-limits/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/int-limits/.dirs/runtime 785s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 785s ok 31 /utils/int-limits 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-list/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-list/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/clear-list/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-list/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/clear-list/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-list/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-list/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/clear-list/.dirs/runtime 785s ok 32 /utils/clear-list 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-slist/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-slist/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/clear-slist/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-slist/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/clear-slist/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-slist/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-slist/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/clear-slist/.dirs/runtime 785s ok 33 /utils/clear-slist 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/steal-handle-id/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/steal-handle-id/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/steal-handle-id/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/steal-handle-id/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/steal-handle-id/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/steal-handle-id/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/steal-handle-id/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/steal-handle-id/.dirs/runtime 785s ok 34 /utils/steal-handle-id 785s # Start of user-special-dirs tests 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/desktop/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/desktop/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/desktop/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/desktop/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/desktop/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/desktop/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/desktop/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/desktop/.dirs/runtime 785s ok 35 /utils/user-special-dirs/desktop 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/load-unlocked/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/load-unlocked/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/load-unlocked/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/load-unlocked/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/load-unlocked/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/load-unlocked/.dirs/runtime 785s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 785s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 785s Unable to clean up temporary directory /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/load-unlocked: No such file or directory 785s ok 36 /utils/user-special-dirs/load-unlocked 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/reload-leaks/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/reload-leaks/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/reload-leaks/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/reload-leaks/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/reload-leaks/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/reload-leaks/.dirs/runtime 785s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 785s Unable to clean up temporary directory /tmp/test_utils-c-89_55MOJ3/utils/user-special-dirs/reload-leaks: No such file or directory 785s ok 37 /utils/user-special-dirs/reload-leaks 785s # End of user-special-dirs tests 785s # Start of clear-pointer tests 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/side-effects/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/side-effects/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/side-effects/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/side-effects/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/side-effects/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/side-effects/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/side-effects/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/clear-pointer/side-effects/.dirs/runtime 785s ok 38 /utils/clear-pointer/side-effects 785s # End of clear-pointer tests 785s # Start of aligned-mem tests 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/alignment/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/alignment/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/alignment/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/alignment/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/alignment/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/alignment/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/alignment/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/alignment/.dirs/runtime 785s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 785s ok 39 /utils/aligned-mem/alignment 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/zeroed/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/zeroed/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/zeroed/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/zeroed/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/zeroed/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/zeroed/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/zeroed/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/zeroed/.dirs/runtime 785s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 785s ok 40 /utils/aligned-mem/zeroed 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/free-sized/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/free-sized/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/free-sized/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/free-sized/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/free-sized/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/free-sized/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/free-sized/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_55MOJ3/utils/aligned-mem/free-sized/.dirs/runtime 785s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 785s ok 41 /utils/aligned-mem/free-sized 785s # Start of subprocess tests 785s # End of subprocess tests 785s # End of aligned-mem tests 785s # End of utils tests 785s ok - glib/utils-c-89.test 785s # Running test: glib/spawn-singlethread.test 785s TAP version 14 785s # random seed: R02S1ee160183d3d1b5dca0487de7fc9c0ce 785s 1..9 785s # Start of gthread tests 785s ok 1 /gthread/spawn-single-sync 785s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 785s ok 2 /gthread/spawn-stderr-socket 785s ok 3 /gthread/spawn-single-async 785s # thread 1 785s # thread 1 785s ok 4 /gthread/spawn-single-async-with-fds 785s ok 5 /gthread/spawn-async-with-invalid-fds 785s ok 6 /gthread/spawn-script 785s ok 7 /gthread/spawn-posix-spawn 785s # Start of spawn tests 785s ok 8 /gthread/spawn/nonexistent 785s # FD map: 785s # • 5 → 15 785s # • 6 → 16 785s # • 7 → 17 785s # • 8 → 18 785s # • 9 → 19 785s # • 10 → 20 785s # • 11 → 21 785s # • 12 → 22 785s # • 13 → 23 785s # • 3 → 13 785s ok - glib/spawn-singlethread.test 785s ok 9 /gthread/spawn/fd-assignment-clash 785s # End of spawn tests 785s # End of gthread tests 785s # Running test: glib/static-link.test 785s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 785s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 785s and make sure you have glib build dependencies installed, including 785s meson. 785s ok # SKIP - glib/static-link.test 785s # Running test: glib/reference.test 785s TAP version 14 785s # random seed: R02S7c20b35f8e1c09b8fc708607a56302eb 785s 1..29 785s # Start of type tests 785s ok 1 /type/fundamentals 785s ok 2 /type/qdata 785s ok 3 /type/query 785s ok 4 /type/class-private 785s # End of type tests 785s # Start of object tests 785s ok 5 /object/clear 785s ok 6 /object/clear-function 785s ok 7 /object/set 785s ok 8 /object/set-function 785s ok 9 /object/value 785s ok 10 /object/initially-unowned 785s ok 11 /object/weak-pointer 785s ok 12 /object/weak-ref 785s ok 13 /object/toggle-ref 785s ok 14 /object/qdata 785s ok 15 /object/qdata2 785s # Start of set tests 785s # /object/set/derived-type summary: Check that g_set_object() doesn’t give strict aliasing warnings when used on types derived from GObject 785s ok 16 /object/set/derived-type 785s # End of set tests 785s # Start of weak-pointer tests 785s ok 17 /object/weak-pointer/clear 785s ok 18 /object/weak-pointer/clear-function 785s ok 19 /object/weak-pointer/set 785s ok 20 /object/weak-pointer/set-function 785s # End of weak-pointer tests 785s # Start of weak-ref tests 785s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 785s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 785s ok 21 /object/weak-ref/on-dispose 785s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 785s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 785s ok 22 /object/weak-ref/on-run-dispose 785s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 785s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 785s ok 23 /object/weak-ref/on-toggle-notify 785s ok 24 /object/weak-ref/in-toggle-notify 785s ok 25 /object/weak-ref/many 785s # Start of concurrent tests 785s ok 26 /object/weak-ref/concurrent/0 785s ok 27 /object/weak-ref/concurrent/1 785s # End of concurrent tests 785s # End of weak-ref tests 785s # Start of toggle-ref tests 785s ok 28 /object/toggle-ref/ref-on-dispose 785s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 785s # End of toggle-ref tests 785s # End of object tests 785s ok - glib/reference.test 785s # Running test: glib/gdatetime.test 785s TAP version 14 785s # random seed: R02S2cbbea583866f58e0cb5d42d336f61af 785s 1..68 785s # Start of GDateTime tests 785s # Bug Reference: http://bugzilla.gnome.org/702674 785s ok 1 /GDateTime/invalid 785s ok 2 /GDateTime/add_days 785s ok 3 /GDateTime/add_full 785s ok 4 /GDateTime/add_hours 785s ok 5 /GDateTime/add_minutes 785s ok 6 /GDateTime/add_months 785s ok 7 /GDateTime/add_seconds 785s ok 8 /GDateTime/add_weeks 785s ok 9 /GDateTime/add_years 785s ok 10 /GDateTime/compare 785s ok 11 /GDateTime/diff 785s ok 12 /GDateTime/equal 785s ok 13 /GDateTime/get_day_of_week 785s ok 14 /GDateTime/get_day_of_month 785s ok 15 /GDateTime/get_day_of_year 785s ok 16 /GDateTime/get_hour 785s ok 17 /GDateTime/get_microsecond 785s ok 18 /GDateTime/get_minute 785s ok 19 /GDateTime/get_month 785s ok 20 /GDateTime/get_second 785s ok 21 /GDateTime/get_utc_offset 785s ok 22 /GDateTime/get_year 785s ok 23 /GDateTime/hash 785s ok 24 /GDateTime/new_from_unix 785s ok 25 /GDateTime/new_from_unix_utc 785s ok 26 /GDateTime/new_from_timeval 785s ok 27 /GDateTime/new_from_timeval_utc 785s ok 28 /GDateTime/new_from_iso8601 785s ok 29 /GDateTime/new_full 785s ok 30 /GDateTime/now 785s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 785s ok 31 /GDateTime/test-6-days-until-end-of-the-month 785s # %a -> expected: Sat 785s # %a -> actual: Sat 785s # %A -> expected: Saturday 785s # %A -> actual: Saturday 785s # %b -> expected: Oct 785s # %b -> actual: Oct 785s # %B -> expected: October 785s # %B -> actual: October 785s # %d -> expected: 24 785s # %d -> actual: 24 785s # %d -> expected: 01 785s # %d -> actual: 01 785s # %e -> expected: 24 785s # %e -> actual: 24 785s # %e -> expected:  1 785s # %e -> actual:  1 785s # %f -> expected: 001000 785s # %f -> actual: 001000 785s # %h -> expected: Oct 785s # %h -> actual: Oct 785s # %H -> expected: 00 785s # %H -> actual: 00 785s # %H -> expected: 15 785s # %H -> actual: 15 785s # %I -> expected: 12 785s # %I -> actual: 12 785s # %I -> expected: 12 785s # %I -> actual: 12 785s # %I -> expected: 03 785s # %I -> actual: 03 785s # %j -> expected: 297 785s # %j -> actual: 297 785s # %k -> expected:  0 785s # %k -> actual:  0 785s # %k -> expected: 13 785s # %k -> actual: 13 785s # %l -> expected: 12 785s # %l -> actual: 12 785s # %I -> expected: 12 785s # %I -> actual: 12 785s # %l -> expected:  1 785s # %l -> actual:  1 785s # %l -> expected: 10 785s # %l -> actual: 10 785s # %m -> expected: 10 785s # %m -> actual: 10 785s # %M -> expected: 00 785s # %M -> actual: 00 785s # %p -> expected: AM 785s # %p -> actual: AM 785s # %p -> expected: PM 785s # %p -> actual: PM 785s # %P -> expected: am 785s # %P -> actual: am 785s # %P -> expected: pm 785s # %P -> actual: pm 785s # %r -> expected: 12:00:00 AM 785s # %r -> actual: 12:00:00 AM 785s # %r -> expected: 01:13:13 PM 785s # %r -> actual: 01:13:13 PM 785s # %R -> expected: 00:00 785s # %R -> actual: 00:00 785s # %R -> expected: 13:13 785s # %R -> actual: 13:13 785s # %S -> expected: 00 785s # %S -> actual: 00 785s # %t -> expected: 785s # %t -> actual: 785s # %u -> expected: 6 785s # %u -> actual: 6 785s # %x -> expected: 10/24/09 785s # %x -> actual: 10/24/09 785s # %X -> expected: 00:00:00 785s # %X -> actual: 00:00:00 785s # %X -> expected: 13:14:15 785s # %X -> actual: 13:14:15 785s # %y -> expected: 09 785s # %y -> actual: 09 785s # %Y -> expected: 2009 785s # %Y -> actual: 2009 785s # %% -> expected: % 785s # %% -> actual: % 785s # % -> expected: 785s # % -> actual: 785s # %9 -> expected: (null) 785s # %9 -> actual: (null) 785s # %Z -> expected: UTC 785s # %Z -> actual: UTC 785s # %#Z %Z -> expected: utc UTC 785s # %#Z %Z -> actual: utc UTC 785s ok 32 /GDateTime/printf 785s # %a -> expected: 土 785s # %a -> actual: 土 785s # %A -> expected: 土曜日 785s # %A -> actual: 土曜日 785s # %b -> expected: 10月 785s # %b -> actual: 10月 785s # %B -> expected: 10月 785s # %B -> actual: 10月 785s # %c -> expected: 2009年10月24日 00時00分00秒 785s # %c -> actual: 2009年10月24日 00時00分00秒 785s # %C -> expected: 20 785s # %C -> actual: 20 785s # %d -> expected: 24 785s # %d -> actual: 24 785s # %d -> expected: 01 785s # %d -> actual: 01 785s # %e -> expected: 24 785s # %e -> actual: 24 785s # %h -> expected: 10月 785s # %h -> actual: 10月 785s # %H -> expected: 00 785s # %H -> actual: 00 785s # %H -> expected: 15 785s # %H -> actual: 15 785s # %I -> expected: 12 785s # %I -> actual: 12 785s # %I -> expected: 12 785s # %I -> actual: 12 785s # %I -> expected: 03 785s # %I -> actual: 03 785s # %j -> expected: 297 785s # %j -> actual: 297 785s # %k -> expected:  0 785s # %k -> actual:  0 785s # %k -> expected: 13 785s # %k -> actual: 13 785s # %l -> expected: 12 785s # %l -> actual: 12 785s # %I -> expected: 12 785s # %I -> actual: 12 785s # %l -> expected:  1 785s # %l -> actual:  1 785s # %l -> expected: 10 785s # %l -> actual: 10 785s # %m -> expected: 10 785s # %m -> actual: 10 785s # %M -> expected: 00 785s # %M -> actual: 00 785s # %p -> expected: 午前 785s # %p -> actual: 午前 785s # %p -> expected: 午後 785s # %p -> actual: 午後 785s # %P -> expected: 午前 785s # %P -> actual: 午前 785s # %P -> expected: 午後 785s # %P -> actual: 午後 785s # %r -> expected: 午前12時00分00秒 785s # %r -> actual: 午前12時00分00秒 785s # %r -> expected: 午後01時13分13秒 785s # %r -> actual: 午後01時13分13秒 785s # %R -> expected: 00:00 785s # %R -> actual: 00:00 785s # %R -> expected: 13:13 785s # %R -> actual: 13:13 785s # %S -> expected: 00 785s # %S -> actual: 00 785s # %t -> expected: 785s # %t -> actual: 785s # %u -> expected: 6 785s # %u -> actual: 6 785s # %x -> expected: 2009年10月24日 785s # %x -> actual: 2009年10月24日 785s # %X -> expected: 00時00分00秒 785s # %X -> actual: 00時00分00秒 785s # %X -> expected: 13時14分15秒 785s # %X -> actual: 13時14分15秒 785s # %y -> expected: 09 785s # %y -> actual: 09 785s # %Y -> expected: 2009 785s # %Y -> actual: 2009 785s # %% -> expected: % 785s # %% -> actual: % 785s # % -> expected: 785s # % -> actual: 785s # %9 -> expected: (null) 785s # %9 -> actual: (null) 785s # %Ec -> expected: 平成21年10月24日 00時00分00秒 785s # %Ec -> actual: 平成21年10月24日 00時00分00秒 785s # %EC -> expected: 平成 785s # %EC -> actual: 平成 785s # %Ex -> expected: 平成21年10月24日 785s # %Ex -> actual: 平成21年10月24日 785s # %EX -> expected: 00時00分00秒 785s # %EX -> actual: 00時00分00秒 785s # %Ey -> expected: 21 785s # %Ey -> actual: 21 785s # %EY -> expected: 平成21年 785s # %EY -> actual: 平成21年 785s ok 33 /GDateTime/non_utf8_printf 785s # ąśćł -> expected: ąśćł 785s # ąśćł -> actual: ąśćł 785s # %H∶%M -> expected: 23∶15 785s # %H∶%M -> actual: 23∶15 785s # %H∶%M -> expected: 23∶15 785s # %H∶%M -> actual: 23∶15 785s ok 34 /GDateTime/format_unrepresentable 785s ok 35 /GDateTime/format_iso8601 786s ok 36 /GDateTime/strftime 786s # %d -> expected: 01 786s # %d -> actual: 01 786s # %_d -> expected: 1 786s # %_d -> actual: 1 786s # %-d -> expected: 1 786s # %-d -> actual: 1 786s # %0d -> expected: 01 786s # %0d -> actual: 01 786s # %d -> expected: 21 786s # %d -> actual: 21 786s # %_d -> expected: 21 786s # %_d -> actual: 21 786s # %-d -> expected: 21 786s # %-d -> actual: 21 786s # %0d -> expected: 21 786s # %0d -> actual: 21 786s # %e -> expected:  1 786s # %e -> actual:  1 786s # %_e -> expected: 1 786s # %_e -> actual: 1 786s # %-e -> expected: 1 786s # %-e -> actual: 1 786s # %0e -> expected: 01 786s # %0e -> actual: 01 786s # %e -> expected: 21 786s # %e -> actual: 21 786s # %_e -> expected: 21 786s # %_e -> actual: 21 786s # %-e -> expected: 21 786s # %-e -> actual: 21 786s # %0e -> expected: 21 786s # %0e -> actual: 21 786s # %a -> expected: Thu 786s # %a -> actual: Thu 786s # %^a -> expected: THU 786s # %^a -> actual: THU 786s # %#a -> expected: THU 786s # %#a -> actual: THU 786s # %A -> expected: Thursday 786s # %A -> actual: Thursday 786s # %^A -> expected: THURSDAY 786s # %^A -> actual: THURSDAY 786s # %#A -> expected: THURSDAY 786s # %#A -> actual: THURSDAY 786s # %b -> expected: Jan 786s # %b -> actual: Jan 786s # %^b -> expected: JAN 786s # %^b -> actual: JAN 786s # %#b -> expected: JAN 786s # %#b -> actual: JAN 786s # %B -> expected: January 786s # %B -> actual: January 786s # %^B -> expected: JANUARY 786s # %^B -> actual: JANUARY 786s # %#B -> expected: JANUARY 786s # %#B -> actual: JANUARY 786s # %h -> expected: Jan 786s # %h -> actual: Jan 786s # %^h -> expected: JAN 786s # %^h -> actual: JAN 786s # %#h -> expected: JAN 786s # %#h -> actual: JAN 786s # %Z -> expected: UTC 786s # %Z -> actual: UTC 786s # %^Z -> expected: UTC 786s # %^Z -> actual: UTC 786s # %#Z -> expected: utc 786s # %#Z -> actual: utc 786s # %H -> expected: 01 786s # %H -> actual: 01 786s # %_H -> expected: 1 786s # %_H -> actual: 1 786s # %-H -> expected: 1 786s # %-H -> actual: 1 786s # %0H -> expected: 01 786s # %0H -> actual: 01 786s # %H -> expected: 21 786s # %H -> actual: 21 786s # %_H -> expected: 21 786s # %_H -> actual: 21 786s # %-H -> expected: 21 786s # %-H -> actual: 21 786s # %0H -> expected: 21 786s # %0H -> actual: 21 786s # %I -> expected: 01 786s # %I -> actual: 01 786s # %_I -> expected: 1 786s # %_I -> actual: 1 786s # %-I -> expected: 1 786s # %-I -> actual: 1 786s # %0I -> expected: 01 786s # %0I -> actual: 01 786s # %I -> expected: 11 786s # %I -> actual: 11 786s # %_I -> expected: 11 786s # %_I -> actual: 11 786s # %-I -> expected: 11 786s # %-I -> actual: 11 786s # %0I -> expected: 11 786s # %0I -> actual: 11 786s # %k -> expected:  1 786s # %k -> actual:  1 786s # %_k -> expected: 1 786s # %_k -> actual: 1 786s # %-k -> expected: 1 786s # %-k -> actual: 1 786s # %0k -> expected: 01 786s # %0k -> actual: 01 786s # %l -> expected:  1 786s # %l -> actual:  1 786s # %_l -> expected: 1 786s # %_l -> actual: 1 786s # %-l -> expected: 1 786s # %-l -> actual: 1 786s # %0l -> expected: 01 786s # %0l -> actual: 01 786s # %l -> expected: 11 786s # %l -> actual: 11 786s # %_l -> expected: 11 786s # %_l -> actual: 11 786s # %-l -> expected: 11 786s # %-l -> actual: 11 786s # %0l -> expected: 11 786s # %0l -> actual: 11 786s # %p -> expected: AM 786s # %p -> actual: AM 786s # %^p -> expected: AM 786s # %^p -> actual: AM 786s # %#p -> expected: am 786s # %#p -> actual: am 786s # %P -> expected: am 786s # %P -> actual: am 786s # %^P -> expected: AM 786s # %^P -> actual: AM 786s # %#P -> expected: am 786s # %#P -> actual: am 786s # %OH -> expected: ۲۳ 786s # %OH -> actual: ۲۳ 786s # %OI -> expected: ۱۱ 786s # %OI -> actual: ۱۱ 786s # %OM -> expected: ۰۰ 786s # %OM -> actual: ۰۰ 786s # %Om -> expected: ۰۷ 786s # %Om -> actual: ۰۷ 786s # %0Om -> expected: ۰۷ 786s # %0Om -> actual: ۰۷ 786s # %-Om -> expected: ۷ 786s # %-Om -> actual: ۷ 786s # %_Om -> expected: ۷ 786s # %_Om -> actual: ۷ 786s # %c -> expected: thu 01 jan 2009 00:00:00 utc 786s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 786s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 786s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 786s # %C -> expected: 20 786s # %C -> actual: 20 786s # %EC -> expected: 20 786s # %EC -> actual: 20 786s # %x -> expected: 02/01/09 786s # %x -> actual: 02/01/09 786s # %Ex -> expected: 02/01/09 786s # %Ex -> actual: 02/01/09 786s # %X -> expected: 01:02:03 786s # %X -> actual: 01:02:03 786s # %EX -> expected: 01:02:03 786s # %EX -> actual: 01:02:03 786s # %y -> expected: 09 786s # %y -> actual: 09 786s # %Ey -> expected: 09 786s # %Ey -> actual: 09 786s # %Y -> expected: 2009 786s # %Y -> actual: 2009 786s # %EY -> expected: 2009 786s # %EY -> actual: 2009 786s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 786s # Bug Reference: http://bugzilla.gnome.org/749206 786s # %B -> expected: January 786s # %B -> actual: January 786s # %OB -> expected: February 786s # %OB -> actual: February 786s # %b -> expected: Mar 786s # %b -> actual: Mar 786s # %Ob -> expected: Apr 786s # %Ob -> actual: Apr 786s # %h -> expected: May 786s # %h -> actual: May 786s # %Oh -> expected: Jun 786s # %Oh -> actual: Jun 786s # %B -> expected: Juli 786s # %B -> actual: Juli 786s # %OB -> expected: August 786s # %OB -> actual: August 786s # %b -> expected: Sep 786s # %b -> actual: Sep 786s # %Ob -> expected: Okt 786s # %Ob -> actual: Okt 786s # %h -> expected: Nov 786s # %h -> actual: Nov 786s # %Oh -> expected: Dez 786s # %Oh -> actual: Dez 786s # %B -> expected: enero 786s # %B -> actual: enero 786s # %OB -> expected: febrero 786s # %OB -> actual: febrero 786s # %b -> expected: mar 786s # %b -> actual: mar 786s # %Ob -> expected: abr 786s # %Ob -> actual: abr 786s # %h -> expected: may 786s # %h -> actual: may 786s # %Oh -> expected: jun 786s # %Oh -> actual: jun 786s # %B -> expected: juillet 786s # %B -> actual: juillet 786s # %OB -> expected: août 786s # %OB -> actual: août 786s # %b -> expected: sept. 786s # %b -> actual: sept. 786s # %Ob -> expected: oct. 786s # %Ob -> actual: oct. 786s # %h -> expected: nov. 786s # %h -> actual: nov. 786s # %Oh -> expected: déc. 786s # %Oh -> actual: déc. 786s # %B -> expected: Ιανουαρίου 786s # %B -> actual: Ιανουαρίου 786s # %B -> expected: Φεβρουαρίου 786s # %B -> actual: Φεβρουαρίου 786s # %B -> expected: Μαρτίου 786s # %B -> actual: Μαρτίου 786s # %OB -> expected: Απρίλιος 786s # %OB -> actual: Απρίλιος 786s # %OB -> expected: Μάιος 786s # %OB -> actual: Μάιος 786s # %OB -> expected: Ιούνιος 786s # %OB -> actual: Ιούνιος 786s # %b -> expected: Ιουλ 786s # %b -> actual: Ιουλ 786s # %Ob -> expected: Αύγ 786s # %Ob -> actual: Αύγ 786s # %B -> expected: svibnja 786s # %B -> actual: svibnja 786s # %B -> expected: lipnja 786s # %B -> actual: lipnja 786s # %B -> expected: srpnja 786s # %B -> actual: srpnja 786s # %OB -> expected: Kolovoz 786s # %OB -> actual: kolovoz 786s # %OB -> expected: Rujan 786s # %OB -> actual: rujan 786s # %OB -> expected: Listopad 786s # %OB -> actual: listopad 786s # %b -> expected: Stu 786s # %b -> actual: stu 786s # %Ob -> expected: Pro 786s # %Ob -> actual: pro 786s # %B -> expected: sausio 786s # %B -> actual: sausio 786s # %B -> expected: vasario 786s # %B -> actual: vasario 786s # %B -> expected: kovo 786s # %B -> actual: kovo 786s # %OB -> expected: balandis 786s # %OB -> actual: balandis 786s # %OB -> expected: gegužė 786s # %OB -> actual: gegužė 786s # %OB -> expected: birželis 786s # %OB -> actual: birželis 786s # %b -> expected: liep. 786s # %b -> actual: liep. 786s # %Ob -> expected: rugp. 786s # %Ob -> actual: rugp. 786s # %B -> expected: maja 786s # %B -> actual: maja 786s # %B -> expected: czerwca 786s # %B -> actual: czerwca 786s # %B -> expected: lipca 786s # %B -> actual: lipca 786s # %OB -> expected: sierpień 786s # %OB -> actual: sierpień 786s # %OB -> expected: wrzesień 786s # %OB -> actual: wrzesień 786s # %OB -> expected: październik 786s # %OB -> actual: październik 786s # %b -> expected: lis 786s # %b -> actual: lis 786s # %Ob -> expected: gru 786s # %Ob -> actual: gru 786s # %B -> expected: января 786s # %B -> actual: января 786s # %B -> expected: февраля 786s # %B -> actual: февраля 786s # %B -> expected: марта 786s # %B -> actual: марта 786s # %OB -> expected: Апрель 786s # %OB -> actual: Апрель 786s # %OB -> expected: Май 786s # %OB -> actual: Май 786s # %OB -> expected: Июнь 786s # %OB -> actual: Июнь 786s # %b -> expected: июл 786s # %b -> actual: июл 786s # %Ob -> expected: авг 786s # %Ob -> actual: авг 786s # %b -> expected: мая 786s # %b -> actual: мая 786s # %Ob -> expected: май 786s # %Ob -> actual: май 786s ok 38 /GDateTime/month_names 786s ok 39 /GDateTime/to_local 786s ok 40 /GDateTime/to_unix 786s ok 41 /GDateTime/to_timeval 786s ok 42 /GDateTime/to_utc 786s ok 43 /GDateTime/now_utc 786s ok 44 /GDateTime/dst 786s # Bug Reference: http://bugzilla.gnome.org/642935 786s ok 45 /GDateTime/test_z 786s # Executing: glib/gdatetime.test 787s ok 46 /GDateTime/test-all-dates 787s # slow test /GDateTime/test-all-dates executed in 1.30 secs 787s ok 47 /GDateTime/unix_usec 787s # Start of new_from_unix tests 787s # Bug Reference: http://bugzilla.gnome.org/782089 787s ok 48 /GDateTime/new_from_unix/overflow 787s # End of new_from_unix tests 787s # Start of new_from_timeval tests 787s # Bug Reference: http://bugzilla.gnome.org/782089 787s # Maximum supported GTimeVal.tv_sec = 253402300799 787s ok 49 /GDateTime/new_from_timeval/overflow 787s # End of new_from_timeval tests 787s # Start of new_from_iso8601 tests 787s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 787s # Vector 0: 1990-11-01T10:21:17Z 787s # Vector 1: 19901101T102117Z 787s # Vector 2: 1970-01-01T00:00:17.12Z 787s # Vector 3: 1970-01-01T00:00:17.1234Z 787s # Vector 4: 1970-01-01T00:00:17.123456Z 787s # Vector 5: 1980-02-22T12:36:00+02:00 787s # Vector 6: 1990-12-31T15:59:60-08:00 787s # Vector 7: 787s # Vector 8: x 787s # Vector 9: 123x 787s # Vector 10: 2001-10+x 787s # Vector 11: 1980-02-22T 787s # Vector 12: 2001-10-08Tx 787s # Vector 13: 2001-10-08T10:11x 787s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 787s # Vector 15: 1980-02-22T10:36:00Zulu 787s # Vector 16: 2T0+819855292164632335 787s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 787s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 787s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 787s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 787s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 787s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 787s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 787s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 787s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 787s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 787s # Vector 27: 20180803T140805.446178377+0100 787s # Vector 28: 21474836480803T140805.446178377+0100 787s # Vector 29: 20181303T140805.446178377+0100 787s # Vector 30: 20180003T140805.446178377+0100 787s # Vector 31: 20180800T140805.446178377+0100 787s # Vector 32: 20180832T140805.446178377+0100 787s # Vector 33: 20180803T240805.446178377+0100 787s # Vector 34: 20180803T146005.446178377+0100 787s # Vector 35: 20180803T140863.446178377+0100 787s # Vector 36: 20180803T140805.446178377+10000 787s # Vector 37: -0005-01-01T00:00:00Z 787s # Vector 38: 2018-08-06 787s # Vector 39: 20180803T140805,446178377+0100 787s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 787s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 787s # Vector 42: 1990-11-01T10:21:17 787s # Vector 43: 1719W462 407777-07 787s # Vector 44: 4011090 260528Z 787s # Vector 45: 0000W011 228214-22 787s ok 50 /GDateTime/new_from_iso8601/2 787s # End of new_from_iso8601 tests 787s # Start of format_mixed tests 787s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 787s # %b -> expected: mar 787s # %b -> actual: Mar 787s # %B -> expected: march 787s # %B -> actual: March 787s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 787s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 787s # %b -> expected: mar 787s # %b -> actual: Mar 787s # %B -> expected: march 787s # %B -> actual: March 787s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 787s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 787s # %b -> expected: Mär 787s # %b -> actual: Mär 787s # %B -> expected: März 787s # %B -> actual: März 787s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 787s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 787s # %b -> expected: Mär 787s # %b -> actual: Mär 787s # %B -> expected: März 787s # %B -> actual: März 787s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 787s # End of format_mixed tests 787s # Start of strftime tests 787s # %r -> expected: (null) 787s # %r -> actual: (null) 787s ok 55 /GDateTime/strftime/error_handling 787s # End of strftime tests 787s # Start of eras tests 787s # %Ec -> expected: 令和05年06月01日 00時00分00秒 787s # %Ec -> actual: 令和05年06月01日 00時00分00秒 787s # %EC -> expected: 令和 787s # %EC -> actual: 令和 787s # %Ex -> expected: 令和05年06月01日 787s # %Ex -> actual: 令和05年06月01日 787s # %EX -> expected: 00時00分00秒 787s # %EX -> actual: 00時00分00秒 787s # %Ey -> expected: 05 787s # %Ey -> actual: 05 787s # %EY -> expected: 令和05年 787s # %EY -> actual: 令和05年 787s # %Ec -> expected: 平成31年04月30日 00時00分00秒 787s # %Ec -> actual: 平成31年04月30日 00時00分00秒 787s # %EC -> expected: 平成 787s # %EC -> actual: 平成 787s # %Ex -> expected: 平成31年04月30日 787s # %Ex -> actual: 平成31年04月30日 787s # %EX -> expected: 00時00分00秒 787s # %EX -> actual: 00時00分00秒 787s # %Ey -> expected: 31 787s # %Ey -> actual: 31 787s # %EY -> expected: 平成31年 787s # %EY -> actual: 平成31年 787s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 787s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 787s # %EC -> expected: 昭和 787s # %EC -> actual: 昭和 787s # %Ex -> expected: 昭和元年12月25日 787s # %Ex -> actual: 昭和元年12月25日 787s # %EX -> expected: 00時00分00秒 787s # %EX -> actual: 00時00分00秒 787s # %Ey -> expected: 01 787s # %Ey -> actual: 01 787s # %EY -> expected: 昭和元年 787s # %EY -> actual: 昭和元年 787s ok 56 /GDateTime/eras/japan 787s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 787s # Vector 0: 787s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 787s # Vector 2: +:2:2020/01/01:+*:令和:%EC%Ey年;+:1:2019/05/01:2019/12/31:令和:%EC元年;+:2:1990/01/01:2019/04/30:平成:%EC%Ey年;+:1:1989/01/08:1989/12/31:平成:%EC元年;+:2:1927/01/01:1989/01/07:昭和:%EC%Ey年;+:1:1926/12/25:1926/12/31:昭和:%EC元年;+:2:1913/01/01:1926/12/24:大正:%EC%Ey年;+:1:1912/07/30:1912/12/31:大正:%EC元年;+:6:1873/01/01:1912/07/29:明治:%EC%Ey年;+:1:0001/01/01:1872/12/31:西暦:%EC%Ey年;+:1:-0001/12/31:-*:紀元前:%EC%Ey年 787s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 787s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 787s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 787s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 787s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 787s # Vector 8: + 787s # Vector 9: +: 787s # Vector 10: +:: 787s # Vector 11: +:200 787s # Vector 12: +:2nonsense 787s # Vector 13: +:2nonsense: 787s # Vector 14: +:2: 787s # Vector 15: +:2:: 787s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 787s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 787s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 787s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 787s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 787s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 787s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 787s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 787s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 787s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 787s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 787s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 787s # Vector 28: +:2:2020/01/01 787s # Vector 29: +:2:2020/01/01: 787s # Vector 30: +:2:2020/01/01:: 787s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 787s # Vector 32: +:2:2020/01/01:+* 787s # Vector 33: +:2:2020/01/01:+*: 787s # Vector 34: +:2:2020/01/01:+*:: 787s # Vector 35: +:2:2020/01/01:+*:令和 787s # Vector 36: +:2:2020/01/01:+*:令和: 787s # Vector 37: +:2:2020/01/01:+*:令和:; 787s ok 58 /GDateTime/eras/parsing 787s # End of eras tests 787s # End of GDateTime tests 787s # Start of GTimeZone tests 787s ok 59 /GTimeZone/find-interval 787s ok 60 /GTimeZone/adjust-time 787s ok 61 /GTimeZone/no-header 787s ok 62 /GTimeZone/no-header-identifier 787s ok 63 /GTimeZone/posix-parse 787s # Bug Reference: http://bugzilla.gnome.org/697715 787s ok 64 /GTimeZone/floating-point 787s # System time zone identifier: Etc/UTC 787s ok 65 /GTimeZone/identifier 787s # Vector 0: -158400 787s # Vector 1: -10000 787s # Vector 2: -3600 787s # Vector 3: -61 787s # Vector 4: -60 787s # Vector 5: -59 787s # Vector 6: 0 787s # Vector 7: 59 787s # Vector 8: 60 787s # Vector 9: 61 787s # Vector 10: 3600 787s # Vector 11: 10000 787s # Vector 12: 158400 787s ok 66 /GTimeZone/new-offset 787s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 787s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 787s ok 67 /GTimeZone/parse-rfc8536 787s # /GTimeZone/caching summary: GTimeZone instances are cached 787s ok 68 /GTimeZone/caching 787s # End of GTimeZone tests 787s TAP version 14 787s # random seed: R02S7952f2fe9f74a9f4215a69258066d8e7 787s 1..120 787s # Start of array tests 787s ok 1 /array/ref-count 787s ok 2 /array/steal 787s ok 3 /array/clear-func 787s ok 4 /array/binary-search 787s ok 5 /array/overflow-append-vals 787s ok 6 /array/overflow-set-size 787s # Start of new tests 787s ok 7 /array/new/zero-terminated 787s ok 8 /array/new/take 787s ok 9 /array/new/take-zero-terminated 787s # Start of take tests 787s ok 10 /array/new/take/empty 787s ok 11 /array/new/take/overflow 787s ok 12 /array/new/take/zero-size 787s # End of take tests 787s # Start of take-zero-terminated tests 787s ok 13 /array/new/take-zero-terminated/zero-size 787s ok 14 /array/new/take-zero-terminated/null 787s # End of take-zero-terminated tests 787s # End of new tests 787s # Start of copy tests 787s # /array/copy/sized summary: Test that copying a newly-allocated sized array works. 787s ok 15 /array/copy/sized 787s ok 16 /array/copy/zero-terminated 787s ok 17 /array/copy/non-zero-terminated-no-clear 787s ok 18 /array/copy/non-zero-terminated-clear 787s ok 19 /array/copy/zero-terminated-no-clear 787s ok 20 /array/copy/zero-terminated-clear 787s # End of copy tests 787s # Start of remove-range tests 787s ok 21 /array/remove-range/zero-terminated-null 787s ok 22 /array/remove-range/non-zero-terminated-no-clear 787s ok 23 /array/remove-range/non-zero-terminated-clear 787s ok 24 /array/remove-range/zero-terminated-no-clear 787s ok 25 /array/remove-range/zero-terminated-clear 787s # End of remove-range tests 787s # Start of set-size tests 787s ok 26 /array/set-size/zero-terminated-null 787s ok 27 /array/set-size/non-zero-terminated-no-clear 787s ok 28 /array/set-size/non-zero-terminated-clear 787s ok 29 /array/set-size/zero-terminated-no-clear 787s ok 30 /array/set-size/zero-terminated-clear 787s # Start of sized tests 787s ok 31 /array/set-size/sized/non-zero-terminated-no-clear 787s ok 32 /array/set-size/sized/non-zero-terminated-clear 787s ok 33 /array/set-size/sized/zero-terminated-no-clear 787s ok 34 /array/set-size/sized/zero-terminated-clear 787s # End of sized tests 787s # End of set-size tests 787s # Start of append-val tests 787s ok 35 /array/append-val/non-zero-terminated-no-clear 787s ok 36 /array/append-val/non-zero-terminated-clear 787s ok 37 /array/append-val/zero-terminated-no-clear 787s ok 38 /array/append-val/zero-terminated-clear 787s # End of append-val tests 787s # Start of prepend-val tests 787s ok 39 /array/prepend-val/non-zero-terminated-no-clear 787s ok 40 /array/prepend-val/non-zero-terminated-clear 787s ok 41 /array/prepend-val/zero-terminated-no-clear 787s ok 42 /array/prepend-val/zero-terminated-clear 787s # End of prepend-val tests 787s # Start of prepend-vals tests 787s ok 43 /array/prepend-vals/non-zero-terminated-no-clear 787s ok 44 /array/prepend-vals/non-zero-terminated-clear 787s ok 45 /array/prepend-vals/zero-terminated-no-clear 787s ok 46 /array/prepend-vals/zero-terminated-clear 787s # End of prepend-vals tests 787s # Start of insert-vals tests 787s ok 47 /array/insert-vals/non-zero-terminated-no-clear 787s ok 48 /array/insert-vals/non-zero-terminated-clear 787s ok 49 /array/insert-vals/zero-terminated-no-clear 787s ok 50 /array/insert-vals/zero-terminated-clear 787s # End of insert-vals tests 787s # Start of remove-index tests 787s ok 51 /array/remove-index/non-zero-terminated-no-clear 787s ok 52 /array/remove-index/non-zero-terminated-clear 787s ok 53 /array/remove-index/zero-terminated-no-clear 787s ok 54 /array/remove-index/zero-terminated-clear 787s # End of remove-index tests 787s # Start of remove-index-fast tests 787s ok 55 /array/remove-index-fast/non-zero-terminated-no-clear 787s ok 56 /array/remove-index-fast/non-zero-terminated-clear 787s ok 57 /array/remove-index-fast/zero-terminated-no-clear 787s ok 58 /array/remove-index-fast/zero-terminated-clear 787s # End of remove-index-fast tests 787s # Start of sort tests 787s ok 59 /array/sort/non-zero-terminated-no-clear 787s ok 60 /array/sort/non-zero-terminated-clear 787s ok 61 /array/sort/zero-terminated-no-clear 787s ok 62 /array/sort/zero-terminated-clear 787s # End of sort tests 787s # Start of sort-with-data tests 787s ok 63 /array/sort-with-data/non-zero-terminated-no-clear 787s ok 64 /array/sort-with-data/non-zero-terminated-clear 787s ok 65 /array/sort-with-data/zero-terminated-no-clear 787s ok 66 /array/sort-with-data/zero-terminated-clear 787s # End of sort-with-data tests 787s # End of array tests 787s # Start of pointerarray tests 787s ok 67 /pointerarray/add 787s ok - glib/gdatetime.test 787s # Running test: glib/array-test.test 787s ok 68 /pointerarray/insert 787s ok 69 /pointerarray/new-take 787s ok 70 /pointerarray/new-take-null-terminated 787s ok 71 /pointerarray/new-from-array 787s ok 72 /pointerarray/new-from-null-terminated-array 787s ok 73 /pointerarray/free-func 787s ok 74 /pointerarray/array_extend_and_steal 787s ok 75 /pointerarray/sort 787s ok 76 /pointerarray/sort-with-data 787s ok 77 /pointerarray/sort-values 787s ok 78 /pointerarray/sort-values-with-data 787s ok 79 /pointerarray/remove-range 787s ok 80 /pointerarray/steal 787s # Start of free tests 787s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 787s ok 81 /pointerarray/free/null-terminated 787s # End of free tests 787s # Start of new-take tests 787s ok 82 /pointerarray/new-take/empty 787s ok 83 /pointerarray/new-take/overflow 787s ok 84 /pointerarray/new-take/with-free-func 787s # End of new-take tests 787s # Start of new-take-null-terminated tests 787s ok 85 /pointerarray/new-take-null-terminated/empty 787s ok 86 /pointerarray/new-take-null-terminated/with-free-func 787s ok 87 /pointerarray/new-take-null-terminated/from-gstrv 787s # End of new-take-null-terminated tests 787s # Start of new-from-array tests 787s ok 88 /pointerarray/new-from-array/empty 787s ok 89 /pointerarray/new-from-array/overflow 787s ok 90 /pointerarray/new-from-array/with-copy-and-free-func 787s # End of new-from-array tests 787s # Start of new-from-null-terminated-array tests 787s ok 91 /pointerarray/new-from-null-terminated-array/empty 787s ok 92 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 787s ok 93 /pointerarray/new-from-null-terminated-array/from-gstrv 787s # End of new-from-null-terminated-array tests 787s # Start of ref-count tests 787s ok 94 /pointerarray/ref-count/not-null-terminated 787s ok 95 /pointerarray/ref-count/null-terminated 787s # End of ref-count tests 787s # Start of array_copy tests 787s # /pointerarray/array_copy/not-null-terminated summary: Check all normal behaviour of stealing elements from one array to append to another, covering different array sizes and element copy functions 787s ok 96 /pointerarray/array_copy/not-null-terminated 787s # /pointerarray/array_copy/null-terminated summary: Check all normal behaviour of stealing elements from one array to append to another, covering different array sizes and element copy functions 787s ok 97 /pointerarray/array_copy/null-terminated 787s # End of array_copy tests 787s # Start of array_extend tests 787s ok 98 /pointerarray/array_extend/not-null-terminated 787s ok 99 /pointerarray/array_extend/null-terminated 787s # End of array_extend tests 787s # Start of sort tests 787s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 787s ok 100 /pointerarray/sort/example 787s # End of sort tests 787s # Start of sort-with-data tests 787s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 787s ok 101 /pointerarray/sort-with-data/example 787s # End of sort-with-data tests 787s # Start of sort-values tests 787s ok 102 /pointerarray/sort-values/example 787s # End of sort-values tests 787s # Start of sort-values-with-data tests 787s ok 103 /pointerarray/sort-values-with-data/example 787s # End of sort-values-with-data tests 787s # Start of find tests 787s ok 104 /pointerarray/find/empty 787s ok 105 /pointerarray/find/non-empty 787s # End of find tests 787s # Start of steal_index tests 787s ok 106 /pointerarray/steal_index/not-null-terminated 787s ok 107 /pointerarray/steal_index/null-terminated 787s # End of steal_index tests 787s # End of pointerarray tests 787s # Start of bytearray tests 787s ok 108 /bytearray/steal 787s ok 109 /bytearray/append 787s ok - glib/array-test.test 787s ok 110 /bytearray/prepend 787s ok 111 /bytearray/remove 787s ok 112 /bytearray/remove-fast 787s ok 113 /bytearray/remove-range 787s ok 114 /bytearray/ref-count 787s ok 115 /bytearray/set-size 787s ok 116 /bytearray/sort 787s ok 117 /bytearray/sort-with-data 787s ok 118 /bytearray/new-take 787s ok 119 /bytearray/new-take-overflow 787s ok 120 /bytearray/free-to-bytes 787s # End of bytearray tests 787s # Running test: glib/rec-mutex.test 787s TAP version 14 787s # random seed: R02S55281bd4f0cd4c4053c76722c55458a0 787s 1..29 787s # Start of thread tests 787s ok 1 /thread/rec-mutex1 787s ok 2 /thread/rec-mutex2 787s ok 3 /thread/rec-mutex3 787s ok 4 /thread/rec-mutex4 787s # Start of rec-mutex tests 787s # Start of perf tests 787s # Start of uncontended tests 787s # max perf: 1.000000 mips 787s ok 5 /thread/rec-mutex/perf/uncontended/depth1 787s # max perf: inf mips 787s ok 6 /thread/rec-mutex/perf/uncontended/depth2 787s # max perf: 1.000000 mips 787s ok 7 /thread/rec-mutex/perf/uncontended/depth3 787s # max perf: 1.000000 mips 787s ok 8 /thread/rec-mutex/perf/uncontended/depth4 787s # max perf: 1.000000 mips 787s ok 9 /thread/rec-mutex/perf/uncontended/depth5 787s # End of uncontended tests 787s # Start of contended1 tests 787s # max perf: inf mips 787s ok 10 /thread/rec-mutex/perf/contended1/depth1 787s # max perf: inf mips 787s ok 11 /thread/rec-mutex/perf/contended1/depth2 787s # max perf: 2.000000 mips 787s ok 12 /thread/rec-mutex/perf/contended1/depth3 787s # max perf: 2.000000 mips 787s ok 13 /thread/rec-mutex/perf/contended1/depth4 787s # max perf: 2.000000 mips 787s ok 14 /thread/rec-mutex/perf/contended1/depth5 787s # End of contended1 tests 787s # Start of contended2 tests 787s # max perf: inf mips 787s ok 15 /thread/rec-mutex/perf/contended2/depth1 787s # max perf: 3.000000 mips 787s ok 16 /thread/rec-mutex/perf/contended2/depth2 787s # max perf: 3.000000 mips 787s ok 17 /thread/rec-mutex/perf/contended2/depth3 787s # max perf: 3.000000 mips 787s ok 18 /thread/rec-mutex/perf/contended2/depth4 787s # max perf: 3.000000 mips 787s ok 19 /thread/rec-mutex/perf/contended2/depth5 787s # End of contended2 tests 787s # Start of contended3 tests 787s # max perf: 4.000000 mips 787s ok 20 /thread/rec-mutex/perf/contended3/depth1 787s # max perf: 4.000000 mips 787s ok 21 /thread/rec-mutex/perf/contended3/depth2 787s # max perf: 4.000000 mips 787s ok 22 /thread/rec-mutex/perf/contended3/depth3 787s # max perf: 4.000000 mips 787s ok 23 /thread/rec-mutex/perf/contended3/depth4 787s # max perf: 4.000000 mips 787s ok 24 /thread/rec-mutex/perf/contended3/depth5 787s # End of contended3 tests 787s # Start of contended4 tests 787s # max perf: inf mips 787s ok 25 /thread/rec-mutex/perf/contended4/depth1 787s # max perf: 5.000000 mips 787s ok 26 /thread/rec-mutex/perf/contended4/depth2 787s # max perf: 1.000000 mips 787s ok 27 /thread/rec-mutex/perf/contended4/depth3 787s # max perf: 5.000000 mips 787s ok 28 /thread/rec-mutex/perf/contended4/depth4 787s # max perf: 5.000000 mips 787s ok 29 /thread/rec-mutex/perf/contended4/depth5 787s # End of contended4 tests 787s # End of perf tests 787s # End of rec-mutex tests 787s # End of thread tests 787s ok - glib/rec-mutex.test 787s # Running test: glib/unicode.test 787s TAP version 14 787s # random seed: R02S62eb2dd4825eea3013e178c52def9a37 787s 1..39 787s # Start of unicode tests 787s ok 1 /unicode/alnum 787s ok 2 /unicode/alpha 787s ok 3 /unicode/break-type 787s ok 4 /unicode/canonical-decomposition 787s ok 5 /unicode/casefold 787s # Cannot set locale to lt_LT, skipping 787s # Cannot set locale to lt_LT, skipping 787s # Cannot set locale to lt_LT, skipping 787s # Cannot set locale to lt_LT, skipping 787s # Cannot set locale to lt_LT, skipping 787s # Cannot set locale to lt_LT, skipping 787s # Cannot set locale to lt_LT, skipping 787s # Cannot set locale to lt_LT, skipping 787s # Cannot set locale to lt_LT, skipping 787s # Cannot set locale to lt_LT, skipping 787s # Cannot set locale to lt_LT, skipping 787s ok 6 /unicode/casemap_and_casefold 787s ok 7 /unicode/cases 787s ok 8 /unicode/character-type 787s ok 9 /unicode/cntrl 787s ok 10 /unicode/combining-class 787s # Composing U+000041 and U+000042; expecting U+000000 787s # Composing U+000041 and U+000000; expecting U+000000 787s # Composing U+000066 and U+000069; expecting U+000000 787s # Composing U+000308 and U+000301; expecting U+000000 787s # Composing U+000f71 and U+000f72; expecting U+000000 787s # Composing U+00212b and U+000000; expecting U+000000 787s # Composing U+0000c5 and U+000000; expecting U+000000 787s # Composing U+002126 and U+000000; expecting U+000000 787s # Composing U+0003a9 and U+000000; expecting U+000000 787s # Composing U+000041 and U+00030a; expecting U+0000c5 787s # Composing U+00006f and U+000302; expecting U+0000f4 787s # Composing U+001e63 and U+000307; expecting U+001e69 787s # Composing U+000073 and U+000323; expecting U+001e63 787s # Composing U+000064 and U+000307; expecting U+001e0b 787s # Composing U+000064 and U+000323; expecting U+001e0d 787s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 787s # Composing U+001111 and U+001171; expecting U+00d4cc 787s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 787s # Composing U+00110e and U+001173; expecting U+00ce20 787s # Composing U+001100 and U+001160; expecting U+000000 787s # Composing U+001100 and U+001177; expecting U+000000 787s # Composing U+00abff and U+0011b6; expecting U+000000 787s # Composing U+00d7a5 and U+0011b6; expecting U+000000 787s # Composing U+00ac01 and U+0011b6; expecting U+000000 787s # Composing U+00d4cc and U+0011a6; expecting U+000000 787s # Composing U+00d4cc and U+0011c4; expecting U+000000 787s # Composing U+01611e and U+01611e; expecting U+016121 787s # Composing U+01611e and U+01611f; expecting U+016123 787s # Composing U+0000f6 and U+000304; expecting U+00022b 787s # Composing U+000b47 and U+000b57; expecting U+000b4c 787s # Composing U+0000a0 and U+000b57; expecting U+000000 787s # Composing U+016e00 and U+00030a; expecting U+000000 787s # Composing U+00212b and U+016e00; expecting U+000000 787s # Composing U+001e63 and U+000306; expecting U+000000 787s # Composing U+001e63 and U+000304; expecting U+000000 787s # Composing U+001e63 and U+000b57; expecting U+000000 787s # Composing U+001e63 and U+000000; expecting U+000000 787s # Composing U+001e63 and U+0113c2; expecting U+000000 787s # Composing U+001f01 and U+0113c2; expecting U+000000 787s # Composing U+00006e and U+000302; expecting U+000000 787s # Composing U+001e63 and U+01611f; expecting U+000000 787s # Composing U+01138e and U+0113b8; expecting U+000000 787s # Composing U+01611e and U+000000; expecting U+000000 787s # Composing U+000000 and U+01611f; expecting U+000000 787s # Composing U+011390 and U+0113c2; expecting U+000000 787s ok 11 /unicode/compose 787s ok 12 /unicode/decompose 787s ok 13 /unicode/decompose-tail 787s ok 14 /unicode/defined 787s ok 15 /unicode/digit 787s ok 16 /unicode/digit-value 787s # Fully decomposing U+000041; expecting 1 codepoints 787s # Fully decomposing U+00fb01; expecting 1 codepoints 787s # Fully decomposing U+00212b; expecting 2 codepoints 787s # Fully decomposing U+002126; expecting 1 codepoints 787s # Fully decomposing U+000344; expecting 2 codepoints 787s # Fully decomposing U+000f73; expecting 2 codepoints 787s # Fully decomposing U+0000c5; expecting 2 codepoints 787s # Fully decomposing U+0000f4; expecting 2 codepoints 787s # Fully decomposing U+001e69; expecting 3 codepoints 787s # Fully decomposing U+001e63; expecting 2 codepoints 787s # Fully decomposing U+001e0b; expecting 2 codepoints 787s # Fully decomposing U+001e0d; expecting 2 codepoints 787s # Fully decomposing U+00d4db; expecting 3 codepoints 787s # Fully decomposing U+00d4cc; expecting 2 codepoints 787s # Fully decomposing U+00ce31; expecting 3 codepoints 787s # Fully decomposing U+00ce20; expecting 2 codepoints 787s ok 17 /unicode/fully-decompose-canonical 787s ok 18 /unicode/fully-decompose-len 787s ok 19 /unicode/normalization 787s ok 20 /unicode/graph 787s # Testing script Zyyy (code 1517910393) 787s # Testing script Zinh (code 1516858984) 787s # Testing script Zmth (code 1517122664) 787s # Testing script Arab (code 1098015074) 787s # Testing script Armn (code 1098018158) 787s # Testing script Beng (code 1113943655) 787s # Testing script Bopo (code 1114599535) 787s # Testing script Cher (code 1130915186) 787s # Testing script Copt (code 1131376756) 787s # Testing script Cyrl (code 1132032620) 787s # Testing script Dsrt (code 1148416628) 787s # Testing script Deva (code 1147500129) 787s # Testing script Ethi (code 1165256809) 787s # Testing script Geor (code 1197830002) 787s # Testing script Goth (code 1198486632) 787s # Testing script Grek (code 1198679403) 787s # Testing script Gujr (code 1198877298) 787s # Testing script Guru (code 1198879349) 787s # Testing script Hani (code 1214344809) 787s # Testing script Hang (code 1214344807) 787s # Testing script Hebr (code 1214603890) 787s # Testing script Hira (code 1214870113) 787s # Testing script Knda (code 1265525857) 787s # Testing script Kana (code 1264676449) 787s # Testing script Khmr (code 1265134962) 787s # Testing script Laoo (code 1281453935) 787s # Testing script Latn (code 1281455214) 787s # Testing script Mlym (code 1298954605) 787s # Testing script Mong (code 1299148391) 787s # Testing script Mymr (code 1299803506) 787s # Testing script Ogam (code 1332175213) 787s # Testing script Ital (code 1232363884) 787s # Testing script Orya (code 1332902241) 787s # Testing script Runr (code 1383427698) 787s # Testing script Sinh (code 1399418472) 787s # Testing script Syrc (code 1400468067) 787s # Testing script Taml (code 1415671148) 787s # Testing script Telu (code 1415933045) 787s # Testing script Thaa (code 1416126817) 787s # Testing script Thai (code 1416126825) 787s # Testing script Tibt (code 1416192628) 787s # Testing script Cans (code 1130458739) 787s # Testing script Yiii (code 1500080489) 787s # Testing script Tglg (code 1416064103) 787s # Testing script Hano (code 1214344815) 787s # Testing script Buhd (code 1114990692) 787s # Testing script Tagb (code 1415669602) 787s # Testing script Brai (code 1114792297) 787s # Testing script Cprt (code 1131442804) 787s # Testing script Limb (code 1281977698) 787s # Testing script Osma (code 1332964705) 787s # Testing script Shaw (code 1399349623) 787s # Testing script Linb (code 1281977954) 787s # Testing script Tale (code 1415670885) 787s # Testing script Ugar (code 1432838514) 787s # Testing script Talu (code 1415670901) 787s # Testing script Bugi (code 1114990441) 787s # Testing script Glag (code 1198285159) 787s # Testing script Tfng (code 1415999079) 787s # Testing script Sylo (code 1400466543) 787s # Testing script Xpeo (code 1483761007) 787s # Testing script Khar (code 1265131890) 787s # Testing script Zzzz (code 1517976186) 787s # Testing script Bali (code 1113681001) 787s # Testing script Xsux (code 1483961720) 787s # Testing script Phnx (code 1349021304) 787s # Testing script Phag (code 1349017959) 787s # Testing script Nkoo (code 1315663727) 787s # Testing script Kali (code 1264675945) 787s # Testing script Lepc (code 1281716323) 787s # Testing script Rjng (code 1382706791) 787s # Testing script Sund (code 1400204900) 787s # Testing script Saur (code 1398895986) 787s # Testing script Cham (code 1130914157) 787s # Testing script Olck (code 1332503403) 787s # Testing script Vaii (code 1449224553) 787s # Testing script Cari (code 1130459753) 787s # Testing script Lyci (code 1283023721) 787s # Testing script Lydi (code 1283023977) 787s # Testing script Avst (code 1098281844) 787s # Testing script Bamu (code 1113681269) 787s # Testing script Egyp (code 1164409200) 787s # Testing script Armi (code 1098018153) 787s # Testing script Phli (code 1349020777) 787s # Testing script Prti (code 1349678185) 787s # Testing script Java (code 1247901281) 787s # Testing script Kthi (code 1265920105) 787s # Testing script Lisu (code 1281979253) 787s # Testing script Mtei (code 1299473769) 787s # Testing script Sarb (code 1398895202) 787s # Testing script Orkh (code 1332898664) 787s # Testing script Samr (code 1398893938) 787s # Testing script Lana (code 1281453665) 787s # Testing script Tavt (code 1415673460) 787s # Testing script Batk (code 1113683051) 787s # Testing script Brah (code 1114792296) 787s # Testing script Mand (code 1298230884) 787s # Testing script Cakm (code 1130457965) 787s # Testing script Merc (code 1298494051) 787s # Testing script Mero (code 1298494063) 787s # Testing script Plrd (code 1349284452) 787s # Testing script Shrd (code 1399353956) 787s # Testing script Sora (code 1399812705) 787s # Testing script Takr (code 1415670642) 787s # Testing script Bass (code 1113682803) 787s # Testing script Aghb (code 1097295970) 787s # Testing script Dupl (code 1148547180) 787s # Testing script Elba (code 1164730977) 787s # Testing script Gran (code 1198678382) 787s # Testing script Khoj (code 1265135466) 787s # Testing script Sind (code 1399418468) 787s # Testing script Lina (code 1281977953) 787s # Testing script Mahj (code 1298229354) 787s # Testing script Mani (code 1298230889) 787s # Testing script Mend (code 1298493028) 787s # Testing script Modi (code 1299145833) 787s # Testing script Mroo (code 1299345263) 787s # Testing script Nbat (code 1315070324) 787s # Testing script Narb (code 1315009122) 787s # Testing script Perm (code 1348825709) 787s # Testing script Hmng (code 1215131239) 787s # Testing script Palm (code 1348562029) 787s # Testing script Pauc (code 1348564323) 787s # Testing script Phlp (code 1349020784) 787s # Testing script Sidd (code 1399415908) 787s # Testing script Tirh (code 1416196712) 787s # Testing script Wara (code 1466004065) 787s # Testing script Ahom (code 1097363309) 787s # Testing script Hluw (code 1215067511) 787s # Testing script Hatr (code 1214346354) 787s # Testing script Mult (code 1299541108) 787s # Testing script Hung (code 1215655527) 787s # Testing script Sgnw (code 1399287415) 787s # Testing script Adlm (code 1097100397) 787s # Testing script Bhks (code 1114139507) 787s # Testing script Marc (code 1298231907) 787s # Testing script Newa (code 1315272545) 787s # Testing script Osge (code 1332963173) 787s # Testing script Tang (code 1415671399) 787s # Testing script Gonm (code 1198485101) 787s # Testing script Nshu (code 1316186229) 787s # Testing script Soyo (code 1399814511) 787s # Testing script Zanb (code 1516334690) 787s # Testing script Dogr (code 1148151666) 787s # Testing script Gong (code 1198485095) 787s # Testing script Rohg (code 1383032935) 787s # Testing script Maka (code 1298230113) 787s # Testing script Medf (code 1298490470) 787s # Testing script Sogo (code 1399809903) 787s # Testing script Sogd (code 1399809892) 787s # Testing script Elym (code 1164736877) 787s # Testing script Nand (code 1315008100) 787s ok - glib/unicode.test 787s # Testing script Hmnp (code 1215131248) 787s # Testing script Wcho (code 1466132591) 787s # Testing script Chrs (code 1130918515) 787s # Testing script Diak (code 1147756907) 787s # Testing script Kits (code 1265202291) 787s # Testing script Yezi (code 1499822697) 787s # Testing script Cpmn (code 1131441518) 787s # Testing script Ougr (code 1333094258) 787s # Testing script Tnsa (code 1416524641) 787s # Testing script Toto (code 1416590447) 787s # Testing script Vith (code 1449751656) 787s # Testing script Kawi (code 1264678761) 787s # Testing script Nagm (code 1315006317) 787s # Testing script Todr (code 1416586354) 787s # Testing script Gara (code 1197568609) 787s # Testing script Tutg (code 1416983655) 787s # Testing script Sunu (code 1400204917) 787s # Testing script Gukh (code 1198877544) 787s # Testing script Krai (code 1265787241) 787s # Testing script Onao (code 1332633967) 787s ok 21 /unicode/iso15924 787s ok 22 /unicode/lower 787s ok 23 /unicode/mark 787s ok 24 /unicode/mirror 787s ok 25 /unicode/print 787s ok 26 /unicode/punctuation 787s ok 27 /unicode/script 787s ok 28 /unicode/space 787s ok 29 /unicode/strdown 787s ok 30 /unicode/strup 787s ok 31 /unicode/turkish-strupdown 787s ok 32 /unicode/title 787s ok 33 /unicode/upper 787s ok 34 /unicode/validate 787s ok 35 /unicode/wide 787s ok 36 /unicode/xdigit 787s ok 37 /unicode/xdigit-value 787s ok 38 /unicode/zero-width 787s ok 39 /unicode/normalize 787s # End of unicode tests 787s # Running test: glib/defaultvalue.test 787s TAP version 14 787s # random seed: R02S31ace093e14e01a46aed176fcf106175 787s 1..84 787s # Start of Default Values tests 787s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 787s ok 2 /Default Values/GAppLaunchContext 787s ok 3 /Default Values/GApplicationCommandLine 787s # skipping GApplication:is-remote 787s ok 4 /Default Values/GApplication 787s ok 5 /Default Values/GBinding # SKIP mandatory construct params 787s ok 6 /Default Values/GBindingGroup 787s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 787s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 787s ok 9 /Default Values/GBytesIcon 787s ok 10 /Default Values/GCancellable 787s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 787s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 787s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 787s ok 14 /Default Values/GCredentials 787s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 787s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 787s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 787s ok 18 /Default Values/GDBusAuthObserver 787s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 787s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 787s ok 21 /Default Values/GDBusMessage 787s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 787s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 787s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 787s ok 25 /Default Values/GDBusObjectProxy 787s ok 26 /Default Values/GDBusObjectSkeleton 787s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 787s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 787s ok 29 /Default Values/GEmblem 787s ok 30 /Default Values/GEmblemedIcon 787s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 787s ok 32 /Default Values/GFileInfo 787s ok 33 /Default Values/GFileInputStream 787s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 787s ok 35 /Default Values/GFileOutputStream 787s ok 36 /Default Values/GFilenameCompleter 787s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 787s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 787s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 787s ok 40 /Default Values/GInitiallyUnowned 787s ok 41 /Default Values/GIOModule 787s ok 42 /Default Values/GListStore 787s ok 43 /Default Values/GMemoryInputStream 787s ok 44 /Default Values/GMemoryOutputStream 787s ok 45 /Default Values/GMenu 787s ok 46 /Default Values/GMenuItem 787s ok 47 /Default Values/GMountOperation 787s ok 48 /Default Values/GNativeSocketAddress 787s ok 49 /Default Values/GNetworkAddress 787s ok 50 /Default Values/GNetworkService 787s ok 51 /Default Values/GNotification 787s ok 52 /Default Values/GObject 787s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 787s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 787s # skipping GProxyAddressEnumerator:proxy-resolver 787s ok 54 /Default Values/GProxyAddressEnumerator 787s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 787s ok 56 /Default Values/GSettings # SKIP mandatory construct params 787s ok 57 /Default Values/GSignalGroup 787s ok 58 /Default Values/GSimpleAction 787s ok 59 /Default Values/GSimpleActionGroup 787s ok 60 /Default Values/GSimpleAsyncResult 787s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 787s ok 62 /Default Values/GSimplePermission 787s ok 63 /Default Values/GSimpleProxyResolver 787s # skipping GSocketClient:proxy-resolver 787s ok 64 /Default Values/GSocketClient 787s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 787s ok 66 /Default Values/GSocket # SKIP initialization failed 787s ok 67 /Default Values/GSocketListener 787s ok 68 /Default Values/GSocketService 787s ok 69 /Default Values/GSubprocess # SKIP initialization failed 787s ok 70 /Default Values/GSubprocessLauncher 787s # GLib-GIO-DEBUG: GTask 0xe9d4c43b230 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 787s ok 71 /Default Values/GTask 787s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 787s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 787s ok 74 /Default Values/GTestDBus 787s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 787s ok 76 /Default Values/GThreadedSocketService 787s ok 77 /Default Values/GTlsInteraction 787s ok 78 /Default Values/GTlsPassword 787s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 787s ok 80 /Default Values/GUnixFDList 787s ok 81 /Default Values/GVfs 787s ok 82 /Default Values/GVolumeMonitor 787s ok 83 /Default Values/GZlibCompressor 787s ok 84 /Default Values/GZlibDecompressor 787s # End of Default Values tests 787s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 787s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 787s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 787s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 787s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 787s ok - glib/defaultvalue.test 787s # Running test: glib/hmac.test 787s TAP version 14 787s # random seed: R02S697eac7c150df06a4a3c76f421bc813c 787s 1..37 787s # Start of hmac tests 787s ok 1 /hmac/sha1-1 787s ok 2 /hmac/sha1-2 787s ok 3 /hmac/sha1-3 787s ok 4 /hmac/sha1-4 787s ok 5 /hmac/sha1-5 787s ok 6 /hmac/sha1-6 787s ok 7 /hmac/sha1-7 787s ok 8 /hmac/sha256-1 787s ok 9 /hmac/sha256-2 787s ok 10 /hmac/sha256-3 787s ok 11 /hmac/sha256-4 787s ok 12 /hmac/sha256-5 787s ok 13 /hmac/sha256-6 787s ok 14 /hmac/sha384-1 787s ok 15 /hmac/sha384-2 787s ok 16 /hmac/sha384-3 787s ok 17 /hmac/sha384-4 787s ok 18 /hmac/sha384-5 787s ok 19 /hmac/sha384-6 787s ok 20 /hmac/sha512-1 787s ok 21 /hmac/sha512-2 787s ok 22 /hmac/sha512-3 787s ok 23 /hmac/sha512-4 787s ok 24 /hmac/sha512-5 787s ok 25 /hmac/sha512-6 787s ok 26 /hmac/md5-1 787s ok 27 /hmac/md5-2 787s ok 28 /hmac/md5-3 787s ok 29 /hmac/md5-4 787s ok 30 /hmac/md5-5 787s ok 31 /hmac/md5-6 787s ok 32 /hmac/md5-7 787s ok 33 /hmac/ref-unref 787s ok 34 /hmac/copy 787s ok 35 /hmac/for-data 787s ok 36 /hmac/for-string 787s ok 37 /hmac/for-bytes 787s # End of hmac tests 787s ok - glib/hmac.test 787s # Running test: glib/vfs.test 787s TAP version 14 787s # random seed: R02Sf35d1defc0fb9525390c1bf52a1979a7 787s 1..3 787s # Start of gvfs tests 787s ok 1 /gvfs/local 787s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 787s ok 2 /gvfs/register-scheme 787s # Start of resource tests 787s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 787s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 787s ok 3 /gvfs/resource/malformed-escaping 787s # End of resource tests 787s # End of gvfs tests 787s ok - glib/vfs.test 787s # Running test: glib/dataset.test 787s ok - glib/dataset.test 787s # Running test: glib/memory-monitor-psi.test 787s TAP version 14 787s # random seed: R02S4f08c1ff619c2ec3befcc1aa7bd77c2c 787s 1..15 787s # Start of quark tests 787s ok 1 /quark/basic 787s ok 2 /quark/string 787s # End of quark tests 787s # Start of dataset tests 787s ok 3 /dataset/basic 787s ok 4 /dataset/id 787s ok 5 /dataset/full 787s ok 6 /dataset/foreach 787s ok 7 /dataset/destroy 787s # End of dataset tests 787s # Start of datalist tests 787s ok 8 /datalist/id 787s ok 9 /datalist/recursive-clear 787s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 787s ok 10 /datalist/id-remove-multiple 787s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 787s ok 11 /datalist/id-remove-multiple-destroy-order 787s ok 12 /datalist/update-atomic 787s # Start of basic tests 787s ok 13 /datalist/basic/few 787s ok 14 /datalist/basic/many 787s # End of basic tests 787s # Start of id-remove-multiple tests 787s ok 15 /datalist/id-remove-multiple/resize 787s # End of id-remove-multiple tests 787s # End of datalist tests 787s TAP version 14 787s # random seed: R02S22da674737178af57e4af810eb843711 787s 1..1 787s # Start of memory-monitor-psi tests 787s ok - glib/memory-monitor-psi.test 787s # Running test: glib/gdbus-peer.test 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_memory-monitor-psi_ST5RJ3/memory-monitor-psi/receive-signal/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_memory-monitor-psi_ST5RJ3/memory-monitor-psi/receive-signal/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_memory-monitor-psi_ST5RJ3/memory-monitor-psi/receive-signal/.dirs/system-config1:/tmp/test_memory-monitor-psi_ST5RJ3/memory-monitor-psi/receive-signal/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_memory-monitor-psi_ST5RJ3/memory-monitor-psi/receive-signal/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_memory-monitor-psi_ST5RJ3/memory-monitor-psi/receive-signal/.dirs/system-data1:/tmp/test_memory-monitor-psi_ST5RJ3/memory-monitor-psi/receive-signal/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_memory-monitor-psi_ST5RJ3/memory-monitor-psi/receive-signal/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_memory-monitor-psi_ST5RJ3/memory-monitor-psi/receive-signal/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_memory-monitor-psi_ST5RJ3/memory-monitor-psi/receive-signal/.dirs/runtime 787s # GLib-GIO-DEBUG: Write trigger some 70000 2000000 787s # GLib-GIO-DEBUG: Write trigger some 100000 2000000 787s # GLib-GIO-DEBUG: Write trigger full 100000 2000000 787s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 787s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 787s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 787s ok 1 /memory-monitor-psi/receive-signal 787s # End of memory-monitor-psi tests 787s TAP version 14 787s # random seed: R02Sed6685f0848496f8ff004e124dea1076 787s 1..12 787s # Start of gdbus tests 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/.dirs/runtime 787s # Testing with unix:dir address 787s # Testing with unix:tmpdir address 787s # Testing with unix:path address 787s ok 1 /gdbus/peer-to-peer 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/delayed-message-processing/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/delayed-message-processing/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/delayed-message-processing/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/delayed-message-processing/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/delayed-message-processing/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/delayed-message-processing/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/delayed-message-processing/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BQZRJ3/gdbus/delayed-message-processing/.dirs/runtime 787s # Testing with unix:dir address 788s ok 2 /gdbus/delayed-message-processing 788s # slow test /gdbus/delayed-message-processing executed in 0.52 secs 788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/nonce-tcp/.dirs/home 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/nonce-tcp/.dirs/cache 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/nonce-tcp/.dirs/system-config2 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/nonce-tcp/.dirs/config 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/nonce-tcp/.dirs/system-data2 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/nonce-tcp/.dirs/data 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/nonce-tcp/.dirs/state 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BQZRJ3/gdbus/nonce-tcp/.dirs/runtime 788s ok 3 /gdbus/nonce-tcp 788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/tcp-anonymous/.dirs/home 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/tcp-anonymous/.dirs/cache 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/tcp-anonymous/.dirs/system-config2 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/tcp-anonymous/.dirs/config 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/tcp-anonymous/.dirs/system-data2 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/tcp-anonymous/.dirs/data 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/tcp-anonymous/.dirs/state 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BQZRJ3/gdbus/tcp-anonymous/.dirs/runtime 788s ok 4 /gdbus/tcp-anonymous 788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/credentials/.dirs/home 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/credentials/.dirs/cache 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/credentials/.dirs/system-config2 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/credentials/.dirs/config 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/credentials/.dirs/system-data2 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/credentials/.dirs/data 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/credentials/.dirs/state 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BQZRJ3/gdbus/credentials/.dirs/runtime 788s ok 5 /gdbus/credentials 788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/codegen-peer-to-peer/.dirs/home 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/codegen-peer-to-peer/.dirs/cache 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/codegen-peer-to-peer/.dirs/system-config2 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/codegen-peer-to-peer/.dirs/config 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/codegen-peer-to-peer/.dirs/system-data2 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/codegen-peer-to-peer/.dirs/data 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/codegen-peer-to-peer/.dirs/state 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BQZRJ3/gdbus/codegen-peer-to-peer/.dirs/runtime 788s # Testing with unix:dir address 788s # Machine ID: 27e5cc6ae52541bb8b55848f18bdb1d1 789s ok 6 /gdbus/codegen-peer-to-peer 789s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 789s # Start of peer-to-peer tests 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/signals/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/signals/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/signals/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/signals/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/signals/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/signals/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/signals/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/signals/.dirs/runtime 789s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 789s # Testing with unix:dir address 789s ok 7 /gdbus/peer-to-peer/signals 789s # Start of invalid tests 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/server/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/server/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/server/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/server/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/server/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/server/.dirs/runtime 789s ok 8 /gdbus/peer-to-peer/invalid/server 789s # Start of conn tests 789s # Start of stream tests 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 789s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 789s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 789s ok - glib/gdbus-peer.test 789s # Running test: glib/file-thumbnail.test 789s # End of stream tests 789s # Start of addr tests 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 789s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BQZRJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 789s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 789s # End of addr tests 789s # End of conn tests 789s # End of invalid tests 789s # End of peer-to-peer tests 789s # End of gdbus tests 789s TAP version 14 789s # random seed: R02S3861ab40cf0046b39501a38334947918 789s 1..7 789s # Start of file-thumbnail tests 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/fail/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/fail/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/fail/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/fail/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/fail/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/fail/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/fail/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/fail/.dirs/runtime 789s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 789s # Created test thumbnail at /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 789s ok 1 /file-thumbnail/fail 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/size-priority/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/size-priority/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/size-priority/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/size-priority/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/size-priority/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/size-priority/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/size-priority/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/size-priority/.dirs/runtime 789s # Created test thumbnail at /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 789s # Created test thumbnail at /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 789s # Created test thumbnail at /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 789s # Created test thumbnail at /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 789s # Created test thumbnail at /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 789s ok 2 /file-thumbnail/size-priority 789s # Start of valid tests 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/normal/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/normal/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/normal/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/normal/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/normal/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/normal/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/normal/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/normal/.dirs/runtime 789s # Created test thumbnail at /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 789s ok 3 /file-thumbnail/valid/normal 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/large/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/large/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/large/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/large/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/large/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/large/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/large/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/large/.dirs/runtime 789s # Created test thumbnail at /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 789s ok 4 /file-thumbnail/valid/large 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/x-large/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/x-large/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/x-large/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/x-large/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/x-large/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/x-large/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/x-large/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/x-large/.dirs/runtime 789s # Created test thumbnail at /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 789s ok 5 /file-thumbnail/valid/x-large 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/xx-large/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/xx-large/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/xx-large/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/xx-large/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/xx-large/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/xx-large/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/xx-large/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/xx-large/.dirs/runtime 789s # Created test thumbnail at /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 789s ok 6 /file-thumbnail/valid/xx-large 789s # End of valid tests 789s # Start of unknown tests 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/unknown/super-large/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/unknown/super-large/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/unknown/super-large/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/unknown/super-large/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/unknown/super-large/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/unknown/super-large/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/unknown/super-large/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/unknown/super-large/.dirs/runtime 789s ok - glib/file-thumbnail.test 789s # Running test: glib/atomic-c-99.test 789s # Created test thumbnail at /tmp/test_file-thumbnail_4XKMJ3/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 789s ok 7 /file-thumbnail/unknown/super-large 789s # End of unknown tests 789s # End of file-thumbnail tests 789s TAP version 14 789s # random seed: R02S4681850946ac6907a586a6aa62b0bd50 789s 1..2 789s # Start of atomic tests 789s ok 1 /atomic/types 789s ok 2 /atomic/threaded 789s # End of atomic tests 789s ok - glib/atomic-c-99.test 789s # Running test: glib/gobject-private.test 789s TAP version 14 789s # random seed: R02S666a33b6778fd3f873b70bedacb110d7 789s 1..3 789s # Start of private tests 789s ok 1 /private/instance 789s ok 2 /private/derived-instance 789s ok 3 /private/mixed-derived-instance 789s # End of private tests 789s ok - glib/gobject-private.test 789s # Running test: glib/regex.test 789s TAP version 14 789s # random seed: R02S7a35d5968697cb4b0c76899dbfc1837c 789s 1..849 789s # Start of regex tests 789s ok 1 /regex/properties 789s ok 2 /regex/class 789s ok 3 /regex/lookahead 789s ok 4 /regex/lookbehind 789s ok 5 /regex/subpattern 789s ok 6 /regex/condition 789s ok 7 /regex/recursion 789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 789s ok 8 /regex/multiline 789s ok 9 /regex/explicit-crlf 789s ok 10 /regex/max-lookbehind 789s ok 11 /regex/compile-errors 789s ok 12 /regex/jit-unsupported-matching 789s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 789s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 789s ok 13 /regex/unmatched-named-subpattern 789s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 789s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 789s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 789s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 789s ok 14 /regex/compiled-regex-after-jit-failure 789s # Start of new tests 789s ok 15 /regex/new/1 789s ok 16 /regex/new/2 789s ok 17 /regex/new/3 789s ok 18 /regex/new/4 789s ok 19 /regex/new/5 789s ok 20 /regex/new/6 789s ok 21 /regex/new/7 789s ok 22 /regex/new/8 789s ok 23 /regex/new/9 789s ok 24 /regex/new/10 789s ok 25 /regex/new/11 789s ok 26 /regex/new/12 789s ok 27 /regex/new/13 789s ok 28 /regex/new/14 789s ok 29 /regex/new/15 789s ok 30 /regex/new/16 789s ok 31 /regex/new/17 789s ok 32 /regex/new/18 789s ok 33 /regex/new/19 789s ok 34 /regex/new/71 789s ok 35 /regex/new/81 789s ok 36 /regex/new/83 789s # End of new tests 789s # Start of new-check-flags tests 789s ok 37 /regex/new-check-flags/20 789s ok 38 /regex/new-check-flags/21 789s ok 39 /regex/new-check-flags/22 789s ok 40 /regex/new-check-flags/23 789s ok 41 /regex/new-check-flags/24 789s ok 42 /regex/new-check-flags/25 789s ok 43 /regex/new-check-flags/26 789s ok 44 /regex/new-check-flags/27 789s ok 45 /regex/new-check-flags/28 789s ok 46 /regex/new-check-flags/29 789s ok 47 /regex/new-check-flags/30 789s ok 48 /regex/new-check-flags/31 789s ok 49 /regex/new-check-flags/32 789s ok 50 /regex/new-check-flags/33 789s ok 51 /regex/new-check-flags/34 789s ok 52 /regex/new-check-flags/35 789s ok 53 /regex/new-check-flags/36 789s # End of new-check-flags tests 789s # Start of new-fail tests 789s # Compiling pattern /(/ failed with error: Error while compiling regular expression ‘(’ at char 1: missing terminating ) 789s ok 54 /regex/new-fail/37 789s # Compiling pattern /)/ failed with error: Error while compiling regular expression ‘)’ at char 0: missing terminating ) 789s ok 55 /regex/new-fail/38 789s # Compiling pattern /[/ failed with error: Error while compiling regular expression ‘[’ at char 1: missing terminating ] for character class 789s ok 56 /regex/new-fail/39 789s # Compiling pattern /*/ failed with error: Error while compiling regular expression ‘*’ at char 0: nothing to repeat 789s ok 57 /regex/new-fail/40 789s # Compiling pattern /?/ failed with error: Error while compiling regular expression ‘?’ at char 0: nothing to repeat 789s ok 58 /regex/new-fail/41 789s # Compiling pattern /(?Px)|(?Py)/ failed with error: Error while compiling regular expression ‘(?Px)|(?Py)’ at char 15: two named subpatterns have the same name 789s ok 59 /regex/new-fail/42 789s # Compiling pattern /a\/ failed with error: Error while compiling regular expression ‘a\’ at char 2: \ at end of pattern 789s ok 60 /regex/new-fail/43 789s # Compiling pattern /a\c/ failed with error: Error while compiling regular expression ‘a\c’ at char 3: \c at end of pattern 789s ok 61 /regex/new-fail/44 789s # Compiling pattern /a\l/ failed with error: Error while compiling regular expression ‘a\l’ at char 3: unrecognized character following \ 789s ok 62 /regex/new-fail/45 789s # Compiling pattern /a{4,2}/ failed with error: Error while compiling regular expression ‘a{4,2}’ at char 5: numbers out of order in {} quantifier 789s ok 63 /regex/new-fail/46 789s # Compiling pattern /a{999999,}/ failed with error: Error while compiling regular expression ‘a{999999,}’ at char 8: number too big in {} quantifier 789s ok 64 /regex/new-fail/47 789s # Compiling pattern /[a-z/ failed with error: Error while compiling regular expression ‘[a-z’ at char 4: missing terminating ] for character class 789s ok 65 /regex/new-fail/48 789s # Compiling pattern /[\B]/ failed with error: Error while compiling regular expression ‘[\B]’ at char 2: invalid escape sequence in character class 789s ok 66 /regex/new-fail/49 789s # Compiling pattern /[z-a]/ failed with error: Error while compiling regular expression ‘[z-a]’ at char 3: range out of order in character class 789s ok 67 /regex/new-fail/50 789s # Compiling pattern /^[[:alnum:]-_.]+$/ failed with error: Error while compiling regular expression ‘^[[:alnum:]-_.]+$’ at char 12: invalid range in character class 789s ok 68 /regex/new-fail/51 789s # Compiling pattern /{2,4}/ failed with error: Error while compiling regular expression ‘{2,4}’ at char 4: nothing to repeat 789s ok 69 /regex/new-fail/52 789s # Compiling pattern /a(?u)/ failed with error: Error while compiling regular expression ‘a(?u)’ at char 3: unrecognized character after (? or (?- 789s ok 70 /regex/new-fail/53 789s # Compiling pattern /a(?<$foo)bar/ failed with error: Error while compiling regular expression ‘a(?<$foo)bar’ at char 4: missing subpattern name after (?& 789s ok 71 /regex/new-fail/54 789s # Compiling pattern /a[:alpha:]b/ failed with error: Error while compiling regular expression ‘a[:alpha:]b’ at char 1: POSIX named classes are supported only within a class 789s ok 72 /regex/new-fail/55 789s # Compiling pattern /a(b/ failed with error: Error while compiling regular expression ‘a(b’ at char 3: missing terminating ) 789s ok 73 /regex/new-fail/56 789s # Compiling pattern /a)b/ failed with error: Error while compiling regular expression ‘a)b’ at char 1: missing terminating ) 789s ok 74 /regex/new-fail/57 789s # Compiling pattern /a(?R/ failed with error: Error while compiling regular expression ‘a(?R’ at char 4: missing terminating ) 789s ok 75 /regex/new-fail/58 789s # Compiling pattern /a(?-54/ failed with error: Error while compiling regular expression ‘a(?-54’ at char 6: reference to non-existent subpattern 789s ok 76 /regex/new-fail/59 789s # Compiling pattern /(ab\2)/ failed with error: Error while compiling regular expression ‘(ab\2)’ at char 4: reference to non-existent subpattern 789s ok 77 /regex/new-fail/60 789s # Compiling pattern /a(?#abc/ failed with error: Error while compiling regular expression ‘a(?#abc’ at char 7: missing ) after comment 789s ok 78 /regex/new-fail/61 789s # Compiling pattern /(?<=a+)b/ failed with error: Error while compiling regular expression ‘(?<=a+)b’ at char 0: lookbehind assertion is not fixed length 789s ok 79 /regex/new-fail/62 789s # Compiling pattern /(?(1?)a|b)/ failed with error: Error while compiling regular expression ‘(?(1?)a|b)’ at char 4: malformed number or name after (?( 789s ok 80 /regex/new-fail/63 789s # Compiling pattern /(a)(?(1)a|b|c)/ failed with error: Error while compiling regular expression ‘(a)(?(1)a|b|c)’ at char 3: conditional group contains more than two branches 789s ok 81 /regex/new-fail/64 789s # Compiling pattern /(?(?i))/ failed with error: Error while compiling regular expression ‘(?(?i))’ at char 2: assertion expected after (?( 789s ok 82 /regex/new-fail/65 789s # Compiling pattern /a[[:fubar:]]b/ failed with error: Error while compiling regular expression ‘a[[:fubar:]]b’ at char 11: unknown POSIX class name 789s ok 83 /regex/new-fail/66 789s # Compiling pattern /[[.ch.]]/ failed with error: Error while compiling regular expression ‘[[.ch.]]’ at char 7: POSIX collating elements are not supported 789s ok 84 /regex/new-fail/67 789s # Compiling pattern /\x{110000}/ failed with error: Error while compiling regular expression ‘\x{110000}’ at char 9: character value in \x{...} sequence is too large 789s ok 85 /regex/new-fail/68 789s # Compiling pattern /^(?(0)f|b)oo/ failed with error: Error while compiling regular expression ‘^(?(0)f|b)oo’ at char 5: reference to non-existent subpattern 789s ok 86 /regex/new-fail/69 789s # Compiling pattern /(?<=\C)X/ failed with error: Error while compiling regular expression ‘(?<=\C)X’ at char 0: \C not allowed in lookbehind assertion 789s ok 87 /regex/new-fail/70 789s # Compiling pattern /(?(?foo)\gfoo)\geks)(?Peccs)/ failed with error: Error while compiling regular expression ‘(?Peks)(?Peccs)’ at char 16: two named subpatterns have the same name 789s ok 90 /regex/new-fail/74 789s # Compiling pattern /\666/ failed with error: Error while compiling regular expression ‘\666’ at char 4: octal value is greater than \377 789s ok 91 /regex/new-fail/75 789s # Compiling pattern /^(?(DEFINE) abc | xyz ) / failed with error: Error while compiling regular expression ‘^(?(DEFINE) abc | xyz ) ’ at char 4: DEFINE group contains more than one branch 789s ok 92 /regex/new-fail/76 789s # Compiling pattern /a/ failed with error: Invalid newline flags 789s ok 93 /regex/new-fail/77 789s # Compiling pattern /^(a)\g"3/ failed with error: Error while compiling regular expression ‘^(a)\g"3’ at char 6: \g is not followed by a braced, angle-bracketed, or quoted name or number, or by a plain number 789s ok 94 /regex/new-fail/78 789s # Compiling pattern /^(a)\g{3/ failed with error: Error while compiling regular expression ‘^(a)\g{3’ at char 6: \g is not followed by a braced, angle-bracketed, or quoted name or number, or by a plain number 789s ok 95 /regex/new-fail/79 789s # Compiling pattern /^(a)\g{0}/ failed with error: Error while compiling regular expression ‘^(a)\g{0}’ at char 9: reference to non-existent subpattern 789s ok 96 /regex/new-fail/80 789s # Compiling pattern /a(*FOOBAR)b/ failed with error: Error while compiling regular expression ‘a(*FOOBAR)b’ at char 9: (*VERB) not recognized 789s ok 97 /regex/new-fail/82 789s # Compiling pattern /(?)(?&)/ failed with error: Error while compiling regular expression ‘(?)(?&)’ at char 9: missing subpattern name after (?& 789s ok 98 /regex/new-fail/84 789s # Compiling pattern /(?+-a)/ failed with error: Error while compiling regular expression ‘(?+-a)’ at char 2: a numbered reference must not be zero 789s ok 99 /regex/new-fail/85 789s # Compiling pattern /(?|(?A)|(?B))/ failed with error: Error while compiling regular expression ‘(?|(?A)|(?B))’ at char 16: different names for subpatterns of the same number are not allowed 789s ok 100 /regex/new-fail/86 789s # Compiling pattern /a(*MARK)b/ failed with error: Error while compiling regular expression ‘a(*MARK)b’ at char 7: (*MARK) must have an argument 789s ok 101 /regex/new-fail/87 789s # Compiling pattern /^\c€/ failed with error: Error while compiling regular expression ‘^\c€’ at char 3: \c must be followed by an ASCII character 789s ok 102 /regex/new-fail/88 789s # Compiling pattern /\k/ failed with error: Error while compiling regular expression ‘\k’ at char 2: \k is not followed by a braced, angle-bracketed, or quoted name 789s ok 103 /regex/new-fail/89 789s # Compiling pattern /a[\NB]c/ failed with error: Error while compiling regular expression ‘a[\NB]c’ at char 4: \N is not supported in a class 789s ok 104 /regex/new-fail/90 789s # Compiling pattern /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEFG)XX/ failed with error: Error while compiling regular expression ‘(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEFG)XX’ at char 260: name is too long in (*MARK), (*PRUNE), (*SKIP), or (*THEN) 789s ok 105 /regex/new-fail/91 789s # Compiling pattern /(?i-x)((?:(?i-x)[^\x00\t\n\f\r "'/<=>\x{007F}-\x{009F}\x{FDD0}-\x{FDEF}\x{FFFE}\x{FFFF}\x{1FFFE}\x{1FFFF}\x{2FFFE}\x{2FFFF}\x{3FFFE}\x{3FFFF}\x{4FFFE}\x{4FFFF}\x{5FFFE}\x{5FFFF}\x{6FFFE}\x{6FFFF}\x{7FFFE}\x{7FFFF}\x{8FFFE}\x{8FFFF}\x{9FFFE}\x{9FFFF}\x{AFFFE}\x{AFFFF}\x{BFFFE}\x{BFFFF}\x{CFFFE}\x{CFFFF}\x{DFFFE}\x{DFFFF}\x{EFFFE}\x{EFFFF}\x{FFFFE}\x{FFFFF}\x{10FFFE}\x{10FFFF}]+)\s*=\s*)(\")/ failed with error: Error while compiling regular expression ‘(?i-x)((?:(?i-x)[^\x00\t\n\f\r "'/<=>\x{007F}-\x{009F}\x{FDD0}-\x{FDEF}\x{FFFE}\x{FFFF}\x{1FFFE}\x{1FFFF}\x{2FFFE}\x{2FFFF}\x{3FFFE}\x{3FFFF}\x{4FFFE}\x{4FFFF}\x{5FFFE}\x{5FFFF}\x{6FFFE}\x{6FFFF}\x{7FFFE}\x{7FFFF}\x{8FFFE}\x{8FFFF}\x{9FFFE}\x{9FFFF}\x{AFFFE}\x{AFFFF}\x{BFFFE}\x{BFFFF}\x{CFFFE}\x{CFFFF}\x{DFFFE}\x{DFFFF}\x{EFFFE}\x{EFFFF}\x{FFFFE}\x{FFFFF}\x{10FFFE}\x{10FFFF}]+)\s*=\s*)(\")’ at char 61: character value in \x{...} sequence is too large 789s ok 106 /regex/new-fail/92 789s # End of new-fail tests 789s # Start of match-simple tests 789s ok 107 /regex/match-simple/93 789s ok 108 /regex/match-simple/94 789s ok 109 /regex/match-simple/95 789s ok 110 /regex/match-simple/96 789s ok 111 /regex/match-simple/97 789s ok 112 /regex/match-simple/98 789s ok 113 /regex/match-simple/99 789s ok 114 /regex/match-simple/100 789s ok 115 /regex/match-simple/101 789s ok 116 /regex/match-simple/102 789s ok 117 /regex/match-simple/103 789s ok 118 /regex/match-simple/104 789s ok 119 /regex/match-simple/105 789s ok 120 /regex/match-simple/106 789s ok 121 /regex/match-simple/107 789s ok 122 /regex/match-simple/108 789s ok 123 /regex/match-simple/109 789s ok 124 /regex/match-simple/110 789s ok 125 /regex/match-simple/111 789s ok 126 /regex/match-simple/112 789s ok 127 /regex/match-simple/113 789s ok 128 /regex/match-simple/114 789s ok 129 /regex/match-simple/115 789s ok 130 /regex/match-simple/116 789s ok 131 /regex/match-simple/117 789s ok 132 /regex/match-simple/118 789s ok 133 /regex/match-simple/119 789s ok 134 /regex/match-simple/120 789s ok 135 /regex/match-simple/121 789s ok 136 /regex/match-simple/122 789s ok 137 /regex/match-simple/123 789s ok 138 /regex/match-simple/124 789s ok 139 /regex/match-simple/125 789s ok 140 /regex/match-simple/126 789s ok 141 /regex/match-simple/127 789s ok 142 /regex/match-simple/128 789s ok 143 /regex/match-simple/129 789s ok 144 /regex/match-simple/130 789s ok 145 /regex/match-simple/131 789s ok 146 /regex/match-simple/132 789s ok 147 /regex/match-simple/133 789s ok 148 /regex/match-simple/134 789s ok 149 /regex/match-simple/135 789s ok 150 /regex/match-simple/136 789s ok 151 /regex/match-simple/137 789s ok 152 /regex/match-simple/138 789s ok 153 /regex/match-simple/139 789s ok 154 /regex/match-simple/140 789s ok 155 /regex/match-simple/141 789s ok 156 /regex/match-simple/142 789s ok 157 /regex/match-simple/143 789s ok 158 /regex/match-simple/144 789s ok 159 /regex/match-simple/145 789s ok 160 /regex/match-simple/146 789s ok 161 /regex/match-simple/147 789s ok 162 /regex/match-simple/148 789s ok 163 /regex/match-simple/149 789s ok 164 /regex/match-simple/150 789s ok 165 /regex/match-simple/151 789s ok 166 /regex/match-simple/152 789s ok 167 /regex/match-simple/153 789s ok 168 /regex/match-simple/154 789s ok 169 /regex/match-simple/155 789s ok 170 /regex/match-simple/156 789s ok 171 /regex/match-simple/157 789s ok 172 /regex/match-simple/158 789s ok 173 /regex/match-simple/159 789s ok 174 /regex/match-simple/160 789s ok 175 /regex/match-simple/161 789s ok 176 /regex/match-simple/162 789s ok 177 /regex/match-simple/163 789s ok 178 /regex/match-simple/164 789s ok 179 /regex/match-simple/165 789s # End of match-simple tests 789s # Start of match-simple-optimized tests 789s ok 180 /regex/match-simple-optimized/93 789s ok 181 /regex/match-simple-optimized/94 789s ok 182 /regex/match-simple-optimized/95 789s ok 183 /regex/match-simple-optimized/96 789s ok 184 /regex/match-simple-optimized/97 789s ok 185 /regex/match-simple-optimized/98 789s ok 186 /regex/match-simple-optimized/99 789s ok 187 /regex/match-simple-optimized/100 789s ok 188 /regex/match-simple-optimized/101 789s ok 189 /regex/match-simple-optimized/102 789s ok 190 /regex/match-simple-optimized/103 789s ok 191 /regex/match-simple-optimized/104 789s ok 192 /regex/match-simple-optimized/105 789s ok 193 /regex/match-simple-optimized/106 789s ok 194 /regex/match-simple-optimized/107 789s ok 195 /regex/match-simple-optimized/108 789s ok 196 /regex/match-simple-optimized/109 789s ok 197 /regex/match-simple-optimized/110 789s ok 198 /regex/match-simple-optimized/111 789s ok 199 /regex/match-simple-optimized/112 789s ok 200 /regex/match-simple-optimized/113 789s ok 201 /regex/match-simple-optimized/114 789s ok 202 /regex/match-simple-optimized/115 789s ok 203 /regex/match-simple-optimized/116 789s ok 204 /regex/match-simple-optimized/117 789s ok 205 /regex/match-simple-optimized/118 789s ok 206 /regex/match-simple-optimized/119 789s ok 207 /regex/match-simple-optimized/120 789s ok 208 /regex/match-simple-optimized/121 789s ok 209 /regex/match-simple-optimized/122 789s ok 210 /regex/match-simple-optimized/123 789s ok 211 /regex/match-simple-optimized/124 789s ok 212 /regex/match-simple-optimized/125 789s ok 213 /regex/match-simple-optimized/126 789s ok 214 /regex/match-simple-optimized/127 789s ok 215 /regex/match-simple-optimized/128 789s ok 216 /regex/match-simple-optimized/129 789s ok 217 /regex/match-simple-optimized/130 789s ok 218 /regex/match-simple-optimized/131 789s ok 219 /regex/match-simple-optimized/132 789s ok 220 /regex/match-simple-optimized/133 789s ok 221 /regex/match-simple-optimized/134 789s ok 222 /regex/match-simple-optimized/135 789s ok 223 /regex/match-simple-optimized/136 789s ok 224 /regex/match-simple-optimized/137 789s ok 225 /regex/match-simple-optimized/138 789s ok 226 /regex/match-simple-optimized/139 789s ok 227 /regex/match-simple-optimized/140 789s ok 228 /regex/match-simple-optimized/141 789s ok 229 /regex/match-simple-optimized/142 789s ok 230 /regex/match-simple-optimized/143 789s ok 231 /regex/match-simple-optimized/144 789s ok 232 /regex/match-simple-optimized/145 789s ok 233 /regex/match-simple-optimized/146 789s ok 234 /regex/match-simple-optimized/147 789s ok 235 /regex/match-simple-optimized/148 789s ok 236 /regex/match-simple-optimized/149 789s ok 237 /regex/match-simple-optimized/150 789s ok 238 /regex/match-simple-optimized/151 789s ok 239 /regex/match-simple-optimized/152 789s ok 240 /regex/match-simple-optimized/153 789s ok 241 /regex/match-simple-optimized/154 789s ok 242 /regex/match-simple-optimized/155 789s ok 243 /regex/match-simple-optimized/156 789s ok 244 /regex/match-simple-optimized/157 789s ok 245 /regex/match-simple-optimized/158 789s ok 246 /regex/match-simple-optimized/159 789s ok 247 /regex/match-simple-optimized/160 789s ok 248 /regex/match-simple-optimized/161 789s ok 249 /regex/match-simple-optimized/162 789s ok 250 /regex/match-simple-optimized/163 789s ok 251 /regex/match-simple-optimized/164 789s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 789s ok 252 /regex/match-simple-optimized/165 789s # End of match-simple-optimized tests 789s # Start of match tests 789s ok 253 /regex/match/166 789s ok 254 /regex/match/167 789s ok 255 /regex/match/168 789s ok 256 /regex/match/169 789s ok 257 /regex/match/170 789s ok 258 /regex/match/171 789s ok 259 /regex/match/172 789s ok 260 /regex/match/173 789s ok 261 /regex/match/174 789s ok 262 /regex/match/175 789s ok 263 /regex/match/176 789s ok 264 /regex/match/177 789s ok 265 /regex/match/178 789s ok 266 /regex/match/179 789s ok 267 /regex/match/180 789s ok 268 /regex/match/181 789s ok 269 /regex/match/182 789s ok 270 /regex/match/183 789s ok 271 /regex/match/184 789s ok 272 /regex/match/185 789s ok 273 /regex/match/186 789s ok 274 /regex/match/187 789s ok 275 /regex/match/188 789s ok 276 /regex/match/189 789s ok 277 /regex/match/190 789s ok 278 /regex/match/191 789s ok 279 /regex/match/192 789s ok 280 /regex/match/193 789s ok 281 /regex/match/194 789s ok 282 /regex/match/195 789s ok 283 /regex/match/196 789s ok 284 /regex/match/197 789s ok 285 /regex/match/198 789s ok 286 /regex/match/199 789s ok 287 /regex/match/200 789s ok 288 /regex/match/201 789s ok 289 /regex/match/202 789s ok 290 /regex/match/203 789s ok 291 /regex/match/204 789s ok 292 /regex/match/205 789s ok 293 /regex/match/206 789s ok 294 /regex/match/207 789s ok 295 /regex/match/208 789s ok 296 /regex/match/209 789s ok 297 /regex/match/210 789s ok 298 /regex/match/211 789s ok 299 /regex/match/212 789s ok 300 /regex/match/213 789s ok 301 /regex/match/214 789s ok 302 /regex/match/215 789s ok 303 /regex/match/216 789s ok 304 /regex/match/217 789s ok 305 /regex/match/218 789s ok 306 /regex/match/219 789s ok 307 /regex/match/220 789s ok 308 /regex/match/221 789s ok 309 /regex/match/222 789s ok 310 /regex/match/223 789s ok 311 /regex/match/224 789s ok 312 /regex/match/225 789s ok 313 /regex/match/226 789s ok 314 /regex/match/227 789s ok 315 /regex/match/228 789s ok 316 /regex/match/229 789s ok 317 /regex/match/230 789s ok 318 /regex/match/231 789s ok 319 /regex/match/232 789s ok 320 /regex/match/233 789s ok 321 /regex/match/234 789s ok 322 /regex/match/235 789s ok 323 /regex/match/236 789s ok 324 /regex/match/237 789s ok 325 /regex/match/238 789s ok 326 /regex/match/239 789s ok 327 /regex/match/240 789s ok 328 /regex/match/241 789s ok 329 /regex/match/242 789s ok 330 /regex/match/243 789s ok 331 /regex/match/244 789s ok 332 /regex/match/245 789s ok 333 /regex/match/246 789s ok 334 /regex/match/247 789s ok 335 /regex/match/partial282 789s ok 336 /regex/match/partial283 789s ok 337 /regex/match/partial284 789s ok 338 /regex/match/partial285 789s ok 339 /regex/match/partial286 789s ok 340 /regex/match/partial287 789s ok 341 /regex/match/partial288 789s ok 342 /regex/match/partial289 789s ok 343 /regex/match/partial290 789s ok 344 /regex/match/partial291 789s ok 345 /regex/match/partial292 789s ok 346 /regex/match/partial293 789s ok 347 /regex/match/partial294 789s ok 348 /regex/match/partial295 789s ok 349 /regex/match/partial296 789s ok 350 /regex/match/partial297 789s ok 351 /regex/match/partial298 789s ok 352 /regex/match/partial299 789s ok 353 /regex/match/partial300 789s ok 354 /regex/match/partial301 789s ok 355 /regex/match/partial302 789s ok 356 /regex/match/partial303 789s # Start of next0 tests 789s ok 357 /regex/match/next0/248 789s ok 358 /regex/match/next0/249 789s ok 359 /regex/match/next0/250 789s ok 360 /regex/match/next0/251 789s # End of next0 tests 789s # Start of next1 tests 789s ok 361 /regex/match/next1/252 789s ok 362 /regex/match/next1/253 789s ok 363 /regex/match/next1/254 789s ok 364 /regex/match/next1/255 789s ok 365 /regex/match/next1/256 789s # End of next1 tests 789s # Start of next2 tests 789s ok 366 /regex/match/next2/257 789s ok 367 /regex/match/next2/258 789s ok 368 /regex/match/next2/259 789s ok 369 /regex/match/next2/260 789s ok 370 /regex/match/next2/261 789s ok 371 /regex/match/next2/262 789s ok 372 /regex/match/next2/263 789s ok 373 /regex/match/next2/264 789s # End of next2 tests 789s # Start of next3 tests 789s ok 374 /regex/match/next3/265 789s ok 375 /regex/match/next3/266 789s ok 376 /regex/match/next3/267 789s ok 377 /regex/match/next3/268 789s ok 378 /regex/match/next3/269 789s ok 379 /regex/match/next3/270 789s # End of next3 tests 789s # Start of next4 tests 789s ok 380 /regex/match/next4/271 789s # End of next4 tests 789s # Start of count tests 789s ok 381 /regex/match/count/272 789s ok 382 /regex/match/count/273 789s ok 383 /regex/match/count/274 789s ok 384 /regex/match/count/275 789s ok 385 /regex/match/count/276 789s ok 386 /regex/match/count/277 789s ok 387 /regex/match/count/278 789s ok 388 /regex/match/count/279 789s ok 389 /regex/match/count/280 789s ok 390 /regex/match/count/281 789s # End of count tests 789s # Start of count-optimized tests 789s ok 391 /regex/match/count-optimized/272 789s ok 392 /regex/match/count-optimized/273 789s ok 393 /regex/match/count-optimized/274 789s ok 394 /regex/match/count-optimized/275 789s ok 395 /regex/match/count-optimized/276 789s ok 396 /regex/match/count-optimized/277 789s ok 397 /regex/match/count-optimized/278 789s ok 398 /regex/match/count-optimized/279 789s ok 399 /regex/match/count-optimized/280 789s ok 400 /regex/match/count-optimized/281 789s # End of count-optimized tests 789s # Start of partial-optimized tests 789s ok 401 /regex/match/partial-optimized/282 789s ok 402 /regex/match/partial-optimized/283 789s ok 403 /regex/match/partial-optimized/284 789s ok 404 /regex/match/partial-optimized/285 789s ok 405 /regex/match/partial-optimized/286 789s ok 406 /regex/match/partial-optimized/287 789s ok 407 /regex/match/partial-optimized/288 789s ok 408 /regex/match/partial-optimized/289 789s ok 409 /regex/match/partial-optimized/290 789s ok 410 /regex/match/partial-optimized/291 789s ok 411 /regex/match/partial-optimized/292 789s ok 412 /regex/match/partial-optimized/293 789s ok 413 /regex/match/partial-optimized/294 789s ok 414 /regex/match/partial-optimized/295 789s ok 415 /regex/match/partial-optimized/296 789s ok 416 /regex/match/partial-optimized/297 789s ok 417 /regex/match/partial-optimized/298 789s ok 418 /regex/match/partial-optimized/299 789s ok 419 /regex/match/partial-optimized/300 789s ok 420 /regex/match/partial-optimized/301 789s ok 421 /regex/match/partial-optimized/302 789s ok 422 /regex/match/partial-optimized/303 789s # End of partial-optimized tests 789s # Start of subpattern tests 789s ok 423 /regex/match/subpattern/304 789s ok 424 /regex/match/subpattern/305 789s ok 425 /regex/match/subpattern/306 789s ok 426 /regex/match/subpattern/307 789s ok 427 /regex/match/subpattern/308 789s ok 428 /regex/match/subpattern/309 789s ok 429 /regex/match/subpattern/310 789s ok 430 /regex/match/subpattern/311 789s ok 431 /regex/match/subpattern/312 789s ok 432 /regex/match/subpattern/313 789s ok 433 /regex/match/subpattern/314 789s ok 434 /regex/match/subpattern/315 789s ok 435 /regex/match/subpattern/316 789s # Start of named tests 789s # Start of dupnames tests 789s ok 436 /regex/match/subpattern/named/dupnames/326 789s ok 437 /regex/match/subpattern/named/dupnames/327 789s ok 438 /regex/match/subpattern/named/dupnames/328 789s ok 439 /regex/match/subpattern/named/dupnames/329 789s ok 440 /regex/match/subpattern/named/dupnames/330 789s # End of dupnames tests 789s # End of named tests 789s # End of subpattern tests 789s # Start of subpattern-optimized tests 789s ok 441 /regex/match/subpattern-optimized/304 789s ok 442 /regex/match/subpattern-optimized/305 789s ok 443 /regex/match/subpattern-optimized/306 789s ok 444 /regex/match/subpattern-optimized/307 789s ok 445 /regex/match/subpattern-optimized/308 789s ok 446 /regex/match/subpattern-optimized/309 789s ok 447 /regex/match/subpattern-optimized/310 789s ok 448 /regex/match/subpattern-optimized/311 789s ok 449 /regex/match/subpattern-optimized/312 789s ok 450 /regex/match/subpattern-optimized/313 789s ok 451 /regex/match/subpattern-optimized/314 789s ok 452 /regex/match/subpattern-optimized/315 789s ok 453 /regex/match/subpattern-optimized/316 789s # End of subpattern-optimized tests 789s # Start of named tests 789s # Start of subpattern tests 789s ok 454 /regex/match/named/subpattern/317 789s ok 455 /regex/match/named/subpattern/318 789s ok 456 /regex/match/named/subpattern/319 789s ok 457 /regex/match/named/subpattern/320 789s ok 458 /regex/match/named/subpattern/321 789s ok 459 /regex/match/named/subpattern/322 789s ok 460 /regex/match/named/subpattern/323 789s ok 461 /regex/match/named/subpattern/324 789s ok 462 /regex/match/named/subpattern/325 789s ok 463 /regex/match/named/subpattern/331 789s ok 464 /regex/match/named/subpattern/332 789s ok 465 /regex/match/named/subpattern/333 789s ok 466 /regex/match/named/subpattern/334 789s ok 467 /regex/match/named/subpattern/335 789s # End of subpattern tests 789s # End of named tests 789s # End of match tests 789s # Start of match-optimized tests 789s ok 468 /regex/match-optimized/166 789s ok 469 /regex/match-optimized/167 789s ok 470 /regex/match-optimized/168 789s ok 471 /regex/match-optimized/169 789s ok 472 /regex/match-optimized/170 789s ok 473 /regex/match-optimized/171 789s ok 474 /regex/match-optimized/172 789s ok 475 /regex/match-optimized/173 789s ok 476 /regex/match-optimized/174 789s ok 477 /regex/match-optimized/175 789s ok 478 /regex/match-optimized/176 789s ok 479 /regex/match-optimized/177 789s ok 480 /regex/match-optimized/178 789s ok 481 /regex/match-optimized/179 789s ok 482 /regex/match-optimized/180 789s ok 483 /regex/match-optimized/181 789s ok 484 /regex/match-optimized/182 789s ok 485 /regex/match-optimized/183 789s ok 486 /regex/match-optimized/184 789s ok 487 /regex/match-optimized/185 789s ok 488 /regex/match-optimized/186 789s ok 489 /regex/match-optimized/187 789s ok 490 /regex/match-optimized/188 789s ok 491 /regex/match-optimized/189 789s ok 492 /regex/match-optimized/190 789s ok 493 /regex/match-optimized/191 789s ok 494 /regex/match-optimized/192 789s ok 495 /regex/match-optimized/193 789s ok 496 /regex/match-optimized/194 789s ok 497 /regex/match-optimized/195 789s ok 498 /regex/match-optimized/196 789s ok 499 /regex/match-optimized/197 789s ok 500 /regex/match-optimized/198 789s ok 501 /regex/match-optimized/199 789s ok 502 /regex/match-optimized/200 789s ok 503 /regex/match-optimized/201 789s ok 504 /regex/match-optimized/202 789s ok 505 /regex/match-optimized/203 789s ok 506 /regex/match-optimized/204 789s ok 507 /regex/match-optimized/205 789s ok 508 /regex/match-optimized/206 789s ok 509 /regex/match-optimized/207 789s ok 510 /regex/match-optimized/208 789s ok 511 /regex/match-optimized/209 789s ok 512 /regex/match-optimized/210 789s ok 513 /regex/match-optimized/211 789s ok 514 /regex/match-optimized/212 789s ok 515 /regex/match-optimized/213 789s ok 516 /regex/match-optimized/214 789s ok 517 /regex/match-optimized/215 789s ok 518 /regex/match-optimized/216 789s ok 519 /regex/match-optimized/217 789s ok 520 /regex/match-optimized/218 789s ok 521 /regex/match-optimized/219 789s ok 522 /regex/match-optimized/220 789s ok 523 /regex/match-optimized/221 789s ok 524 /regex/match-optimized/222 789s ok 525 /regex/match-optimized/223 789s ok 526 /regex/match-optimized/224 789s ok 527 /regex/match-optimized/225 789s ok 528 /regex/match-optimized/226 789s ok 529 /regex/match-optimized/227 789s ok 530 /regex/match-optimized/228 789s ok 531 /regex/match-optimized/229 789s ok 532 /regex/match-optimized/230 789s ok 533 /regex/match-optimized/231 789s ok 534 /regex/match-optimized/232 789s ok 535 /regex/match-optimized/233 789s ok 536 /regex/match-optimized/234 789s ok 537 /regex/match-optimized/235 789s ok 538 /regex/match-optimized/236 789s ok 539 /regex/match-optimized/237 789s ok 540 /regex/match-optimized/238 789s ok 541 /regex/match-optimized/239 789s ok 542 /regex/match-optimized/240 789s ok 543 /regex/match-optimized/241 789s ok 544 /regex/match-optimized/242 789s ok 545 /regex/match-optimized/243 789s ok 546 /regex/match-optimized/244 789s ok 547 /regex/match-optimized/245 789s ok 548 /regex/match-optimized/246 789s ok 549 /regex/match-optimized/247 789s # End of match-optimized tests 789s # Start of fetch-all0 tests 789s ok 550 /regex/fetch-all0/336 789s ok 551 /regex/fetch-all0/337 789s # End of fetch-all0 tests 789s # Start of fetch-all1 tests 789s ok 552 /regex/fetch-all1/338 789s ok 553 /regex/fetch-all1/339 789s ok 554 /regex/fetch-all1/340 789s # End of fetch-all1 tests 789s # Start of fetch-all2 tests 789s ok 555 /regex/fetch-all2/341 789s ok 556 /regex/fetch-all2/342 789s ok 557 /regex/fetch-all2/343 789s # End of fetch-all2 tests 789s # Start of fetch-all3 tests 789s ok 558 /regex/fetch-all3/344 789s ok 559 /regex/fetch-all3/345 789s ok 560 /regex/fetch-all3/346 789s ok 561 /regex/fetch-all3/347 789s ok 562 /regex/fetch-all3/348 789s # End of fetch-all3 tests 789s # Start of split tests 789s # Start of simple0 tests 789s ok 563 /regex/split/simple0/349 789s ok 564 /regex/split/simple0/350 789s ok 565 /regex/split/simple0/365 789s ok 566 /regex/split/simple0/366 789s # End of simple0 tests 789s # Start of simple1 tests 789s ok 567 /regex/split/simple1/351 789s ok 568 /regex/split/simple1/352 789s # End of simple1 tests 789s # Start of simple2 tests 789s ok 569 /regex/split/simple2/353 789s ok 570 /regex/split/simple2/359 789s ok 571 /regex/split/simple2/361 789s # End of simple2 tests 789s # Start of simple3 tests 789s ok 572 /regex/split/simple3/354 789s ok 573 /regex/split/simple3/355 789s ok 574 /regex/split/simple3/356 789s ok 575 /regex/split/simple3/357 789s ok 576 /regex/split/simple3/358 789s ok 577 /regex/split/simple3/360 789s ok 578 /regex/split/simple3/362 789s ok 579 /regex/split/simple3/363 789s ok 580 /regex/split/simple3/364 789s # End of simple3 tests 789s # End of split tests 789s # Start of split0 tests 789s ok 581 /regex/split0/367 789s ok 582 /regex/split0/369 789s # End of split0 tests 789s # Start of full-split0 tests 789s ok 583 /regex/full-split0/368 789s ok 584 /regex/full-split0/370 789s ok 585 /regex/full-split0/371 789s ok 586 /regex/full-split0/372 789s ok 587 /regex/full-split0/373 789s # End of full-split0 tests 789s # Start of split1 tests 789s ok 588 /regex/split1/374 789s ok 589 /regex/split1/377 789s # End of split1 tests 789s # Start of full-split1 tests 789s ok 590 /regex/full-split1/375 789s ok 591 /regex/full-split1/376 789s ok 592 /regex/full-split1/378 789s ok 593 /regex/full-split1/379 789s ok 594 /regex/full-split1/405 789s # End of full-split1 tests 789s # Start of split2 tests 789s ok 595 /regex/split2/380 789s ok 596 /regex/split2/384 789s ok 597 /regex/split2/396 789s # End of split2 tests 789s # Start of full-split2 tests 789s ok 598 /regex/full-split2/381 789s ok 599 /regex/full-split2/382 789s ok 600 /regex/full-split2/383 789s ok 601 /regex/full-split2/385 789s ok 602 /regex/full-split2/397 789s ok 603 /regex/full-split2/400 789s ok 604 /regex/full-split2/406 789s # End of full-split2 tests 789s # Start of split3 tests 789s ok 605 /regex/split3/386 789s ok 606 /regex/split3/388 789s ok 607 /regex/split3/390 789s ok 608 /regex/split3/392 789s ok 609 /regex/split3/394 789s ok 610 /regex/split3/398 789s ok 611 /regex/split3/401 789s ok 612 /regex/split3/403 789s # End of split3 tests 789s # Start of full-split3 tests 789s ok 613 /regex/full-split3/387 789s ok 614 /regex/full-split3/389 789s ok 615 /regex/full-split3/391 789s ok 616 /regex/full-split3/393 789s ok 617 /regex/full-split3/395 789s ok 618 /regex/full-split3/399 789s ok 619 /regex/full-split3/402 789s ok 620 /regex/full-split3/404 789s ok 621 /regex/full-split3/407 789s ok 622 /regex/full-split3/408 789s # End of full-split3 tests 789s # Start of check-repacement tests 789s ok 623 /regex/check-repacement/409 789s ok 624 /regex/check-repacement/410 789s ok 625 /regex/check-repacement/411 789s ok 626 /regex/check-repacement/412 789s ok 627 /regex/check-repacement/413 789s ok 628 /regex/check-repacement/414 789s ok 629 /regex/check-repacement/415 789s ok 630 /regex/check-repacement/416 789s # End of check-repacement tests 789s # Start of expand tests 789s ok 631 /regex/expand/417 789s ok 632 /regex/expand/418 789s ok 633 /regex/expand/419 789s ok 634 /regex/expand/420 789s ok 635 /regex/expand/421 789s ok 636 /regex/expand/422 789s ok 637 /regex/expand/423 789s ok 638 /regex/expand/424 789s ok 639 /regex/expand/425 789s ok 640 /regex/expand/426 789s ok 641 /regex/expand/427 789s ok 642 /regex/expand/428 789s ok 643 /regex/expand/429 789s ok 644 /regex/expand/430 789s ok 645 /regex/expand/431 789s ok 646 /regex/expand/432 789s ok 647 /regex/expand/433 789s ok 648 /regex/expand/434 789s ok 649 /regex/expand/435 789s ok 650 /regex/expand/436 789s ok 651 /regex/expand/437 789s ok 652 /regex/expand/438 789s ok 653 /regex/expand/439 789s ok 654 /regex/expand/440 789s ok 655 /regex/expand/441 789s ok 656 /regex/expand/442 789s ok 657 /regex/expand/443 789s ok 658 /regex/expand/444 789s ok 659 /regex/expand/445 789s ok 660 /regex/expand/446 789s ok 661 /regex/expand/447 789s ok 662 /regex/expand/448 789s ok 663 /regex/expand/449 789s ok 664 /regex/expand/450 789s ok 665 /regex/expand/451 789s ok 666 /regex/expand/452 789s ok 667 /regex/expand/453 789s ok 668 /regex/expand/454 789s ok 669 /regex/expand/455 789s ok 670 /regex/expand/456 789s ok 671 /regex/expand/457 789s ok 672 /regex/expand/458 789s ok 673 /regex/expand/459 789s ok 674 /regex/expand/460 789s ok 675 /regex/expand/461 789s ok 676 /regex/expand/462 789s ok 677 /regex/expand/463 789s ok 678 /regex/expand/464 789s ok 679 /regex/expand/465 789s ok 680 /regex/expand/466 789s ok 681 /regex/expand/467 789s ok 682 /regex/expand/468 789s ok 683 /regex/expand/469 789s ok 684 /regex/expand/470 789s ok 685 /regex/expand/471 789s ok 686 /regex/expand/472 789s ok 687 /regex/expand/473 789s ok 688 /regex/expand/474 789s ok 689 /regex/expand/475 789s ok 690 /regex/expand/476 789s ok 691 /regex/expand/477 789s ok 692 /regex/expand/478 789s ok 693 /regex/expand/479 789s ok 694 /regex/expand/480 789s ok 695 /regex/expand/481 789s ok 696 /regex/expand/482 789s # End of expand tests 789s # Start of replace tests 789s ok 697 /regex/replace/483 789s ok 698 /regex/replace/484 789s ok 699 /regex/replace/485 789s ok 700 /regex/replace/486 789s ok 701 /regex/replace/487 789s ok 702 /regex/replace/488 789s ok 703 /regex/replace/489 789s ok 704 /regex/replace/490 789s ok 705 /regex/replace/491 789s ok 706 /regex/replace/492 789s ok 707 /regex/replace/493 789s ok 708 /regex/replace/494 789s ok - glib/regex.test 789s # Running test: glib/markup.test 789s ok - glib/markup.test 789s # Running test: glib/properties-refcount1.test 789s ok 709 /regex/replace/495 789s ok 710 /regex/replace/496 789s ok 711 /regex/replace/497 789s ok 712 /regex/replace/498 789s ok 713 /regex/replace/499 789s ok 714 /regex/replace/500 789s ok 715 /regex/replace/501 789s ok 716 /regex/replace/502 789s ok 717 /regex/replace/503 789s ok 718 /regex/replace/504 789s ok 719 /regex/replace/505 789s ok 720 /regex/replace/506 789s ok 721 /regex/replace/507 789s ok 722 /regex/replace/508 789s ok 723 /regex/replace/509 789s ok 724 /regex/replace/510 789s # End of replace tests 789s # Start of replace-optimized tests 789s ok 725 /regex/replace-optimized/483 789s ok 726 /regex/replace-optimized/484 789s ok 727 /regex/replace-optimized/485 789s ok 728 /regex/replace-optimized/486 789s ok 729 /regex/replace-optimized/487 789s ok 730 /regex/replace-optimized/488 789s ok 731 /regex/replace-optimized/489 789s ok 732 /regex/replace-optimized/490 789s ok 733 /regex/replace-optimized/491 789s ok 734 /regex/replace-optimized/492 789s ok 735 /regex/replace-optimized/493 789s ok 736 /regex/replace-optimized/494 789s ok 737 /regex/replace-optimized/495 789s ok 738 /regex/replace-optimized/496 789s ok 739 /regex/replace-optimized/497 789s ok 740 /regex/replace-optimized/498 789s ok 741 /regex/replace-optimized/499 789s ok 742 /regex/replace-optimized/500 789s ok 743 /regex/replace-optimized/501 789s ok 744 /regex/replace-optimized/502 789s ok 745 /regex/replace-optimized/503 789s ok 746 /regex/replace-optimized/504 789s ok 747 /regex/replace-optimized/505 789s ok 748 /regex/replace-optimized/506 789s ok 749 /regex/replace-optimized/507 789s ok 750 /regex/replace-optimized/508 789s ok 751 /regex/replace-optimized/509 789s ok 752 /regex/replace-optimized/510 789s # End of replace-optimized tests 789s # Start of replace-literally tests 789s ok 753 /regex/replace-literally/511 789s ok 754 /regex/replace-literally/512 789s ok 755 /regex/replace-literally/513 789s ok 756 /regex/replace-literally/514 789s ok 757 /regex/replace-literally/515 789s ok 758 /regex/replace-literally/516 789s ok 759 /regex/replace-literally/517 789s ok 760 /regex/replace-literally/518 789s ok 761 /regex/replace-literally/519 789s ok 762 /regex/replace-literally/520 789s ok 763 /regex/replace-literally/521 789s ok 764 /regex/replace-literally/522 789s ok 765 /regex/replace-literally/523 789s ok 766 /regex/replace-literally/524 789s ok 767 /regex/replace-literally/525 789s ok 768 /regex/replace-literally/526 789s ok 769 /regex/replace-literally/527 789s ok 770 /regex/replace-literally/528 789s ok 771 /regex/replace-literally/529 789s ok 772 /regex/replace-literally/530 789s # End of replace-literally tests 789s # Start of string-number tests 789s ok 773 /regex/string-number/531 789s ok 774 /regex/string-number/532 789s ok 775 /regex/string-number/533 789s ok 776 /regex/string-number/534 789s ok 777 /regex/string-number/535 789s ok 778 /regex/string-number/536 789s ok 779 /regex/string-number/537 789s ok 780 /regex/string-number/538 789s ok 781 /regex/string-number/539 789s ok 782 /regex/string-number/540 789s ok 783 /regex/string-number/541 789s ok 784 /regex/string-number/542 789s ok 785 /regex/string-number/543 789s ok 786 /regex/string-number/544 789s ok 787 /regex/string-number/545 789s # End of string-number tests 789s # Start of escape_nul tests 789s ok 788 /regex/escape_nul/546 789s ok 789 /regex/escape_nul/547 789s ok 790 /regex/escape_nul/548 789s ok 791 /regex/escape_nul/549 789s ok 792 /regex/escape_nul/550 789s ok 793 /regex/escape_nul/551 789s ok 794 /regex/escape_nul/552 789s ok 795 /regex/escape_nul/553 789s ok 796 /regex/escape_nul/554 789s ok 797 /regex/escape_nul/555 789s ok 798 /regex/escape_nul/556 789s ok 799 /regex/escape_nul/557 789s ok 800 /regex/escape_nul/558 789s ok 801 /regex/escape_nul/559 789s ok 802 /regex/escape_nul/560 789s # End of escape_nul tests 789s # Start of escape tests 789s ok 803 /regex/escape/561 789s ok 804 /regex/escape/562 789s ok 805 /regex/escape/563 789s ok 806 /regex/escape/564 789s ok 807 /regex/escape/565 789s ok 808 /regex/escape/566 789s ok 809 /regex/escape/567 789s ok 810 /regex/escape/568 789s ok 811 /regex/escape/569 789s ok 812 /regex/escape/570 789s ok 813 /regex/escape/571 789s ok 814 /regex/escape/572 789s ok 815 /regex/escape/573 789s ok 816 /regex/escape/574 789s ok 817 /regex/escape/575 789s ok 818 /regex/escape/576 789s ok 819 /regex/escape/577 789s ok 820 /regex/escape/578 789s # End of escape tests 789s # Start of match-all0 tests 789s ok 821 /regex/match-all0/579 789s ok 822 /regex/match-all0/581 789s # End of match-all0 tests 789s # Start of match-all-full0 tests 789s ok 823 /regex/match-all-full0/580 789s ok 824 /regex/match-all-full0/582 789s ok 825 /regex/match-all-full0/583 789s ok 826 /regex/match-all-full0/584 789s # End of match-all-full0 tests 789s # Start of match-all1 tests 789s ok 827 /regex/match-all1/585 789s ok 828 /regex/match-all1/587 789s ok 829 /regex/match-all1/592 789s # End of match-all1 tests 789s # Start of match-all-full1 tests 789s ok 830 /regex/match-all-full1/586 789s ok 831 /regex/match-all-full1/588 789s ok 832 /regex/match-all-full1/589 789s ok 833 /regex/match-all-full1/590 789s ok 834 /regex/match-all-full1/591 789s ok 835 /regex/match-all-full1/593 789s # End of match-all-full1 tests 789s # Start of match-all2 tests 789s ok 836 /regex/match-all2/594 789s ok 837 /regex/match-all2/596 789s ok 838 /regex/match-all2/598 789s # End of match-all2 tests 789s # Start of match-all-full2 tests 789s ok 839 /regex/match-all-full2/595 789s ok 840 /regex/match-all-full2/597 789s ok 841 /regex/match-all-full2/599 789s # End of match-all-full2 tests 789s # Start of match-all3 tests 789s ok 842 /regex/match-all3/600 789s ok 843 /regex/match-all3/602 789s # End of match-all3 tests 789s # Start of match-all-full3 tests 789s ok 844 /regex/match-all-full3/601 789s ok 845 /regex/match-all-full3/603 789s # End of match-all-full3 tests 789s # Start of match-notempty tests 789s ok 846 /regex/match-notempty/604 789s # End of match-notempty tests 789s # Start of match-notempty-optimized tests 789s ok 847 /regex/match-notempty-optimized/604 789s # End of match-notempty-optimized tests 789s # Start of match-notempty-atstart tests 789s ok 848 /regex/match-notempty-atstart/605 789s # End of match-notempty-atstart tests 789s # Start of match-notempty-atstart-optimized tests 789s ok 849 /regex/match-notempty-atstart-optimized/605 789s # End of match-notempty-atstart-optimized tests 789s # End of regex tests 789s TAP version 14 789s # random seed: R02Sa9064da240c01666fde95eef3097465b 789s 1..1 789s # Start of markup tests 789s ok 1 /markup/stack 789s # End of markup tests 789s TAP version 14 789s # random seed: R02Sd5f52b5a03e2426353b04d7cc8de9048 789s 1..1 789s # Start of gobject tests 789s # Start of refcount tests 789s # .f 789s # .b 789s # .e 789s # .d 789s # .c 789s # .f 789s # .b 789s # .e 789s # .d 789s # .c 789s # .f 789s # .e 789s # .b 790s # .d 790s # .c 790s # .f 790s # .e 790s # .b 790s # .d 790s # .c 790s # .e 790s # .f 790s # .b 790s # .c 790s # .e 790s # .d 790s # .f 790s # .b 790s # .f 790s # .d 790s # .c 790s # .e 790s # .f 790s # .b 790s # .f 790s # .d 790s # .c 790s # .e 790s # .f 790s # .b 790s # .d 790s # .c 790s # .e 790s # .d 790s # .f 790s # .b 790s # .c 790s # .d 790s # .e 790s # .f 790s # .b 790s # .c 790s # .d 790s # .e 790s # .f 791s # .b 791s # .e 791s # .d 791s # .c 791s # .f 791s # .b 791s # .c 791s # .e 791s # .f 791s # .d 791s # .b 791s # .e 791s # .d 791s # .f 791s # .c 791s # .b 791s # .d 791s # .e 791s # .c 791s # .f 791s # .b 791s # .e 791s # .d 791s # .f 791s # .c 791s # .b 791s # .e 791s # Executing: glib/properties-refcount1.test 791s # .f 791s # .d 791s # .c 791s # .b 791s # .d 791s # .e 791s # .f 791s # .b 791s # .c 791s # .f 791s # .e 791s # .d 791s # .b 791s # .c 792s # .f 792s # .d 792s # .e 792s # .b 792s # .c 792s # .e 792s # .f 792s # .d 792s # .b 792s # .c 792s # .e 792s # .f 792s # .d 792s # .b 792s # .e 792s # .f 792s # .c 792s # .d 792s # .b 792s # .f 792s # .e 792s # .d 792s # .c 792s # .f 792s # .b 792s # .e 792s # .d 792s ok 1 /gobject/refcount/properties-1 792s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 792s # End of refcount tests 792s # End of gobject tests 792s ok - glib/properties-refcount1.test 792s # Running test: glib/socket-listener.test 792s TAP version 14 792s # random seed: R02S4fe02a6f1d344bc44aae6322877b9660 792s 1..4 792s # Start of socket-listener tests 792s ok 1 /socket-listener/event-signal 792s # Start of accept tests 792s # /socket-listener/accept/multi-simultaneously summary: Test that accepting multiple pending connections on the same GMainContext iteration works 792s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3739 792s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 792s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1df1a7bba510 and GSocketClientAsyncConnectData 0x1df1a7bb5970 792s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 792s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1df1a7bbcb60 and GSocketClientAsyncConnectData 0x1df1a7bbc9b0 792s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 792s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1df1a7bbd380 and GSocketClientAsyncConnectData 0x1df1a7bbd100 792s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 792s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1df1a7bbdc00 and GSocketClientAsyncConnectData 0x1df1a7bbd980 792s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 792s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1df1a7bbe420 and GSocketClientAsyncConnectData 0x1df1a7bbe1a0 792s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 792s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 792s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1df1a7bc0970 for GSocketClientAsyncConnectData 0x1df1a7bb5970 792s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 792s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 792s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1df1a7bc2ae0 for GSocketClientAsyncConnectData 0x1df1a7bbc9b0 792s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 792s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 792s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1df1a7bc3290 for GSocketClientAsyncConnectData 0x1df1a7bbd100 792s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 792s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 792s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1df1a7bc3930 for GSocketClientAsyncConnectData 0x1df1a7bbd980 792s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 792s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 792s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1df1a7bc0000 for GSocketClientAsyncConnectData 0x1df1a7bbe1a0 792s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 792s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 792s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 792s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 792s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 792s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 792s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 792s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 792s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 792s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 792s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 792s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 792s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 792s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 792s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 792s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 792s ok 2 /socket-listener/accept/multi-simultaneously 792s # End of accept tests 792s # Start of add-any-inet-port tests 792s # /socket-listener/add-any-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 792s # Test 0 792s # Test 1 792s # Test 2 792s # Test 3 792s # Test 4 792s # Test 5 792s # Test 6 792s # Test 7 792s # Test 8 792s # Test 9 792s # Test 10 792s ok 3 /socket-listener/add-any-inet-port/listen-failures 792s # End of add-any-inet-port tests 792s # Start of add-inet-port tests 792s # /socket-listener/add-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 792s # Test 0 792s # Test 1 792s # Test 2 792s # Test 3 792s # Test 4 792s # Test 5 792s # Test 6 792s # Test 7 792s # Test 8 792s # Test 9 792s ok - glib/socket-listener.test 792s # Test 10 792s ok 4 /socket-listener/add-inet-port/listen-failures 792s # End of add-inet-port tests 792s # End of socket-listener tests 792s # Running test: glib/file-enumerator.test 792s ok - glib/file-enumerator.test 792s # Running test: glib/boxed.test 792s TAP version 14 792s # random seed: R02Sc10682b9fe0340d0684e4c61c013c7a6 792s 1..1 792s # Start of file-enumerator tests 792s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 792s ok 1 /file-enumerator/close-on-dispose 792s # End of file-enumerator tests 792s TAP version 14 792s # random seed: R02Sf6ffdd050b4ae53d3b4dbdb38725413b 792s 1..27 792s # Start of boxed tests 792s ok 1 /boxed/define 792s ok 2 /boxed/ownership 792s ok 3 /boxed/closure 792s ok 4 /boxed/date 792s ok 5 /boxed/value 792s ok 6 /boxed/string 792s ok 7 /boxed/hashtable 792s ok 8 /boxed/array 792s ok 9 /boxed/ptrarray 792s ok 10 /boxed/regex 792s ok 11 /boxed/varianttype 792s ok 12 /boxed/error 792s ok 13 /boxed/datetime 792s ok 14 /boxed/matchinfo 792s ok 15 /boxed/keyfile 792s ok 16 /boxed/mainloop 792s ok 17 /boxed/maincontext 792s ok 18 /boxed/source 792s ok 19 /boxed/variantbuilder 792s ok 20 /boxed/timezone 792s ok 21 /boxed/pollfd 792s ok 22 /boxed/markup 792s ok 23 /boxed/thread 792s ok 24 /boxed/checksum 792s ok 25 /boxed/tree 792s ok 26 /boxed/patternspec 792s ok 27 /boxed/rand 792s # End of boxed tests 792s ok - glib/boxed.test 792s # Running test: glib/collate.test 792s TAP version 14 792s # random seed: R02S2e63edc5c70635705e9106fc1b5d9e1b 792s 1..9 792s # Start of unicode tests 792s # Start of collate tests 792s ok 1 /unicode/collate/0 792s ok 2 /unicode/collate/1 792s ok 3 /unicode/collate/2 792s # End of collate tests 792s # Start of collate-key tests 792s ok 4 /unicode/collate-key/0 792s ok 5 /unicode/collate-key/1 792s ok 6 /unicode/collate-key/2 792s # End of collate-key tests 792s # Start of collate-filename tests 792s ok 7 /unicode/collate-filename/0 792s ok 8 /unicode/collate-filename/1 792s ok 9 /unicode/collate-filename/2 792s # End of collate-filename tests 792s # End of unicode tests 792s ok - glib/collate.test 792s # Running test: glib/utf8-pointer.test 792s TAP version 14 792s # random seed: R02S1f2d88e35f15e4bf054a29c6af0ea223 792s 1..3 792s # Start of utf8 tests 793s ok - glib/utf8-pointer.test 793s ok 1 /utf8/offsets 793s # slow test /utf8/offsets executed in 0.79 secs 793s ok 2 /utf8/lengths 793s ok 3 /utf8/find 793s # End of utf8 tests 793s # Running test: glib/autoptr-girepository.test 793s TAP version 14 793s # random seed: R02S6743ac89dc357d17dcc14e955f237048 793s 1..24 793s # Start of autoptr tests 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/repository/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/repository/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/repository/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/repository/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/repository/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/repository/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/repository/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/repository/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 1 /autoptr/repository 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/typelib/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/typelib/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/typelib/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/typelib/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/typelib/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/typelib/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/typelib/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/typelib/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 2 /autoptr/typelib 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/base-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/base-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/base-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/base-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/base-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/base-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/base-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/base-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 3 /autoptr/base-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/arg-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/arg-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/arg-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/arg-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/arg-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/arg-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/arg-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/arg-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 4 /autoptr/arg-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/callable-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/callable-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/callable-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/callable-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/callable-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/callable-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/callable-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/callable-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 5 /autoptr/callable-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/callback-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/callback-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/callback-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/callback-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/callback-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/callback-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/callback-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/callback-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 6 /autoptr/callback-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/constant-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/constant-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/constant-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/constant-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/constant-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/constant-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/constant-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/constant-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 7 /autoptr/constant-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/enum-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/enum-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/enum-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/enum-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/enum-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/enum-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/enum-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/enum-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 8 /autoptr/enum-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/field-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/field-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/field-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/field-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/field-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/field-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/field-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/field-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 9 /autoptr/field-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/flags-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/flags-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/flags-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/flags-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/flags-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/flags-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/flags-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/flags-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 10 /autoptr/flags-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/function-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/function-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/function-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/function-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/function-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/function-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/function-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/function-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 11 /autoptr/function-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/interface-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/interface-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/interface-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/interface-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/interface-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/interface-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/interface-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/interface-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 12 /autoptr/interface-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/object-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/object-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/object-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/object-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/object-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/object-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/object-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/object-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 13 /autoptr/object-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/property-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/property-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/property-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/property-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/property-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/property-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/property-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/property-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 14 /autoptr/property-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/registered-type-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/registered-type-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/registered-type-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/registered-type-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/registered-type-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/registered-type-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/registered-type-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/registered-type-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 15 /autoptr/registered-type-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/signal-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/signal-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/signal-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/signal-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/signal-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/signal-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/signal-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/signal-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 16 /autoptr/signal-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/struct-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/struct-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/struct-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/struct-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/struct-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/struct-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/struct-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/struct-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 17 /autoptr/struct-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/type-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/type-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/type-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/type-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/type-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/type-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/type-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/type-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 18 /autoptr/type-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/union-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/union-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/union-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/union-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/union-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/union-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/union-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/union-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 19 /autoptr/union-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/value-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/value-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/value-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/value-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/value-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/value-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/value-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/value-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 20 /autoptr/value-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/vfunc-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/vfunc-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/vfunc-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/vfunc-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/autoptr/vfunc-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/vfunc-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/vfunc-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/autoptr/vfunc-info/.dirs/runtime 793s ok - glib/autoptr-girepository.test 793s # Running test: glib/gdbus-serialization.test 793s ok - glib/gdbus-serialization.test 793s # Running test: glib/search-utils.test 793s ok - glib/search-utils.test 793s # Running test: glib/type-flags.test 793s ok - glib/type-flags.test 793s # Running test: glib/network-monitor.test 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 21 /autoptr/vfunc-info 793s # End of autoptr tests 793s # Start of auto tests 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/auto/arg-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/auto/arg-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/auto/arg-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/auto/arg-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/auto/arg-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/auto/arg-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/auto/arg-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/auto/arg-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 22 /auto/arg-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/auto/type-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/auto/type-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/auto/type-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/auto/type-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/auto/type-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/auto/type-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/auto/type-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/auto/type-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 23 /auto/type-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PW4HJ3/auto/function-invoker/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/auto/function-invoker/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_PW4HJ3/auto/function-invoker/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PW4HJ3/auto/function-invoker/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PW4HJ3/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_PW4HJ3/auto/function-invoker/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PW4HJ3/auto/function-invoker/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PW4HJ3/auto/function-invoker/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PW4HJ3/auto/function-invoker/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 24 /auto/function-invoker 793s # End of auto tests 793s TAP version 14 793s # random seed: R02Sb580a565cbe0abccbf0e30d7cfbe6892 793s 1..18 793s # Start of gdbus tests 793s # Start of message-serialize tests 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/basic/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/basic/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/basic/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/basic/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/basic/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/basic/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/basic/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/basic/.dirs/runtime 793s ok 1 /gdbus/message-serialize/basic 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/complex/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/complex/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/complex/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/complex/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/complex/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/complex/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/complex/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/complex/.dirs/runtime 793s ok 2 /gdbus/message-serialize/complex 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/invalid/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/invalid/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/invalid/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/invalid/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/invalid/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/invalid/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/invalid/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/invalid/.dirs/runtime 793s ok 3 /gdbus/message-serialize/invalid 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/.dirs/runtime 793s ok 4 /gdbus/message-serialize/header-checks 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/double-array/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/double-array/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/double-array/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/double-array/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/double-array/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/double-array/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/double-array/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/double-array/.dirs/runtime 793s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 793s ok 5 /gdbus/message-serialize/double-array 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/empty-structure/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/empty-structure/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/empty-structure/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/empty-structure/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/empty-structure/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/empty-structure/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/empty-structure/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/empty-structure/.dirs/runtime 793s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 793s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 793s ok 6 /gdbus/message-serialize/empty-structure 793s # Start of header-checks tests 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/valid/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/valid/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/valid/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/valid/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/valid/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-serialize/header-checks/valid/.dirs/runtime 793s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 793s ok 7 /gdbus/message-serialize/header-checks/valid 793s # End of header-checks tests 793s # End of message-serialize tests 793s # Start of message-parse tests 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 793s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 793s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/non-signature-header/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/non-signature-header/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/non-signature-header/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/non-signature-header/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/non-signature-header/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/non-signature-header/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/non-signature-header/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/non-signature-header/.dirs/runtime 793s ok 9 /gdbus/message-parse/non-signature-header 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-signature-header/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-signature-header/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-signature-header/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-signature-header/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-signature-header/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-signature-header/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-signature-header/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-signature-header/.dirs/runtime 793s ok 10 /gdbus/message-parse/empty-signature-header 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/multiple-signature-header/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/multiple-signature-header/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/multiple-signature-header/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/multiple-signature-header/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/multiple-signature-header/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/multiple-signature-header/.dirs/runtime 793s ok 11 /gdbus/message-parse/multiple-signature-header 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/over-long-signature-header/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/over-long-signature-header/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/over-long-signature-header/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/over-long-signature-header/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/over-long-signature-header/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/over-long-signature-header/.dirs/runtime 793s ok 12 /gdbus/message-parse/over-long-signature-header 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-header-nesting/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-header-nesting/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-header-nesting/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-header-nesting/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-header-nesting/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-header-nesting/.dirs/runtime 793s ok 13 /gdbus/message-parse/deep-header-nesting 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-body-nesting/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-body-nesting/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-body-nesting/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-body-nesting/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-body-nesting/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/deep-body-nesting/.dirs/runtime 793s ok 14 /gdbus/message-parse/deep-body-nesting 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/truncated/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/truncated/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/truncated/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/truncated/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/truncated/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/truncated/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/truncated/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/truncated/.dirs/runtime 793s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 793s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 793s ok 15 /gdbus/message-parse/truncated 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-structure/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-structure/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-structure/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-structure/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-structure/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-structure/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-structure/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/empty-structure/.dirs/runtime 793s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 793s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 793s ok 16 /gdbus/message-parse/empty-structure 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/missing-header/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/missing-header/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/missing-header/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/missing-header/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/missing-header/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/missing-header/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/missing-header/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/missing-header/.dirs/runtime 793s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 793s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 793s ok 17 /gdbus/message-parse/missing-header 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/invalid-header-type/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/invalid-header-type/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/invalid-header-type/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/invalid-header-type/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/invalid-header-type/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/invalid-header-type/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/invalid-header-type/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_VJZIJ3/gdbus/message-parse/invalid-header-type/.dirs/runtime 793s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 793s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 793s ok 18 /gdbus/message-parse/invalid-header-type 793s # End of message-parse tests 793s # End of gdbus tests 793s TAP version 14 793s # random seed: R02S0ac6d1167174bd5614bd7496a49ffb7b 793s # GLib-DEBUG: Current user locale: C.UTF-8 793s 1..6 793s # Start of search tests 793s # GLib-DEBUG: Started 793s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 793s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 793s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 793s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 793s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 793s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 793s ok 1 /search/basic 793s # GLib-DEBUG: Started 793s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 793s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 793s # GLib-DEBUG: 'ele' - 'élève' should match: OK 793s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 793s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 793s ok 2 /search/composed 793s # GLib-DEBUG: Started 793s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 793s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 793s ok 3 /search/decomposed 793s # GLib-DEBUG: Started 793s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 793s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 793s ok 4 /search/turkish 793s # GLib-DEBUG: Started 793s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 793s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 793s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 793s ok 5 /search/c_locale_unicode 793s # GLib-DEBUG: Started 793s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 793s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 793s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 793s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 793s ok 6 /search/multi_words 793s # End of search tests 793s TAP version 14 793s # random seed: R02Sf116177a175792a1e248ebe74f24f881 793s 1..4 793s # Start of type tests 793s # Start of flags tests 793s ok 1 /type/flags/interface 793s ok 2 /type/flags/final 793s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 793s ok 3 /type/flags/deprecated 793s # Start of final tests 793s ok 4 /type/flags/final/instance-check 793s # End of final tests 793s # End of flags tests 793s # End of type tests 793s ok - glib/network-monitor.test 793s # Running test: glib/assert-msg-test.py.test 793s TAP version 14 793s # random seed: R02S2f3427ff6f2bf585cd434f663ecfc3da 793s 1..4 793s # Start of network-monitor tests 793s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 793s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 793s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 793s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 793s ok 1 /network-monitor/default 793s ok 2 /network-monitor/remove_default 793s ok 3 /network-monitor/add_networks 793s ok 4 /network-monitor/remove_networks 793s # End of network-monitor tests 793s TAP version 13 793s ok 1 __main__.TestAssertMessage.test_gassert 793s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 793s # tmpdir: /tmp/tmpqomx1ela 793s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 793s # Return code: -6 793s # Output: 793s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 793s # Error: 793s # ** 793s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 793s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 793s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 793s # tmpdir: /tmp/tmpwmuwbclg 793s 1..2 793s ok - glib/assert-msg-test.py.test 793s # Running test: glib/live-g-file.test 793s TAP version 14 793s # random seed: R02S3baa9164c6093c1d1f0dcd50e9f17d4b 793s 1..13 793s # Start of live-g-file tests 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/prep_clean_structure/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/prep_clean_structure/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_QLGQJ3/live-g-file/prep_clean_structure/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/prep_clean_structure/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_QLGQJ3/live-g-file/prep_clean_structure/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/prep_clean_structure/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/prep_clean_structure/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QLGQJ3/live-g-file/prep_clean_structure/.dirs/runtime 793s # Cleaning target testing structure in '/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file'... 793s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 793s ok 1 /live-g-file/prep_clean_structure 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/create_structure/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/create_structure/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_QLGQJ3/live-g-file/create_structure/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/create_structure/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_QLGQJ3/live-g-file/create_structure/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/create_structure/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/create_structure/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QLGQJ3/live-g-file/create_structure/.dirs/runtime 793s # 793s # Going to create testing structure in '/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file'... 793s # Creating directory 'dir1'... 793s # Creating directory 'dir1/subdir'... 793s # Creating directory 'dir2'... 793s # Creating directory 'dir-target'... 793s # Creating directory 'dir_no-access'... 793s # Creating directory 'dir_no-write'... 793s # Creating file 'target-file'... 793s # Creating file 'normal_file'... 793s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 793s # Creating file 'executable_file'... 793s # Creating file 'private_file'... 793s # Creating file 'normal_file2'... 793s # Creating file 'readonly_file'... 793s # Creating file 'UTF_příliš z'... 793s # Creating directory 'dir_příliš z'... 793s # Creating symlink 'lost_symlink' --> 'nowhere'... 793s # Creating directory 'dir_hidden'... 793s # Creating file 'dir_hidden/.a-hidden-file'... 793s # Creating file 'dir_hidden/file-in-.hidden1'... 793s # Creating file 'dir_hidden/file-in-.hidden2'... 793s # Creating pattern file... 793s # done. 793s ok 2 /live-g-file/create_structure 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_initial_structure/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_initial_structure/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_initial_structure/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_initial_structure/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_initial_structure/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_initial_structure/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_initial_structure/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_initial_structure/.dirs/runtime 793s # Testing sample structure in '/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file'... 793s # Testing file 'dir1'... 793s # Testing file 'dir1/subdir'... 793s # Testing file 'dir2'... 793s # Testing file 'dir-target'... 793s # Testing file 'dir_no-access'... 793s # Testing file 'dir_no-write'... 793s # Testing file 'target-file'... 793s # Testing file 'normal_file'... 793s # Testing file 'normal_file-symlink'... 793s # Testing file 'executable_file'... 793s # Testing file 'private_file'... 793s # Testing file 'normal_file2'... 793s # Testing file 'readonly_file'... 793s # Testing file 'UTF_příliš z'... 793s # Testing file 'dir_příliš z'... 793s # Testing file 'lost_symlink'... 793s # Testing file 'dir_hidden'... 793s # Testing file 'dir_hidden/.a-hidden-file'... 793s # Testing file 'dir_hidden/file-in-.hidden1'... 793s # Testing file 'dir_hidden/file-in-.hidden2'... 793s # Testing pattern file... 793s # read 65536 bytes, total = 65536 of 65536. 793s ok 3 /live-g-file/test_initial_structure 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_traverse_structure/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_traverse_structure/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_traverse_structure/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_traverse_structure/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_traverse_structure/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_traverse_structure/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_traverse_structure/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_traverse_structure/.dirs/runtime 793s # Traversing through the sample structure in '/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file'... 793s # Found file dir1, relative to root: dir1 793s # Found file subdir, relative to root: dir1/subdir 793s # Found file dir2, relative to root: dir2 793s # Found file dir-target, relative to root: dir-target 793s # Found file dir_no-access, relative to root: dir_no-access 793s # Found file dir_no-write, relative to root: dir_no-write 793s # Found file target-file, relative to root: target-file 793s # Found file normal_file, relative to root: normal_file 793s # Found file normal_file-symlink, relative to root: normal_file-symlink 793s # Found file executable_file, relative to root: executable_file 793s # Found file private_file, relative to root: private_file 793s # Found file normal_file2, relative to root: normal_file2 793s # Found file readonly_file, relative to root: readonly_file 793s # Found file UTF_příliš z, relative to root: UTF_příliš z 793s # Found file dir_příliš z, relative to root: dir_příliš z 793s # Found file lost_symlink, relative to root: lost_symlink 793s # Found file dir_hidden, relative to root: dir_hidden 793s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 793s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 793s # Found file .hidden, relative to root: dir_hidden/.hidden 793s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 793s # Found file pattern_file, relative to root: pattern_file 793s ok 4 /live-g-file/test_traverse_structure 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_enumerate/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_enumerate/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_enumerate/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_enumerate/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_enumerate/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_enumerate/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_enumerate/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_enumerate/.dirs/runtime 793s # Test enumerate '/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file'... 793s # Testing file 'dir_no-access' 793s # Testing file 'normal_file' 793s # Testing file 'normal_file-symlink' 793s # Testing file 'not_exists' 793s # Testing file 'not_exists' 793s # Testing file 'not_exists2' 793s # Testing file 'not_exists3' 793s # Testing file 'not_exists4' 793s # Testing file 'dir_no-execute/file' 793s ok 5 /live-g-file/test_enumerate 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_open/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_open/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_open/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_open/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_open/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_open/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_open/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_open/.dirs/runtime 793s # test_open: 'dir1' 793s # test_open: 'dir_no-access' 793s # test_open: 'target-file' 793s # test_open: 'normal_file-symlink' 793s # test_open: 'executable_file' 793s # test_open: 'private_file' 793s # test_open: 'readonly_file' 793s # test_open: 'UTF_příliš z' 793s # test_open: 'pattern_file' 793s # test_open: 'not_exists' 793s # test_open: 'dir_no-execute/file' 793s # test_open: 'lost_symlink' 793s ok 6 /live-g-file/test_open 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_create/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_create/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_create/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_create/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_create/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_create/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_create/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_create/.dirs/runtime 793s # test_create: 'dir1' 793s # error code 3 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir1”: Is a directory 793s # test_create: 'dir1/subdir' 793s # error code 3 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir1/subdir”: Is a directory 793s # test_create: 'dir2' 793s # error code 2 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir2”: File exists 793s # test_create: 'normal_file' 793s # error code 2 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/normal_file”: File exists 793s # test_create: 'executable_file' 793s # test_create: 'private_file' 793s # test_create: 'normal_file2' 793s # test_create: 'UTF_příliš z' 793s # error code 2 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/UTF_příliš z”: File exists 793s # test_create: 'dir_příliš z' 793s # error code 2 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_příliš z”: File exists 793s # test_create: 'pattern_file' 793s # test_create: 'not_exists2' 793s # test_create: 'not_exists3' 793s # test_create: 'not_exists4' 793s ok 7 /live-g-file/test_create 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_copy_move/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_copy_move/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_copy_move/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_copy_move/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_copy_move/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_copy_move/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_copy_move/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_copy_move/.dirs/runtime 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'dir1/subdir' --> 'dir-target' 793s # res = 0, error code 25 = Can’t recursively copy directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'dir1/subdir' --> '.' 793s # res = 0, error code 2 = Target file exists 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'dir1/subdir' --> 'target-file' 793s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/target-file/dir1/subdir”: Not a directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'dir1/subdir' --> 'not_exists' 793s # res = 0, error code 25 = Can’t recursively copy directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 793s # res = 0, error code 25 = Can’t recursively copy directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 793s # res = 0, error code 25 = Can’t recursively copy directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'dir2' --> 'dir-target' 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'dir-target' --> 'dir-target' 793s # res = 0, error code 25 = Can’t recursively copy directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'dir-target' --> '.' 793s # res = 0, error code 2 = Target file exists 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'dir-target' --> 'target-file' 793s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/target-file/dir-target”: Not a directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'dir-target' --> 'not_exists' 793s # res = 0, error code 25 = Can’t recursively copy directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'dir-target' --> 'dir_no-access' 793s # res = 0, error code 25 = Can’t recursively copy directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'dir-target' --> 'dir_no-write' 793s # res = 0, error code 25 = Can’t recursively copy directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'target-file' --> 'dir-target' 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'target-file' --> '.' 793s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/target-file”: File exists 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'target-file' --> 'target-file' 793s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/target-file/target-file”: Not a directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'target-file' --> 'not_exists' 793s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists/target-file”: No such file or directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'target-file' --> 'dir_no-access' 793s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_no-access/target-file”: Permission denied 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'target-file' --> 'dir_no-write' 793s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_no-write/target-file”: Permission denied 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'normal_file-symlink' --> '.' 793s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/normal_file-symlink: File exists 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'normal_file-symlink' --> 'target-file' 793s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 793s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 793s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 793s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'executable_file' --> 'dir-target' 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'executable_file' --> 'dir-target' 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'executable_file' --> '.' 793s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/executable_file”: File exists 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'executable_file' --> 'target-file' 793s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/target-file/executable_file”: Not a directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'executable_file' --> 'not_exists' 793s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists/executable_file”: No such file or directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'executable_file' --> 'dir_no-access' 793s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_no-access/executable_file”: Permission denied 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'executable_file' --> 'dir_no-write' 793s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_no-write/executable_file”: Permission denied 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'private_file' --> 'dir-target' 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'private_file' --> 'dir-target' 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'private_file' --> '.' 793s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/private_file”: File exists 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'private_file' --> 'target-file' 793s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/target-file/private_file”: Not a directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'private_file' --> 'not_exists' 793s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists/private_file”: No such file or directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'private_file' --> 'dir_no-access' 793s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_no-access/private_file”: Permission denied 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'private_file' --> 'dir_no-write' 793s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_no-write/private_file”: Permission denied 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'normal_file2' --> 'dir-target' 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'normal_file2' --> 'dir-target' 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'normal_file2' --> '.' 793s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/normal_file2”: File exists 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'normal_file2' --> 'target-file' 793s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/target-file/normal_file2”: Not a directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'normal_file2' --> 'not_exists' 793s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists/normal_file2”: No such file or directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'normal_file2' --> 'dir_no-access' 793s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_no-access/normal_file2”: Permission denied 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'normal_file2' --> 'dir_no-write' 793s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_no-write/normal_file2”: Permission denied 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'UTF_příliš z' --> '.' 793s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/UTF_příliš z”: File exists 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'UTF_příliš z' --> 'target-file' 793s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/target-file/UTF_příliš z”: Not a directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'UTF_příliš z' --> 'not_exists' 793s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists/UTF_příliš z”: No such file or directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'UTF_příliš z' --> 'dir_no-access' 793s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_no-access/UTF_příliš z”: Permission denied 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'UTF_příliš z' --> 'dir_no-write' 793s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_no-write/UTF_příliš z”: Permission denied 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'pattern_file' --> 'dir-target' 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'pattern_file' --> '.' 793s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/pattern_file”: File exists 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'pattern_file' --> 'target-file' 793s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/target-file/pattern_file”: Not a directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'pattern_file' --> 'not_exists' 793s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists/pattern_file”: No such file or directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'pattern_file' --> 'dir_no-access' 793s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_no-access/pattern_file”: Permission denied 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'pattern_file' --> 'dir_no-write' 793s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_no-write/pattern_file”: Permission denied 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'not_exists' --> 'dir-target' 793s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists”: No such file or directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'not_exists' --> '.' 793s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists”: No such file or directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'not_exists' --> 'target-file' 793s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists”: No such file or directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'not_exists' --> 'not_exists' 793s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists”: No such file or directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'not_exists' --> 'dir_no-access' 793s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists”: No such file or directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'not_exists' --> 'dir_no-write' 793s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists”: No such file or directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'not_exists' --> 'dir-target' 793s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists: No such file or directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'lost_symlink' --> 'dir-target' 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'lost_symlink' --> '.' 793s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/lost_symlink: File exists 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'lost_symlink' --> 'target-file' 793s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/target-file/lost_symlink: Not a directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'lost_symlink' --> 'not_exists' 793s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 793s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 793s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 793s ok 8 /live-g-file/test_copy_move 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_delete/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_delete/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_delete/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_delete/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_delete/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_delete/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_delete/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_delete/.dirs/runtime 793s # Deleting dir1, path = /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir1 793s # result = 0, error = Error removing file /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir1: Directory not empty 793s # Deleting dir2, path = /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir2 793s # result = 0, error = Error removing file /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir2: No such file or directory 793s # Deleting executable_file, path = /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/executable_file 793s # result = 0, error = Error trashing file /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/executable_file: No such file or directory 793s # Deleting readonly_file, path = /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/readonly_file 793s # Deleting dir_příliš z, path = /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_příliš z 793s # Deleting not_exists, path = /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists 793s # result = 0, error = Error removing file /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists: No such file or directory 793s # Deleting not_exists, path = /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists 793s # result = 0, error = Error trashing file /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/not_exists: No such file or directory 793s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_no-execute/file 793s # result = 0, error = Error removing file /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/dir_no-execute/file: No such file or directory 793s # Deleting lost_symlink, path = /tmp/test_live-g-file_QLGQJ3/testdir_live-g-file/lost_symlink 793s ok 9 /live-g-file/test_delete 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_make_directory_with_parents/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_make_directory_with_parents/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_make_directory_with_parents/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_make_directory_with_parents/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_make_directory_with_parents/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_make_directory_with_parents/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_make_directory_with_parents/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_make_directory_with_parents/.dirs/runtime 793s # We do not have CAP_DAC_OVERRIDE or equivalent 793s ok 10 /live-g-file/test_make_directory_with_parents 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/final_clean/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/final_clean/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_QLGQJ3/live-g-file/final_clean/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/final_clean/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_QLGQJ3/live-g-file/final_clean/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/final_clean/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/final_clean/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QLGQJ3/live-g-file/final_clean/.dirs/runtime 793s # Cleaning target testing structure in '/tmp/test_live-g-file_QLGQJ3/testdir_live-g-file'... 793s # deleting 'dir1' 793s # deleting 'subdir' 793s # deleting 'dir-target' 793s # deleting 'dir2' 793s # deleting 'target-file' 793s # deleting 'normal_file-symlink' 793s # deleting 'pattern_file' 793s # deleting 'executable_file' 793s # deleting 'private_file' 793s # deleting 'normal_file2' 793s # deleting 'UTF_příliš z' 793s # deleting 'lost_symlink' 793s # deleting 'dir_no-access' 793s # deleting 'dir_no-write' 793s # deleting 'target-file' 793s # deleting 'normal_file' 793s # deleting 'normal_file-symlink' 793s # deleting 'executable_file~' 793s # deleting 'private_file' 793s # deleting 'normal_file2~' 793s # deleting 'a' 793s # deleting 'UTF_příliš z' 793s # deleting 'dir_hidden' 793s # deleting '.a-hidden-file' 793s # deleting 'file-in-.hidden1' 793s # deleting '.hidden' 793s # deleting 'file-in-.hidden2' 793s ok - glib/live-g-file.test 793s # deleting 'pattern_file' 793s # deleting 'executable_file' 793s # deleting 'normal_file2' 793s # deleting 'not_exists2' 793s # deleting 'not_exists3' 793s # deleting 'not_exists4' 793s ok 11 /live-g-file/final_clean 793s # Start of test_unix_is_mountpoint tests 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 793s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_QLGQJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 793s ok 13 /live-g-file/test_unix_is_mountpoint/proc 793s # End of test_unix_is_mountpoint tests 793s # End of live-g-file tests 793s # Running test: glib/list.test 793s TAP version 14 793s # random seed: R02S18d9cf27371643c37ee852a9d7fb5ac0 793s 1..20 793s # Start of list tests 793s ok 1 /list/sort 793s ok 2 /list/sort-with-data 793s ok 3 /list/insert-before-link 793s ok 4 /list/insert-sorted 793s ok 5 /list/insert-sorted-with-data 793s ok 6 /list/reverse 793s ok 7 /list/nth 793s ok 8 /list/concat 793s ok 9 /list/remove 793s ok 10 /list/remove-all 793s ok 11 /list/first-last 793s ok 12 /list/insert 793s ok 13 /list/free-full 793s ok 14 /list/copy 793s ok 15 /list/copy-deep 793s ok 16 /list/delete-link 793s ok 17 /list/prepend 793s ok 18 /list/position 793s ok 19 /list/double-free 793s # Start of sort tests 793s ok 20 /list/sort/stable 793s # End of sort tests 793s # End of list tests 793s ok - glib/list.test 793s # Running test: glib/memory-monitor-poll.test 793s TAP version 14 793s # random seed: R02Sa4c48d360bfdbdc2a9adbd1f3d1bdf1e 793s 1..4 793s # Start of memory-monitor-poll tests 793s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation poll (GMemoryMonitorPoll) for ‘gio-memory-monitor’ 793s ok 1 /memory-monitor-poll/dup-default 793s # GLib-GIO-DEBUG: memory free ratio 0.190000 793s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 793s ok 2 /memory-monitor-poll/critical-event 793s # GLib-GIO-DEBUG: memory free ratio 0.290000 793s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 793s ok 3 /memory-monitor-poll/medium-event 793s # GLib-GIO-DEBUG: memory free ratio 0.390000 793s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 793s ok 4 /memory-monitor-poll/low-event 793s ok - glib/memory-monitor-poll.test 793s # End of memory-monitor-poll tests 793s # Running test: glib/network-monitor-race.test 793s TAP version 14 793s # random seed: R02S8253af942469192f33b4b7a109acc042 793s 1..1 793s # Start of network-monitor tests 793s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 796s ok 1 /network-monitor/create-in-thread 796s # slow test /network-monitor/create-in-thread executed in 2.15 secs 796s # End of network-monitor tests 796s ok - glib/network-monitor-race.test 796s # Running test: glib/sleepy-stream.test 796s TAP version 14 796s # random seed: R02Sf990352cf59281cf33d918d7b7577506 796s 1..2 796s # Start of filter-stream tests 796s ok 1 /filter-stream/input 796s ok - glib/sleepy-stream.test 796s # Running test: glib/gdbus-names.test 796s ok 2 /filter-stream/async 796s # End of filter-stream tests 796s TAP version 14 796s # random seed: R02Sfa26f4739cf132df3e46a017742451cd 796s 1..10 796s # Start of gdbus tests 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/validate-names/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/validate-names/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_QZKUJ3/gdbus/validate-names/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/validate-names/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_QZKUJ3/gdbus/validate-names/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/validate-names/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/validate-names/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QZKUJ3/gdbus/validate-names/.dirs/runtime 796s ok 1 /gdbus/validate-names 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-own-name/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-own-name/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_QZKUJ3/gdbus/bus-own-name/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-own-name/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_QZKUJ3/gdbus/bus-own-name/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-own-name/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-own-name/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-own-name/.dirs/runtime 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s ok 2 /gdbus/bus-own-name 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name/.dirs/runtime 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s ok 3 /gdbus/bus-watch-name 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start/.dirs/runtime 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s ok 4 /gdbus/bus-watch-name-auto-start 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 796s dbus-daemon[38531]: [session uid=1000 pid=38531 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=38522 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 796s # Acquired a message bus connection 796s dbus-daemon[38531]: [session uid=1000 pid=38531 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 796s # Acquired the name org.gtk.GDBus.FakeService 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures/.dirs/runtime 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s ok 6 /gdbus/bus-watch-name-closures 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s ok 7 /gdbus/bus-watch-name-closures-auto-start 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-different-context/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-different-context/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-different-context/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-different-context/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-different-context/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-different-context/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-different-context/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-watch-different-context/.dirs/runtime 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s ok 8 /gdbus/bus-watch-different-context 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-unwatch-early/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-unwatch-early/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_QZKUJ3/gdbus/bus-unwatch-early/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-unwatch-early/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_QZKUJ3/gdbus/bus-unwatch-early/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-unwatch-early/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-unwatch-early/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QZKUJ3/gdbus/bus-unwatch-early/.dirs/runtime 796s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 796s ok 9 /gdbus/bus-unwatch-early 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/escape-object-path/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/escape-object-path/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_QZKUJ3/gdbus/escape-object-path/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/escape-object-path/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QZKUJ3/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_QZKUJ3/gdbus/escape-object-path/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/escape-object-path/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QZKUJ3/gdbus/escape-object-path/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QZKUJ3/gdbus/escape-object-path/.dirs/runtime 796s ok 10 /gdbus/escape-object-path 796s # End of gdbus tests 796s ok - glib/gdbus-names.test 796s # Running test: glib/signalgroup.test 796s TAP version 14 796s # random seed: R02Sf083b1277ca33fd6323f1e52a05413d8 796s 1..9 796s # Start of GObject tests 796s # Start of SignalGroup tests 796s ok 1 /GObject/SignalGroup/invalid 796s ok 2 /GObject/SignalGroup/simple 796s ok 3 /GObject/SignalGroup/changing-target 796s ok 4 /GObject/SignalGroup/blocking 796s ok 5 /GObject/SignalGroup/weak-ref-target 796s ok 6 /GObject/SignalGroup/connect-object 796s ok 7 /GObject/SignalGroup/signal-parsing 796s ok 8 /GObject/SignalGroup/properties 796s ok 9 /GObject/SignalGroup/interface 796s # Start of signal-parsing tests 796s # End of signal-parsing tests 796s # End of SignalGroup tests 796s # End of GObject tests 796s ok - glib/signalgroup.test 796s # Running test: glib/timer.test 796s TAP version 14 796s # random seed: R02Sfe0ba76d5a21522b6c07f52f1ba54567 796s 1..10 796s # Start of timer tests 796s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 796s ok 2 /timer/stop 796s ok 3 /timer/continue 796s ok 4 /timer/reset 796s ok 5 /timer/is_active 796s # End of timer tests 796s # Start of timeval tests 796s ok 6 /timeval/add 796s ok 7 /timeval/from-iso8601 796s ok 8 /timeval/to-iso8601 796s # Start of to-iso8601 tests 796s ok - glib/timer.test 796s # Running test: glib/unicode-normalize.test 796s ok 9 /timeval/to-iso8601/overflow 796s # End of to-iso8601 tests 796s # End of timeval tests 796s # Start of usleep tests 796s ok 10 /usleep/with-zero-wait 796s # End of usleep tests 796s TAP version 14 796s # random seed: R02Sfcb0be5eab2ce6d5e863aec3eff5f777 796s 1..3 796s # Start of unicode tests 796s # Processing Part0 # Specific cases 796s # Processing Part1 # Character by character test 796s # Processing Part2 # Canonical Order Test 796s # Processing Part3 # PRI #29 Test 796s # Processing Part4 # Canonical closures (excluding Hangul) 796s # Processing Part5 # Chained primary composites 796s ok 1 /unicode/normalize 796s # Invalid UTF-8 vector 0 796s # Invalid UTF-8 vector 1 796s # Invalid UTF-8 vector 2 796s # Invalid UTF-8 vector 3 796s # Invalid UTF-8 vector 4 796s # Invalid UTF-8 vector 5 796s # Invalid UTF-8 vector 6 796s # Invalid UTF-8 vector 7 796s # Invalid UTF-8 vector 8 796s # Invalid UTF-8 vector 9 796s # Invalid UTF-8 vector 10 796s # Invalid UTF-8 vector 11 796s # Invalid UTF-8 vector 12 796s ok 2 /unicode/normalize-invalid 796s # Start of normalize tests 796s ok 3 /unicode/normalize/bad-length 796s # End of normalize tests 796s # End of unicode tests 796s ok - glib/unicode-normalize.test 796s # Running test: glib/spawn-path-search.test 796s TAP version 14 796s # random seed: R02S865077fcebe76a838ce6b9a891c43d18 796s 1..7 796s # Start of spawn tests 796s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 796s # 796s # this is spawn-test-helper from glib/tests 796s # 796s ok 1 /spawn/do-not-search 796s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 796s # 796s # this is spawn-test-helper from path-test-subdir 796s # 796s ok 2 /spawn/search-path 796s # /spawn/search-path-from-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP, spawn-test-helper means $PATH/spawn-test-helper with $PATH from envp. 796s # 796s # this is spawn-test-helper from path-test-subdir 796s # 796s ok 3 /spawn/search-path-from-envp 796s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 796s # 796s # this is spawn-test-helper from path-test-subdir 796s # 796s ok 4 /spawn/search-path-ambiguous 796s # 796s # this is spawn-test-helper from path-test-subdir 796s # 796s ok 5 /spawn/search-path-heap-allocation 796s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 796s # 796s # this is spawn-test-helper from glib/tests 796s # 796s ok 6 /spawn/search-path-fallback-in-environ 796s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 796s # 796s # this is spawn-test-helper from glib/tests 796s # 796s ok 7 /spawn/search-path-fallback-in-envp 796s # End of spawn tests 796s ok - glib/spawn-path-search.test 796s # Running test: glib/portal-support-env-var.test 796s TAP version 14 796s # random seed: R02S1bd54c928141297d0d3ccc0a95460b24 796s 1..1 796s # Start of portal-support tests 796s ok 1 /portal-support/env-var 796s # End of portal-support tests 796s ok - glib/portal-support-env-var.test 796s # Running test: glib/giomodule.test 796s TAP version 14 796s # random seed: R02Se3687e309672bf093b7bf3c870cab312 796s 1..3 796s # Start of giomodule tests 796s ok 1 /giomodule/extension-point 796s ok 2 /giomodule/module-scan-all 796s ok - glib/giomodule.test 796s ok 3 /giomodule/module-scan-all-with-scope 796s # End of giomodule tests 796s # Running test: glib/atomic.test 796s TAP version 14 796s # random seed: R02S7205ed7e91dc1befb7451e3698f4a54f 796s 1..2 796s # Start of atomic tests 796s ok 1 /atomic/types 796s ok - glib/atomic.test 796s ok 2 /atomic/threaded 796s # End of atomic tests 796s # Running test: glib/cxx-03.test 796s TAP version 14 796s # random seed: R02S337e07a7e7095a32e1fd73c2a1d6074e 796s 1..2 796s # Start of gtask tests 796s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 796s ok 1 /gtask/name 796s # Start of name tests 796s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 796s ok 2 /gtask/name/macro-wrapper 796s # End of name tests 796s # End of gtask tests 796s ok - glib/cxx-03.test 796s # Running test: glib/bytes.test 796s TAP version 14 796s # random seed: R02Sc85405f08e7f0014c8c0005ee689d222 796s 1..21 796s # Start of bytes tests 796s ok 1 /bytes/new 796s ok 2 /bytes/new-take 796s ok 3 /bytes/new-static 796s ok 4 /bytes/new-with-free-func 796s ok 5 /bytes/new-from-bytes 796s ok 6 /bytes/new-from-bytes-slice 796s ok 7 /bytes/new-from-bytes-shared-ref 796s ok 8 /bytes/hash 796s ok 9 /bytes/equal 796s ok 10 /bytes/compare 796s ok 11 /bytes/null 796s ok 12 /bytes/get-region 796s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 796s ok 13 /bytes/unref-null 796s # Start of to-data tests 796s ok 14 /bytes/to-data/transferred 796s ok 15 /bytes/to-data/two-refs 796s ok 16 /bytes/to-data/non-malloc 796s ok 17 /bytes/to-data/different-free-func 796s # End of to-data tests 796s # Start of to-array tests 796s ok 18 /bytes/to-array/transferred 796s ok 19 /bytes/to-array/two-refs 796s ok 20 /bytes/to-array/non-malloc 796s # Start of transferred tests 796s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 796s ok 21 /bytes/to-array/transferred/oversize 796s # End of transferred tests 796s # End of to-array tests 796s # End of bytes tests 796s ok - glib/bytes.test 796s # Running test: glib/node.test 796s TAP version 14 796s # random seed: R02Se1d02cbd0739425cdff5717b19ae9280 796s 1..6 796s # Start of node tests 796s ok 1 /node/allocation 796s ok 2 /node/construction 796s ok 3 /node/traversal 796s ok 4 /node/misc 796s ok 5 /node/unlink 796s ok 6 /node/copy 796s # End of node tests 796s ok - glib/node.test 796s # Running test: glib/module-test-plugin.test 796s TAP version 14 796s # random seed: R02S71b1bdd79c68de57521c7c76f6647c48 796s 1..3 796s # Start of module tests 796s ok 1 /module/basics 796s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 796s ok 2 /module/invalid-libtool-archive 796s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 796s ok 3 /module/local-binding 796s # End of module tests 796s ok - glib/module-test-plugin.test 796s # Running test: glib/async-close-output-stream.test 796s TAP version 14 796s # random seed: R02Scd2a6c76a4153329d292d150613ad776 796s 1..3 796s # Start of close-async tests 796s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 796s ok 1 /close-async/without-flush 796s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 796s ok 2 /close-async/with-flush 796s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 796s ok 3 /close-async/with-async-flush 796s # End of close-async tests 796s ok - glib/async-close-output-stream.test 796s # Running test: glib/logging.test 796s TAP version 14 796s # random seed: R02Se65f40c316a63f1cf7e16f5fb66e10c9 796s 1..20 796s # Start of logging tests 796s # Executing: glib/logging.test 796s ok 1 /logging/default-handler 796s ok 2 /logging/journald-handler 796s ok 3 /logging/warnings 796s ok 4 /logging/fatal-log-mask 796s ok 5 /logging/always-fatal 796s # bu-DEBUG: message 796s # ba-DEBUG: message 796s # ba-INFO: message 796s ok 6 /logging/set-handler 796s ok 7 /logging/print-handler 796s ok 8 /logging/printerr-handler 796s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 796s # The Log Message Handler 796s # 796s # The Good Fail Message Handler 796s # 796s ok 9 /logging/653052 796s ok 10 /logging/gibberish 796s # Start of default-handler tests 796s # Start of subprocess tests 796s # End of subprocess tests 796s # End of default-handler tests 796s # End of logging tests 796s # Start of structured-logging tests 796s ok 11 /structured-logging/no-state 796s ok 12 /structured-logging/some-state 796s # /structured-logging/recursion-overflow summary: Test that g_log_structured always sets n_fields correctly. 796s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3760 796s ok 13 /structured-logging/recursion-overflow 796s ok 14 /structured-logging/robustness 796s ok 15 /structured-logging/roundtrip1 796s ok 16 /structured-logging/roundtrip2 796s ok 17 /structured-logging/roundtrip3 796s ok 18 /structured-logging/variant1 796s ok 19 /structured-logging/variant2 796s ok 20 /structured-logging/set-writer-func-twice 796s # End of structured-logging tests 796s ok - glib/logging.test 796s # Running test: glib/ir-parser.test 796s TAP version 14 796s # random seed: R02S27fe5feae0c0567eb316eb07f85dfc40 796s 1..1 796s # Start of ir-parser tests 796s # /ir-parser/type-parsing summary: Test parsing different valid and invalid types 796s # GLib-GIRepository-DEBUG: 796s # GLib-GIRepository-DEBUG: pushing node 1 dummy 796s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 796s # GLib-GIRepository-DEBUG: 796s # GLib-GIRepository-DEBUG: 796s # GLib-GIRepository-DEBUG: 796s # GLib-GIRepository-DEBUG: 796s # GLib-GIRepository-DEBUG: popping node 1 dummy 796s # GLib-GIRepository-DEBUG: 796s # GLib-GIRepository-DEBUG: 796s # GLib-GIRepository-DEBUG: 796s # GLib-GIRepository-DEBUG: pushing node 1 dummy 796s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 796s # GLib-GIRepository-DEBUG: 796s # GLib-GIRepository-DEBUG: 796s # GLib-GIRepository-DEBUG: 796s # GLib-GIRepository-DEBUG: 796s # GLib-GIRepository-DEBUG: popping node 1 dummy 796s # GLib-GIRepository-DEBUG: 796s # GLib-GIRepository-DEBUG: 796s # GLib-GIRepository-DEBUG: 796s # GLib-GIRepository-DEBUG: pushing node 1 dummy 796s # GLib-GIRepository-DEBUG: Failed to parse type: 'GLib.Error [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 806s # -r specify root type 806s # -n don't descend type tree 806s # -h show help 806s # -b specify indent string 806s # -i specify incremental indent string 806s # -s specify line spacing 806s # qualifiers: 806s # froots iterate over fundamental roots 806s # tree print type tree 806s # Error: 806s ok 3 __main__.TestGobjectQuery.test_tree 806s # gobject-query: /usr/bin/gobject-query 806s # tmpdir: /tmp/tmp_dcv9s51 806s # Running: ['/usr/bin/gobject-query', 'tree'] 806s # Return code: 0 806s # Output: 806s # GObject 806s # Error: 806s ok 4 __main__.TestGobjectQuery.test_version 806s # gobject-query: /usr/bin/gobject-query 806s # tmpdir: /tmp/tmpc7xv9qlo 806s # Running: ['/usr/bin/gobject-query', '--version'] 806s # Return code: 0 806s # Output: 806s # 2.86.3 806s # Error: 806s 1..4 806s ok - glib/gobject-query.py.test 806s # Running test: glib/notify-init2.test 806s TAP version 14 806s # random seed: R02S386543adc1b24287ab1f5756b6032f43 806s 1..1 806s # Start of properties tests 806s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 806s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 806s ok 1 /properties/notify-in-init2 806s # End of properties tests 806s ok - glib/notify-init2.test 806s # Running test: glib/union-info.test 806s TAP version 14 806s # random seed: R02S14adf9147fb5aff0742374a431e504a6 806s 1..2 806s # Start of union-info tests 806s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_33QYJ3/union-info/basic/.dirs/home 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_33QYJ3/union-info/basic/.dirs/cache 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_33QYJ3/union-info/basic/.dirs/system-config1:/tmp/test_union-info_33QYJ3/union-info/basic/.dirs/system-config2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_33QYJ3/union-info/basic/.dirs/config 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_33QYJ3/union-info/basic/.dirs/system-data1:/tmp/test_union-info_33QYJ3/union-info/basic/.dirs/system-data2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_33QYJ3/union-info/basic/.dirs/data 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_33QYJ3/union-info/basic/.dirs/state 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_33QYJ3/union-info/basic/.dirs/runtime 806s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 806s # /union-info/basic summary: Test basic properties of GIUnionInfo 806s ok 1 /union-info/basic 806s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_33QYJ3/union-info/methods/.dirs/home 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_33QYJ3/union-info/methods/.dirs/cache 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_33QYJ3/union-info/methods/.dirs/system-config1:/tmp/test_union-info_33QYJ3/union-info/methods/.dirs/system-config2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_33QYJ3/union-info/methods/.dirs/config 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_33QYJ3/union-info/methods/.dirs/system-data1:/tmp/test_union-info_33QYJ3/union-info/methods/.dirs/system-data2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_33QYJ3/union-info/methods/.dirs/data 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_33QYJ3/union-info/methods/.dirs/state 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_33QYJ3/union-info/methods/.dirs/runtime 806s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 806s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 806s ok 2 /union-info/methods 806s # End of union-info tests 806s TAP version 14 806s # random seed: R02S3851fd8c659a6287e740f7ce67d2955c 806s 1..2 806s # Start of gtask tests 806s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 806s ok 1 /gtask/name 806s # Start of name tests 806s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 806s ok 2 /gtask/name/macro-wrapper 806s # End of name tests 806s # End of gtask tests 806s TAP version 14 806s # random seed: R02Sf0ad1d4b0f1edbd6ff4022ca065d699a 806s 1..4 806s # Start of field-info tests 806s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_W1OYJ3/field-info/basic-struct-field/.dirs/home 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_W1OYJ3/field-info/basic-struct-field/.dirs/cache 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_W1OYJ3/field-info/basic-struct-field/.dirs/system-config1:/tmp/test_field-info_W1OYJ3/field-info/basic-struct-field/.dirs/system-config2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_W1OYJ3/field-info/basic-struct-field/.dirs/config 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_W1OYJ3/field-info/basic-struct-field/.dirs/system-data1:/tmp/test_field-info_W1OYJ3/field-info/basic-struct-field/.dirs/system-data2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_W1OYJ3/field-info/basic-struct-field/.dirs/data 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_W1OYJ3/field-info/basic-struct-field/.dirs/state 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_W1OYJ3/field-info/basic-struct-field/.dirs/runtime 806s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 806s # /field-info/basic-struct-field summary: Test basic properties of a GIFieldInfo from a C struct 806s ok 1 /field-info/basic-struct-field 806s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_W1OYJ3/field-info/basic-union-field/.dirs/home 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_W1OYJ3/field-info/basic-union-field/.dirs/cache 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_W1OYJ3/field-info/basic-union-field/.dirs/system-config1:/tmp/test_field-info_W1OYJ3/field-info/basic-union-field/.dirs/system-config2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_W1OYJ3/field-info/basic-union-field/.dirs/config 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_W1OYJ3/field-info/basic-union-field/.dirs/system-data1:/tmp/test_field-info_W1OYJ3/field-info/basic-union-field/.dirs/system-data2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_W1OYJ3/field-info/basic-union-field/.dirs/data 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_W1OYJ3/field-info/basic-union-field/.dirs/state 806s ok - glib/union-info.test 806s # Running test: glib/cxx-2b.test 806s ok - glib/cxx-2b.test 806s # Running test: glib/field-info.test 806s ok - glib/field-info.test 806s # Running test: glib/overflow.test 806s ok - glib/overflow.test 806s # Running test: glib/utils-unisolated.test 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_W1OYJ3/field-info/basic-union-field/.dirs/runtime 806s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 806s # /field-info/basic-union-field summary: Test basic properties of a GIFieldInfo from a C union 806s ok 2 /field-info/basic-union-field 806s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_W1OYJ3/field-info/read-write-struct-field/.dirs/home 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_W1OYJ3/field-info/read-write-struct-field/.dirs/cache 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_W1OYJ3/field-info/read-write-struct-field/.dirs/system-config1:/tmp/test_field-info_W1OYJ3/field-info/read-write-struct-field/.dirs/system-config2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_W1OYJ3/field-info/read-write-struct-field/.dirs/config 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_W1OYJ3/field-info/read-write-struct-field/.dirs/system-data1:/tmp/test_field-info_W1OYJ3/field-info/read-write-struct-field/.dirs/system-data2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_W1OYJ3/field-info/read-write-struct-field/.dirs/data 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_W1OYJ3/field-info/read-write-struct-field/.dirs/state 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_W1OYJ3/field-info/read-write-struct-field/.dirs/runtime 806s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 806s # /field-info/read-write-struct-field summary: Test reading and writing of a GIFieldInfo from a C union 806s ok 3 /field-info/read-write-struct-field 806s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_W1OYJ3/field-info/read-write-union-field/.dirs/home 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_W1OYJ3/field-info/read-write-union-field/.dirs/cache 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_W1OYJ3/field-info/read-write-union-field/.dirs/system-config1:/tmp/test_field-info_W1OYJ3/field-info/read-write-union-field/.dirs/system-config2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_W1OYJ3/field-info/read-write-union-field/.dirs/config 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_W1OYJ3/field-info/read-write-union-field/.dirs/system-data1:/tmp/test_field-info_W1OYJ3/field-info/read-write-union-field/.dirs/system-data2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_W1OYJ3/field-info/read-write-union-field/.dirs/data 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_W1OYJ3/field-info/read-write-union-field/.dirs/state 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_W1OYJ3/field-info/read-write-union-field/.dirs/runtime 806s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 806s # /field-info/read-write-union-field summary: Test reading and writing of a GIFieldInfo from a C union 806s ok 4 /field-info/read-write-union-field 806s # End of field-info tests 806s TAP version 14 806s # random seed: R02S4c60a6fd32f3284f7dea4c8ddd81806e 806s 1..6 806s # Start of glib tests 806s # Start of checked-math tests 806s ok 1 /glib/checked-math/guint-add 806s ok 2 /glib/checked-math/guint-mul 806s ok 3 /glib/checked-math/guint64-add 806s ok 4 /glib/checked-math/guint64-mul 806s ok 5 /glib/checked-math/gsize-add 806s ok 6 /glib/checked-math/gsize-mul 806s # End of checked-math tests 806s # End of glib tests 806s TAP version 14 806s # random seed: R02S9a6357b1f758b96588084eadfbaf3bb2 806s 1..1 806s # Start of utils tests 806s ok 1 /utils/xdgdirs 806s # End of utils tests 806s ok - glib/utils-unisolated.test 806s # Running test: glib/overflow-fallback.test 806s ok - glib/overflow-fallback.test 806s # Running test: glib/asyncqueue.test 806s TAP version 14 806s # random seed: R02S8491edab9e52a862238364306079e0b8 806s 1..6 806s # Start of glib tests 806s # Start of checked-math tests 806s ok 1 /glib/checked-math/guint-add 806s ok 2 /glib/checked-math/guint-mul 806s ok 3 /glib/checked-math/guint64-add 806s ok 4 /glib/checked-math/guint64-mul 806s ok 5 /glib/checked-math/gsize-add 806s ok 6 /glib/checked-math/gsize-mul 806s # End of checked-math tests 806s # End of glib tests 806s TAP version 14 806s # random seed: R02S659c15fe6c3cb9e3d992bdec06740edb 806s 1..7 806s # Start of asyncqueue tests 806s ok 1 /asyncqueue/basics 806s ok 2 /asyncqueue/sort 806s ok 3 /asyncqueue/destroy 806s ok 4 /asyncqueue/threads 806s # Executing: glib/asyncqueue.test 806s ok - glib/asyncqueue.test 806s # Running test: glib/gdbus-exit-on-close.test 806s ok 5 /asyncqueue/timed 806s ok 6 /asyncqueue/remove 806s ok 7 /asyncqueue/push_front 806s # End of asyncqueue tests 806s TAP version 14 806s # random seed: R02Sd53990468d69eb3b31e457961d7f93fa 806s 1..4 806s # Start of gdbus tests 806s # Start of exit-on-close tests 806s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/default/.dirs/home 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/default/.dirs/cache 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/default/.dirs/system-config2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/default/.dirs/config 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/default/.dirs/system-data2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/default/.dirs/data 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/default/.dirs/state 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/default/.dirs/runtime 806s ok 1 /gdbus/exit-on-close/default 806s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/true/.dirs/home 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/true/.dirs/cache 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/true/.dirs/system-config2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/true/.dirs/config 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/true/.dirs/system-data2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/true/.dirs/data 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/true/.dirs/state 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/true/.dirs/runtime 806s ok 2 /gdbus/exit-on-close/true 806s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/false/.dirs/home 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/false/.dirs/cache 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/false/.dirs/system-config2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/false/.dirs/config 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/false/.dirs/system-data2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/false/.dirs/data 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/false/.dirs/state 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/false/.dirs/runtime 806s ok 3 /gdbus/exit-on-close/false 806s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/we-close/.dirs/home 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/we-close/.dirs/cache 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/we-close/.dirs/system-config2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/we-close/.dirs/config 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/we-close/.dirs/system-data2 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/we-close/.dirs/data 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/we-close/.dirs/state 806s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_WQ2MJ3/gdbus/exit-on-close/we-close/.dirs/runtime 807s ok 4 /gdbus/exit-on-close/we-close 807s # Start of default tests 807s # End of default tests 807s # Start of true tests 807s # End of true tests 807s # Start of false tests 807s # End of false tests 807s # Start of we-close tests 807s # End of we-close tests 807s # End of exit-on-close tests 807s # End of gdbus tests 807s ok - glib/gdbus-exit-on-close.test 807s # Running test: glib/thread-deprecated.test 807s TAP version 14 807s # random seed: R02Sb141fd81794de3b6a16d91f6b949def2 807s 1..6 807s # Start of thread tests 807s ok 1 /thread/mutex 807s ok 2 /thread/static-rec-mutex 811s # Executing: glib/thread-deprecated.test 812s ok 3 /thread/static-private 812s # slow test /thread/static-private executed in 4.40 secs 816s # Executing: glib/thread-deprecated.test 817s ok 4 /thread/static-rw-lock 817s # slow test /thread/static-rw-lock executed in 5.00 secs 817s ok 5 /thread/once 821s # Executing: glib/thread-deprecated.test 826s # Executing: glib/thread-deprecated.test 827s ok 6 /thread/rerun-all 827s # slow test /thread/rerun-all executed in 10.02 secs 827s # End of thread tests 827s ok - glib/thread-deprecated.test 827s # Running test: glib/dbus-appinfo.test 827s TAP version 14 827s # random seed: R02S76e830a1e7b53727dee270ad7315ccaf 827s 1..7 827s # Start of appinfo tests 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/dbusappinfo/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/dbusappinfo/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_6510J3/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_6510J3/appinfo/dbusappinfo/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/dbusappinfo/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_6510J3/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_6510J3/appinfo/dbusappinfo/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/dbusappinfo/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/dbusappinfo/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_6510J3/appinfo/dbusappinfo/.dirs/runtime 827s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 827s ok 1 /appinfo/dbusappinfo 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-doc-export/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-doc-export/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-doc-export/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-doc-export/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-doc-export/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-doc-export/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-doc-export/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-doc-export/.dirs/runtime 827s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 827s # Acquired a message bus connection 827s # Acquired the name org.freedesktop.portal.Documents 827s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_6510J3/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-doc-export/.dirs/config 827s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 827s # fake-document-portal cancelled 827s ok 2 /appinfo/flatpak-doc-export 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-missing-doc-export/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-missing-doc-export/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-missing-doc-export/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-missing-doc-export/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-missing-doc-export/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-missing-doc-export/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-missing-doc-export/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-missing-doc-export/.dirs/runtime 827s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 827s # Acquired a message bus connection 827s # Acquired the name org.freedesktop.portal.Documents 827s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-missing-doc-export/.dirs/config 827s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 827s # fake-document-portal cancelled 827s ok 3 /appinfo/flatpak-missing-doc-export 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file/.dirs/runtime 827s # Acquired a message bus connection 827s # Acquired the name org.freedesktop.portal.Desktop 827s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_6510J3/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file/.dirs/config 827s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 827s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 827s # Response emitted 827s # fake-desktop-portal cancelled 827s ok 4 /appinfo/portal-open-file 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri/.dirs/runtime 827s # Acquired a message bus connection 827s # Acquired the name org.freedesktop.portal.Desktop 827s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri/.dirs/config 827s # Got open file request for http://example.com 827s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 827s # Response emitted 827s # fake-desktop-portal cancelled 827s ok 5 /appinfo/portal-open-uri 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file-async/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file-async/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file-async/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file-async/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file-async/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file-async/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file-async/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file-async/.dirs/runtime 827s # Acquired a message bus connection 827s # Acquired the name org.freedesktop.portal.Desktop 827s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file-async/.dirs/config 827s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 827s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio994562623 827s # Response emitted 827s # fake-desktop-portal cancelled 827s ok 6 /appinfo/portal-open-file-async 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri-async/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri-async/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri-async/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri-async/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri-async/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri-async/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri-async/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri-async/.dirs/runtime 827s # Acquired a message bus connection 827s # Acquired the name org.freedesktop.portal.Desktop 827s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_6510J3/appinfo/portal-open-uri-async/.dirs/config 827s ok - glib/dbus-appinfo.test 827s # Got open file request for http://example.com 827s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio60768030 827s # Response emitted 827s # fake-desktop-portal cancelled 827s ok 7 /appinfo/portal-open-uri-async 827s # End of appinfo tests 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s # Running test: glib/shell.test 827s TAP version 14 827s # random seed: R02S7c2790f76b420458365a384ac080e942 827s 1..52 827s # Start of shell tests 827s # Start of cmdline tests 827s test cmdline: foo bar 827s ok 1 /shell/cmdline/0 827s test cmdline: foo 'bar' 827s ok 2 /shell/cmdline/1 827s test cmdline: foo "bar" 827s ok 3 /shell/cmdline/2 827s test cmdline: foo '' 'bar' 827s ok 4 /shell/cmdline/3 827s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 827s ok 5 /shell/cmdline/4 827s test cmdline: foo blah foo bar baz 827s ok 6 /shell/cmdline/5 827s test cmdline: foo ' spaces more spaces lots of spaces in this ' 827s ok 7 /shell/cmdline/6 827s test cmdline: foo \ 827s bar 827s ok 8 /shell/cmdline/7 827s test cmdline: foo '' '' 827s ok 9 /shell/cmdline/8 827s test cmdline: foo \" la la la 827s ok 10 /shell/cmdline/9 827s ok - glib/shell.test 827s # Running test: glib/fdo-notification-backend.test 827s test cmdline: foo \ foo woo woo\ 827s ok 11 /shell/cmdline/10 827s test cmdline: foo "yada yada \$\"" 827s ok 12 /shell/cmdline/11 827s test cmdline: foo "c:\\" 827s ok 13 /shell/cmdline/12 827s test cmdline: foo # bla bla bla 827s bar 827s ok 14 /shell/cmdline/13 827s test cmdline: foo a#b 827s ok 15 /shell/cmdline/14 827s test cmdline: #foo 827s ok 16 /shell/cmdline/15 827s test cmdline: foo bar \ 827s ok 17 /shell/cmdline/16 827s test cmdline: foo 'bar baz 827s ok 18 /shell/cmdline/17 827s test cmdline: foo '"bar" baz 827s ok 19 /shell/cmdline/18 827s test cmdline: 827s ok 20 /shell/cmdline/19 827s test cmdline: 827s ok 21 /shell/cmdline/20 827s test cmdline: # foo bar 827s ok 22 /shell/cmdline/21 827s test cmdline: # 827s ok 23 /shell/cmdline/22 827s test cmdline: foo '/bar/summer'\''09 tours.pdf' 827s ok 24 /shell/cmdline/23 827s # End of cmdline tests 827s # Start of quote tests 827s ok 25 /shell/quote/0 827s ok 26 /shell/quote/1 827s ok 27 /shell/quote/2 827s ok 28 /shell/quote/3 827s ok 29 /shell/quote/4 827s ok 30 /shell/quote/5 827s ok 31 /shell/quote/6 827s # End of quote tests 827s # Start of unquote tests 827s ok 32 /shell/unquote/0 827s ok 33 /shell/unquote/1 827s ok 34 /shell/unquote/2 827s ok 35 /shell/unquote/3 827s ok 36 /shell/unquote/4 827s ok 37 /shell/unquote/5 827s ok 38 /shell/unquote/6 827s ok 39 /shell/unquote/7 827s ok 40 /shell/unquote/8 827s ok 41 /shell/unquote/9 827s ok 42 /shell/unquote/10 827s ok 43 /shell/unquote/11 827s ok 44 /shell/unquote/12 827s ok 45 /shell/unquote/13 827s ok 46 /shell/unquote/14 827s ok 47 /shell/unquote/15 827s ok 48 /shell/unquote/16 827s ok 49 /shell/unquote/17 827s ok 50 /shell/unquote/18 827s ok 51 /shell/unquote/19 827s ok 52 /shell/unquote/20 827s # End of unquote tests 827s # End of shell tests 827s TAP version 14 827s # random seed: R02Sc9aa6f72ec37f67d5cb481246b6f5d60 827s 1..2 827s # Start of fdo-notification-backend tests 827s # Test constructing a GFdoNotificationBackend 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s ok 1 /fdo-notification-backend/construction 827s # Start of dbus tests 827s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 827s ok - glib/fdo-notification-backend.test 827s # Running test: glib/utils-isolated.test 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 827s ok 2 /fdo-notification-backend/dbus/activate-action 827s # End of dbus tests 827s # End of fdo-notification-backend tests 827s TAP version 14 827s # random seed: R02S33fd1b9aa9e12c15b17b4180e2bac93f 827s 1..11 827s # Start of utils-isolated tests 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/tmp-dir/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/tmp-dir/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/tmp-dir/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/tmp-dir/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/tmp-dir/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/tmp-dir/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/tmp-dir/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NEF2J3/utils-isolated/tmp-dir/.dirs/runtime 827s ok 1 /utils-isolated/tmp-dir 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/home-dir/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/home-dir/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/home-dir/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/home-dir/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/home-dir/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/home-dir/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/home-dir/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NEF2J3/utils-isolated/home-dir/.dirs/runtime 827s ok 2 /utils-isolated/home-dir 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-cache-dir/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-cache-dir/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/user-cache-dir/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-cache-dir/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/user-cache-dir/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-cache-dir/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-cache-dir/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-cache-dir/.dirs/runtime 827s ok 3 /utils-isolated/user-cache-dir 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/system-config-dirs/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/system-config-dirs/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/system-config-dirs/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/system-config-dirs/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/system-config-dirs/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/system-config-dirs/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/system-config-dirs/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NEF2J3/utils-isolated/system-config-dirs/.dirs/runtime 827s ok 4 /utils-isolated/system-config-dirs 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-config-dir/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-config-dir/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/user-config-dir/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-config-dir/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/user-config-dir/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-config-dir/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-config-dir/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-config-dir/.dirs/runtime 827s ok 5 /utils-isolated/user-config-dir 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/system-data-dirs/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/system-data-dirs/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/system-data-dirs/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/system-data-dirs/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/system-data-dirs/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/system-data-dirs/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/system-data-dirs/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NEF2J3/utils-isolated/system-data-dirs/.dirs/runtime 827s ok 6 /utils-isolated/system-data-dirs 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-data-dir/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-data-dir/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/user-data-dir/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-data-dir/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/user-data-dir/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-data-dir/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-data-dir/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-data-dir/.dirs/runtime 827s ok 7 /utils-isolated/user-data-dir 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-state-dir/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-state-dir/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/user-state-dir/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-state-dir/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/user-state-dir/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-state-dir/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-state-dir/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-state-dir/.dirs/runtime 827s ok 8 /utils-isolated/user-state-dir 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-runtime-dir/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-runtime-dir/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/user-runtime-dir/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-runtime-dir/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/user-runtime-dir/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-runtime-dir/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-runtime-dir/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NEF2J3/utils-isolated/user-runtime-dir/.dirs/runtime 827s ok 9 /utils-isolated/user-runtime-dir 827s # Start of cleanup tests 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/handles-errors/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/handles-errors/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/handles-errors/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/handles-errors/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/handles-errors/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/handles-errors/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/handles-errors/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/handles-errors/.dirs/runtime 827s Unable to clean up temporary directory /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 827s Unable to clean up temporary directory /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 827s Unable to clean up temporary directory /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/handles-errors: Directory not empty 827s ok 10 /utils-isolated/cleanup/handles-errors 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 827s ok - glib/utils-isolated.test 827s # Running test: glib/value.test 827s Unable to clean up temporary directory /tmp/test_utils-isolated_NEF2J3/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 827s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 827s # End of cleanup tests 827s # End of utils-isolated tests 827s TAP version 14 827s # random seed: R02Se68741e0f5a935d9d53f7c8a5afedd1a 827s 1..9 827s # Start of value tests 827s ok 1 /value/basic 827s ok 2 /value/collection 827s ok 3 /value/copying 827s ok 4 /value/enum-transformation 827s ok 5 /value/gtype 827s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 827s ok 6 /value/string 827s # Next: GObject object in GValue of GObject to GValue of GObject 827s # Next: GObject object in GValue of GObject to GValue of TestInterface 827s # Next: GObject object in GValue of GObject to GValue of TestObjectA 827s # Next: GObject object in GValue of GObject to GValue of TestObjectB 827s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 827s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 827s # Next: TestObjectA object in GValue of GObject to GValue of GObject 827s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 827s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 827s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 827s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 827s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 827s ok - glib/value.test 827s # Running test: glib/dynamictests.test 827s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 827s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 827s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 827s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 827s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 827s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 827s # Next: TestObjectB object in GValue of GObject to GValue of GObject 827s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 827s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 827s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 827s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 827s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 827s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 827s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 827s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 827s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 827s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 827s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 827s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 827s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 827s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 827s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 827s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 827s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 827s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 827s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 827s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 827s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 827s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 827s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 827s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 827s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 827s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 827s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 827s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 827s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 827s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 827s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 827s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 827s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 827s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 827s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 827s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 827s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 827s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 827s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 827s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 827s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 827s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 827s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 827s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 827s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 827s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 827s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 827s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 827s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 827s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 827s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 827s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 827s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 827s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 827s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 827s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 827s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 827s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 827s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 827s ok 7 /value/transform-object 827s # Start of array tests 827s ok 8 /value/array/basic 827s ok 9 /value/array/sort-with-data 827s # End of array tests 827s # End of value tests 827s TAP version 14 827s # random seed: R02S03ec46d39ff98597076d668ec6c4a33a 827s 1..2 827s # Start of GObject tests 827s ok - glib/dynamictests.test 827s ok 1 /GObject/threaded-dynamic-ref-unref-init 827s ok 2 /GObject/dynamic-interface-properties 827s # End of GObject tests 827s # Running test: glib/autoptr.test 827s ok - glib/autoptr.test 827s TAP version 14 827s # random seed: R02S79137869db2618468075b23f1031fc7d 827s 1..6 827s # Start of autoptr tests 827s ok 1 /autoptr/autoptr 827s ok 2 /autoptr/autoptr_steal 827s ok 3 /autoptr/autolist 827s ok 4 /autoptr/autoslist 827s ok 5 /autoptr/autoqueue 827s ok 6 /autoptr/autoclass 827s # End of autoptr tests 827s # Running test: glib/properties-refcount2.test 827s TAP version 14 827s # random seed: R02Sa8c02ac7b8253468425aed70ef6ee7a6 827s 1..1 827s # Start of gobject tests 827s # Start of refcount tests 827s # init 0x12633b944eb0 827s # 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 830s # . 830s # . 830s ok - glib/properties-refcount2.test 830s # . 830s # dispose 0x12633b944eb0! 830s # 830s ok 1 /gobject/refcount/properties-2 830s # slow test /gobject/refcount/properties-2 executed in 2.90 secs 830s # End of refcount tests 830s # End of gobject tests 830s # Running test: glib/singleton.test 830s TAP version 14 830s # random seed: R02Scdd2e666c9ed36d4ea18d91eb20abf1d 830s 1..2 830s # Start of gobject tests 830s # Start of singleton tests 830s ok 1 /gobject/singleton/construction 830s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 830s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 830s ok 2 /gobject/singleton/construct-property 830s # End of singleton tests 830s # End of gobject tests 830s ok - glib/singleton.test 830s # Running test: glib/actions.test 830s TAP version 14 830s # random seed: R02S3f7f505eecc97fdb66e867eb0eed4ac8 830s 1..13 830s # Start of actions tests 830s ok 1 /actions/basic 830s ok 2 /actions/name 830s ok 3 /actions/simplegroup 830s ok 4 /actions/stateful 830s ok 5 /actions/default-activate 830s ok 6 /actions/entries 830s ok 7 /actions/parse-detailed 830s ok 8 /actions/property 830s ok 9 /actions/no-properties 830s # Start of dbus tests 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s ok 10 /actions/dbus/export 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 831s # Executing: glib/actions.test 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s ok 11 /actions/dbus/threaded 832s # slow test /actions/dbus/threaded executed in 2.25 secs 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s ok 12 /actions/dbus/bug679509 832s # Start of export tests 832s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 832s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s ok 13 /actions/dbus/export/error-handling 832s # End of export tests 832s # End of dbus tests 832s # End of actions tests 832s ok - glib/actions.test 832s # Running test: glib/data-input-stream.test 832s TAP version 14 832s # random seed: R02Sad4d62b7d0080c1aa73918c896dfda73 832s 1..10 832s # Start of data-input-stream tests 832s ok 1 /data-input-stream/basic 832s ok 2 /data-input-stream/read-lines-LF 832s ok 3 /data-input-stream/read-lines-LF-valid-utf8 832s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 832s ok 5 /data-input-stream/read-lines-CR 832s ok 6 /data-input-stream/read-lines-CR-LF 832s ok 7 /data-input-stream/read-lines-any 832s ok 8 /data-input-stream/read-until 832s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 832s # Test vector 1: {"key": "value"}? and ? 832s ok 9 /data-input-stream/read-upto 832s ok 10 /data-input-stream/read-int 832s # End of data-input-stream tests 832s ok - glib/data-input-stream.test 832s # Running test: glib/sort.test 832s TAP version 14 832s # random seed: R02S4db30bc3a4405b6b612735e079a52114 832s 1..5 832s # Start of sort tests 832s ok 1 /sort/basic 832s ok 2 /sort/zero-elements 832s ok 3 /sort/stable 832s ok 4 /sort/big 832s ok 5 /sort/deprecated 832s # End of sort tests 832s ok - glib/sort.test 832s # Running test: glib/completion.test 832s TAP version 14 832s # random seed: R02Sf161f6dd075dac75d3ff5281b07e0242 832s 1..1 832s # Start of completion tests 832s ok 1 /completion/test-completion 832s # End of completion tests 832s ok - glib/completion.test 832s # Running test: glib/gdbus-sasl.test 832s TAP version 14 832s # random seed: R02S4d3858b701b5f732dfec4e5d21011cfe 832s 1..1 832s # Start of gdbus tests 832s # Start of sasl tests 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_BEOMJ3/gdbus/sasl/server/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_BEOMJ3/gdbus/sasl/server/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_BEOMJ3/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_BEOMJ3/gdbus/sasl/server/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_BEOMJ3/gdbus/sasl/server/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_BEOMJ3/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_BEOMJ3/gdbus/sasl/server/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_BEOMJ3/gdbus/sasl/server/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_BEOMJ3/gdbus/sasl/server/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_BEOMJ3/gdbus/sasl/server/.dirs/runtime 832s # New handshake: EXTERNAL with incorrect initial response 832s # C:“AUTH EXTERNAL 30” 832s # Expect: /^REJECTED.*$/ 832s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 832s # New handshake: EXTERNAL without initial response, failing to authenticate 832s # C:“AUTH EXTERNAL” 832s # Expect: /^DATA$/ 832s # S:“DATA” 832s # C:“DATA 30” 832s # Expect: /^REJECTED.*$/ 832s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 832s # New handshake: EXTERNAL with initial response 832s # C:“AUTH EXTERNAL 31303030” 832s # Expect: /^OK [0-9a-f]+$/ 832s # S:“OK 3d897ecdf14c9ca2e760097869726ca9” 832s # New handshake: EXTERNAL without initial response 832s # C:“AUTH EXTERNAL” 832s # Expect: /^DATA$/ 832s # S:“DATA” 832s # C:“DATA 31303030” 832s # Expect: /^OK [0-9a-f]+$/ 832s # S:“OK 3d897ecdf14c9ca2e760097869726ca9” 832s # New handshake: EXTERNAL with empty authorization identity 832s # C:“AUTH EXTERNAL” 832s # Expect: /^DATA$/ 832s # S:“DATA” 832s # C:“DATA” 832s # Expect: /^OK [0-9a-f]+$/ 832s # S:“OK 3d897ecdf14c9ca2e760097869726ca9” 832s # New handshake: EXTERNAL with empty authorization identity and whitespace 832s # C:“AUTH EXTERNAL” 832s # Expect: /^DATA$/ 832s # S:“DATA” 832s # C:“DATA ” 832s # Expect: /^OK [0-9a-f]+$/ 832s # S:“OK 3d897ecdf14c9ca2e760097869726ca9” 832s ok - glib/gdbus-sasl.test 832s # Running test: glib/signal-handler.test 832s ok - glib/signal-handler.test 832s # Running test: glib/cxx-14.test 832s ok - glib/cxx-14.test 832s # Running test: glib/memory-input-stream.test 832s ok 1 /gdbus/sasl/server 832s # End of sasl tests 832s # End of gdbus tests 832s TAP version 14 832s # random seed: R02Sf3025aabed89bd96c8263b3ea000a9d9 832s 1..7 832s # Start of signal tests 832s # Start of handler tests 832s # min perf: connected 1 handlers in 0.000 seconds 832s ok 1 /signal/handler/connect-many 832s # min perf: disconnected 1 handlers in 0.000 seconds 832s ok 2 /signal/handler/disconnect-many-ordered 832s # min perf: disconnected 1 handlers in 0.000 seconds 832s ok 3 /signal/handler/disconnect-many-inverse 832s # min perf: disconnected 1 handlers in 0.000 seconds 832s ok 4 /signal/handler/disconnect-many-random 832s # min perf: disconnected 1 handlers in 0.000 seconds 832s ok 5 /signal/handler/disconnect-2-signals 832s # min perf: disconnected 1 handlers in 0.000 seconds 832s ok 6 /signal/handler/disconnect-2-objects 832s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 832s ok 7 /signal/handler/block-many 832s # End of handler tests 832s # End of signal tests 832s TAP version 14 832s # random seed: R02S6b4335466306f63a45ebbb7251155e83 832s 1..2 832s # Start of gtask tests 832s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 832s ok 1 /gtask/name 832s # Start of name tests 832s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 832s ok 2 /gtask/name/macro-wrapper 832s # End of name tests 832s # End of gtask tests 832s TAP version 14 832s # random seed: R02S5a40750089437a6b712b8e85406e4898 832s 1..6 832s # Start of memory-input-stream tests 832s ok 1 /memory-input-stream/read-chunks 832s ok 2 /memory-input-stream/async 832s ok 3 /memory-input-stream/seek 832s ok 4 /memory-input-stream/truncate 832s ok 5 /memory-input-stream/read-bytes 832s ok 6 /memory-input-stream/from-bytes 832s # End of memory-input-stream tests 832s ok - glib/memory-input-stream.test 832s # Running test: glib/gdbus-error.test 832s TAP version 14 832s # random seed: R02S2eb5da445b707562d442a401e767a3ea 832s 1..4 832s # Start of gdbus tests 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/registered-errors/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/registered-errors/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_8ZQNJ3/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_8ZQNJ3/gdbus/registered-errors/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/registered-errors/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_8ZQNJ3/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_8ZQNJ3/gdbus/registered-errors/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/registered-errors/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/registered-errors/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_8ZQNJ3/gdbus/registered-errors/.dirs/runtime 832s ok - glib/gdbus-error.test 832s # Running test: glib/spawn-test.test 832s ok 1 /gdbus/registered-errors 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/unregistered-errors/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/unregistered-errors/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_8ZQNJ3/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_8ZQNJ3/gdbus/unregistered-errors/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/unregistered-errors/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_8ZQNJ3/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_8ZQNJ3/gdbus/unregistered-errors/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/unregistered-errors/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/unregistered-errors/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_8ZQNJ3/gdbus/unregistered-errors/.dirs/runtime 832s ok 2 /gdbus/unregistered-errors 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/transparent-gerror/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/transparent-gerror/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_8ZQNJ3/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_8ZQNJ3/gdbus/transparent-gerror/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/transparent-gerror/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_8ZQNJ3/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_8ZQNJ3/gdbus/transparent-gerror/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/transparent-gerror/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/transparent-gerror/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_8ZQNJ3/gdbus/transparent-gerror/.dirs/runtime 832s ok 3 /gdbus/transparent-gerror 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/register-error/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/register-error/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_8ZQNJ3/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_8ZQNJ3/gdbus/register-error/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/register-error/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_8ZQNJ3/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_8ZQNJ3/gdbus/register-error/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/register-error/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_8ZQNJ3/gdbus/register-error/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_8ZQNJ3/gdbus/register-error/.dirs/runtime 832s ok 4 /gdbus/register-error 832s # End of gdbus tests 832s TAP version 14 832s # random seed: R02S33346bbc5db844b533a82b0f5a781a17 832s 1..2 832s # Start of spawn tests 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_ZHHNJ3/spawn/basics/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_ZHHNJ3/spawn/basics/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_ZHHNJ3/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_ZHHNJ3/spawn/basics/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_ZHHNJ3/spawn/basics/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_ZHHNJ3/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_ZHHNJ3/spawn/basics/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_ZHHNJ3/spawn/basics/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_ZHHNJ3/spawn/basics/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_ZHHNJ3/spawn/basics/.dirs/runtime 832s ok 1 /spawn/basics 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_ZHHNJ3/spawn/stdio-overwrite/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_ZHHNJ3/spawn/stdio-overwrite/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_ZHHNJ3/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_ZHHNJ3/spawn/stdio-overwrite/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_ZHHNJ3/spawn/stdio-overwrite/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_ZHHNJ3/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_ZHHNJ3/spawn/stdio-overwrite/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_ZHHNJ3/spawn/stdio-overwrite/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_ZHHNJ3/spawn/stdio-overwrite/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_ZHHNJ3/spawn/stdio-overwrite/.dirs/runtime 832s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 832s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 832s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 832s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 832s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 832s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 832s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 832s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 832s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 832s # Fetching GSpawn result output with stdin open, stdout open, stderr open 832s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 832s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 832s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 832s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 832s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 832s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 832s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 832s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 832s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 832s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 832s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 832s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 832s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 832s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 832s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 832s # Fetching GSpawn result with stdin open, stdout open, stderr open 832s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 832s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 832s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 832s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 832s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 832s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 832s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 832s ok 2 /spawn/stdio-overwrite 832s # End of spawn tests 832s ok - glib/spawn-test.test 832s # Running test: glib/autoptr-gio.test 832s TAP version 14 832s # random seed: R02Sbddd728186984cfb5c5830d77faf287c 832s 1..1 832s # Start of autoptr tests 832s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 832s ok 1 /autoptr/autoptr 832s # End of autoptr tests 832s ok - glib/autoptr-gio.test 832s # Running test: glib/socket-address.test 832s ok - glib/socket-address.test 832s TAP version 14 832s # random seed: R02Saed21d21234f9e47ca3ac58bbd39e3ff 832s 1..2 832s # Start of socket tests 832s # Start of address tests 832s # Start of unix tests 832s ok 1 /socket/address/unix/construct 832s ok 2 /socket/address/unix/to-string 832s # End of unix tests 832s # End of address tests 832s # End of socket tests 832s # Running test: glib/unix-fd.test 832s ok - glib/unix-fd.test 832s TAP version 14 832s # random seed: R02S61871f5c3531d919d3284750c0c18e4d 832s 1..2 832s # Start of unix-fd tests 832s ok 1 /unix-fd/fd-list 832s ok 2 /unix-fd/scm 832s # End of unix-fd tests 832s # Running test: glib/performance.test 836s # Executing: glib/performance.test 841s # Executing: glib/performance.test 842s simple-construction: Millions of constructed objects per second: 7.002 844s simple-construction1: Millions of constructed objects per second: 57.590 846s # Executing: glib/performance.test 849s complex-construction: Millions of constructed objects per second: 3.889 851s # Executing: glib/performance.test 856s # Executing: glib/performance.test 856s complex-construction1: Millions of constructed objects per second: 4.868 861s # Executing: glib/performance.test 864s complex-construction2: Millions of constructed objects per second: 5.270 865s finalization: Millions of finalized objects per second: 1.093 866s # Executing: glib/performance.test 867s type-check: Million type checks per second: 14.51 868s emit-unhandled: Emissions per second: 1089119 870s emit-unhandled-empty: Emissions per second: 8946075 871s # Executing: glib/performance.test 871s emit-unhandled-generic: Emissions per second: 1205684 873s emit-unhandled-generic-empty: Emissions per second: 8954734 874s emit-unhandled-args: Emissions per second: 1074846 876s emit-handled: Emissions per second: 773462 876s # Executing: glib/performance.test 877s emit-handled-empty: Emissions per second: 748752 878s emit-handled-generic: Emissions per second: 750031 880s emit-handled-generic-empty: Emissions per second: 1182442 881s emit-handled-args: Emissions per second: 769101 881s # Executing: glib/performance.test 883s notify-unhandled: Notify (unhandled) per second: 9144083 884s notify-by-pspec-unhandled: Notify (unhandled) per second: 44748259 885s notify-handled: Notify per second: 504760 886s # Executing: glib/performance.test 887s notify-by-pspec-handled: Notify per second: 533884 888s property-set: Property set per second: 6290655 889s property-set-signaled: Property set per second: 1538645 891s property-get: Property get per second: 6708558 891s # Executing: glib/performance.test 892s refcount: Million refs+unref per second: 5.95 894s refcount-1: Million refs+unref per second: 14.28 895s refcount-toggle: Million refs+unref per second: 12.55 895s ok - glib/performance.test 895s # Running test: glib/refstring.test 895s TAP version 14 895s # random seed: R02S8cb6cc14be7cacd679edc1f44bc4b2f3 895s 1..8 895s # Start of refstring tests 895s # s = 'hello, world' (0x166fa08f82c0) 895s ok 1 /refstring/base 895s ok 2 /refstring/length 895s ok 3 /refstring/length-auto 895s ok 4 /refstring/length-nuls 895s # s = 'hello, world' (0x166fa08f8160) 895s # p = s = 'hello, world' (0x166fa08f8160) 895s # releasing p[0x166fa08f8160] ('hello, world') 895s # p = 'goodbye, world' (0x166fa08f82c0) 895s # releasing p[0x166fa08f82c0] ('goodbye, world') 895s # releasing s[0x166fa08f8160] ('hello, world') 895s ok 5 /refstring/intern 895s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 895s ok 6 /refstring/hash_equal 895s # /refstring/equal summary: Test g_ref_string_equal() standalone 895s ok 7 /refstring/equal 896s # Executing: glib/refstring.test 897s ok 8 /refstring/intern-thread-safety 897s # slow test /refstring/intern-thread-safety executed in 1.80 secs 897s # End of refstring tests 897s ok - glib/refstring.test 897s # Running test: glib/642026-ec.test 897s TAP version 14 897s # random seed: R02Sbc3c9151806c0bb4528c1c7a5bf60220 897s 1..1 897s # Start of glib tests 897s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 897s ok 1 /glib/642026 897s # End of glib tests 897s ok - glib/642026-ec.test 897s # Running test: glib/queue.test 897s TAP version 14 897s # random seed: R02S374f139c4a3903757ea8dca044fac2bb 897s 1..12 897s # Start of queue tests 897s ok 1 /queue/basic 897s ok 2 /queue/copy 897s ok 3 /queue/off-by-one 897s ok 4 /queue/find-custom 897s ok 5 /queue/static 897s ok 6 /queue/clear 897s ok 7 /queue/free-full 897s ok 8 /queue/clear-full 897s ok 9 /queue/insert-sibling-link 897s ok 10 /queue/push-nth-link 897s # Start of clear-full tests 897s ok 11 /queue/clear-full/noop 897s # End of clear-full tests 897s # Start of random tests 897s ok 12 /queue/random/seed:1025405048 897s # End of random tests 897s # End of queue tests 897s ok - glib/queue.test 897s # Running test: glib/gdbus-server-auth.test 897s TAP version 14 897s # random seed: R02Sc3395c5af204d6b7faa61bcd55f6941f 897s 1..9 897s # Start of gdbus tests 897s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/.dirs/home 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/.dirs/cache 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/.dirs/system-config2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/.dirs/config 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/.dirs/system-data2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/.dirs/data 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/.dirs/state 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/.dirs/runtime 897s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus-server-auth-JHBOJ3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 897s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus-server-auth-JHBOJ3/dbus-Son7OpKo 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40113 897s ok 1 /gdbus/server-auth 897s # Start of server-auth tests 897s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/abstract/.dirs/home 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/abstract/.dirs/cache 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/abstract/.dirs/system-config2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/abstract/.dirs/config 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/abstract/.dirs/system-data2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/abstract/.dirs/data 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/abstract/.dirs/state 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/abstract/.dirs/runtime 897s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus-server-auth-7P8OJ3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 897s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus-server-auth-7P8OJ3/dbus-pKYh0G8c 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40113 897s ok 2 /gdbus/server-auth/abstract 897s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/tcp/.dirs/home 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/tcp/.dirs/cache 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/tcp/.dirs/system-config2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/tcp/.dirs/config 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/tcp/.dirs/system-data2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/tcp/.dirs/data 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/tcp/.dirs/state 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/tcp/.dirs/runtime 897s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 897s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 897s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/.dirs/home 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/.dirs/cache 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/.dirs/system-config2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/.dirs/config 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/.dirs/system-data2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/.dirs/data 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/.dirs/state 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/.dirs/runtime 897s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus-server-auth-FLYOJ3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 897s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus-server-auth-FLYOJ3/dbus-JmjD7Umu 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40113 897s ok 4 /gdbus/server-auth/anonymous 897s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/.dirs/home 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/.dirs/cache 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/.dirs/system-config2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/.dirs/config 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/.dirs/system-data2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/.dirs/data 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/.dirs/state 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/.dirs/runtime 897s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus-server-auth-N9IVJ3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 897s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus-server-auth-N9IVJ3/dbus-prCLgxLh 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40113 897s ok 5 /gdbus/server-auth/external 897s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/.dirs/home 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/.dirs/cache 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/.dirs/system-config2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/.dirs/config 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/.dirs/system-data2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/.dirs/data 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/.dirs/state 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/.dirs/runtime 897s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus-server-auth-0WAVJ3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 897s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 897s # Start of anonymous tests 897s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/tcp/.dirs/home 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/tcp/.dirs/cache 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/tcp/.dirs/config 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/tcp/.dirs/data 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/tcp/.dirs/state 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 897s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 897s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 897s # End of anonymous tests 897s # Start of external tests 897s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/require-same-user/.dirs/home 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/require-same-user/.dirs/cache 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/require-same-user/.dirs/config 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/require-same-user/.dirs/data 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/require-same-user/.dirs/state 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/external/require-same-user/.dirs/runtime 897s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus-server-auth-TP3UJ3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 897s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus-server-auth-TP3UJ3/dbus-siH4OKwy 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40113 897s ok - glib/gdbus-server-auth.test 897s # Running test: glib/gi-compile-repository.py.test 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40113 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 897s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40113,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40113 897s ok 8 /gdbus/server-auth/external/require-same-user 897s # End of external tests 897s # Start of sha1 tests 897s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/tcp/.dirs/home 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/tcp/.dirs/cache 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/tcp/.dirs/config 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/tcp/.dirs/data 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/tcp/.dirs/state 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_Z0AOJ3/gdbus/server-auth/sha1/tcp/.dirs/runtime 897s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 897s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 897s # End of sha1 tests 897s # End of server-auth tests 897s # End of gdbus tests 897s TAP version 13 897s ok 1 __main__.TestGICompileRepository.test_open_failure 897s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 897s # gi-compile-repository: /usr/bin/gi-compile-repository 897s # tmpdir: /tmp/tmp7npcaiks 897s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmp7npcaiks/invalid.typelib'] 897s # Return code: 1 897s # Output: 897s # 897s # Error: 897s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.gir”: No such file or directory 898s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 898s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 898s # gi-compile-repository: /usr/bin/gi-compile-repository 898s # tmpdir: /tmp/tmpxylrdivi 898s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmpxylrdivi/GLib-2.typelib'] 898s # Return code: 0 898s # Output: 898s # 898s # Error: 898s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 898s # gi-compile-repository: /usr/bin/gi-compile-repository 898s # tmpdir: /tmp/tmpey01k_gx 898s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib'] 898s # Return code: 1 898s # Output: 898s # 898s # Error: 898s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 898s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 898s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 898s # gi-compile-repository: /usr/bin/gi-compile-repository 898s # tmpdir: /tmp/tmp8sjgmz6m 898s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmp8sjgmz6m/GObject-2.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 898s # Return code: 0 898s # Output: 898s # 898s # Error: 898s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 898s # gi-compile-repository: /usr/bin/gi-compile-repository 898s # tmpdir: /tmp/tmpqfnn0ub1 898s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 898s # Return code: 1 898s # Output: 898s # 898s # Error: 898s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 899s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 899s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 899s # gi-compile-repository: /usr/bin/gi-compile-repository 899s # tmpdir: /tmp/tmpqc2pd7q6 899s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmpqc2pd7q6/Gio-2.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 899s # Return code: 0 899s # Output: 899s # 899s # Error: 899s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 899s # gi-compile-repository: /usr/bin/gi-compile-repository 899s # tmpdir: /tmp/tmp4ppbxy9s 899s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 899s # Return code: 1 899s # Output: 899s # 899s # Error: 899s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 899s 1..7 899s ok - glib/gi-compile-repository.py.test 899s # Running test: glib/gdbus-introspection.test 899s TAP version 14 899s # random seed: R02Se36fd60b8bb04fdeeea872770a29b74d 899s 1..4 899s # Start of gdbus tests 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-parser/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-parser/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-parser/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-parser/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-parser/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-parser/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-parser/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-parser/.dirs/runtime 899s ok 1 /gdbus/introspection-parser 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-generate/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-generate/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-generate/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-generate/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-generate/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-generate/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-generate/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-generate/.dirs/runtime 899s ok 2 /gdbus/introspection-generate 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-default-direction/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-default-direction/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-default-direction/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-default-direction/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-default-direction/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-default-direction/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-default-direction/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-default-direction/.dirs/runtime 899s ok - glib/gdbus-introspection.test 899s # Running test: glib/fileutils.test 899s ok 3 /gdbus/introspection-default-direction 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-extra-data/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-extra-data/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-extra-data/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-extra-data/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-extra-data/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-extra-data/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-extra-data/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_HP7VJ3/gdbus/introspection-extra-data/.dirs/runtime 899s ok 4 /gdbus/introspection-extra-data 899s # End of gdbus tests 899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 899s TAP version 14 899s # random seed: R02S6ab49093eedf4872dc709ec9accbfba1 899s 1..27 899s # Start of fileutils tests 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/paths/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/paths/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/paths/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/paths/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/paths/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/paths/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/paths/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/paths/.dirs/runtime 899s ok 1 /fileutils/paths 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-path/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-path/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/build-path/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-path/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/build-path/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-path/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-path/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/build-path/.dirs/runtime 899s ok 2 /fileutils/build-path 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-pathv/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-pathv/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/build-pathv/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-pathv/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/build-pathv/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-pathv/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-pathv/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/build-pathv/.dirs/runtime 899s ok 3 /fileutils/build-pathv 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-filename/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-filename/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/build-filename/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-filename/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/build-filename/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-filename/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-filename/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/build-filename/.dirs/runtime 899s ok 4 /fileutils/build-filename 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-filenamev/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-filenamev/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/build-filenamev/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-filenamev/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/build-filenamev/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-filenamev/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/build-filenamev/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/build-filenamev/.dirs/runtime 899s ok 5 /fileutils/build-filenamev 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents/.dirs/runtime 899s # We do not have CAP_DAC_OVERRIDE or equivalent 899s # Checking g_mkdir_with_parents() in subdir ./hum/ 899s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 899s ok 6 /fileutils/mkdir-with-parents 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents-permission/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents-permission/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents-permission/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents-permission/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents-permission/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents-permission/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents-permission/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/mkdir-with-parents-permission/.dirs/runtime 899s # We do not have CAP_DAC_OVERRIDE or equivalent 899s ok 7 /fileutils/mkdir-with-parents-permission 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/format-size-for-display/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/format-size-for-display/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/format-size-for-display/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/format-size-for-display/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/format-size-for-display/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/format-size-for-display/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/format-size-for-display/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/format-size-for-display/.dirs/runtime 899s ok 8 /fileutils/format-size-for-display 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/errors/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/errors/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/errors/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/errors/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/errors/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/errors/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/errors/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/errors/.dirs/runtime 899s ok 9 /fileutils/errors 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/basename/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/basename/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/basename/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/basename/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/basename/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/basename/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/basename/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/basename/.dirs/runtime 899s ok 10 /fileutils/basename 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/get-basename/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/get-basename/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/get-basename/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/get-basename/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/get-basename/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/get-basename/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/get-basename/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/get-basename/.dirs/runtime 899s ok 11 /fileutils/get-basename 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/dirname/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/dirname/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/dirname/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/dirname/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/dirname/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/dirname/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/dirname/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/dirname/.dirs/runtime 899s ok 12 /fileutils/dirname 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/dir-make-tmp/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/dir-make-tmp/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/dir-make-tmp/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/dir-make-tmp/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/dir-make-tmp/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/dir-make-tmp/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/dir-make-tmp/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/dir-make-tmp/.dirs/runtime 899s ok 13 /fileutils/dir-make-tmp 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/file-open-tmp/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/file-open-tmp/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/file-open-tmp/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/file-open-tmp/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/file-open-tmp/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/file-open-tmp/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/file-open-tmp/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/file-open-tmp/.dirs/runtime 899s ok 14 /fileutils/file-open-tmp 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/file-test/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/file-test/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/file-test/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/file-test/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/file-test/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/file-test/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/file-test/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/file-test/.dirs/runtime 899s ok 15 /fileutils/file-test 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkstemp/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkstemp/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/mkstemp/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkstemp/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/mkstemp/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkstemp/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkstemp/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/mkstemp/.dirs/runtime 899s ok 16 /fileutils/mkstemp 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkdtemp/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkdtemp/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/mkdtemp/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkdtemp/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/mkdtemp/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkdtemp/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/mkdtemp/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/mkdtemp/.dirs/runtime 899s ok 17 /fileutils/mkdtemp 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/get-contents/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/get-contents/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/get-contents/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/get-contents/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/get-contents/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/get-contents/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/get-contents/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/get-contents/.dirs/runtime 899s ok 18 /fileutils/get-contents 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/get-contents-large-file/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/get-contents-large-file/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/get-contents-large-file/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/get-contents-large-file/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/get-contents-large-file/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/get-contents-large-file/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/get-contents-large-file/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/get-contents-large-file/.dirs/runtime 899s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/set-contents/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/set-contents/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents/.dirs/runtime 899s ok 20 /fileutils/set-contents 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/.dirs/runtime 899s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 899s # Flags 0 and test 0 899s # Flags 0 and test 1 899s # Flags 0 and test 2 899s # Flags 0 and test 3 899s # Flags 0 and test 4 899s # Flags 0 and test 5 899s # Flags 0 and test 6 899s # Flags 1 and test 0 899s # Flags 1 and test 1 899s # Flags 1 and test 2 899s # Flags 1 and test 3 899s # Flags 1 and test 4 899s # Flags 1 and test 5 899s # Flags 1 and test 6 899s # Flags 2 and test 0 899s # Flags 2 and test 1 900s # Flags 2 and test 2 900s # Flags 2 and test 3 900s # Flags 2 and test 4 900s # Flags 2 and test 5 900s # Flags 2 and test 6 900s # Flags 3 and test 0 900s # Flags 3 and test 1 900s # Flags 3 and test 2 900s # Flags 3 and test 3 900s # Flags 3 and test 4 900s # Flags 3 and test 5 900s # Flags 3 and test 6 900s # Flags 4 and test 0 900s # Flags 4 and test 1 900s # Flags 4 and test 2 900s # Flags 4 and test 3 900s # Flags 4 and test 4 900s # Flags 4 and test 5 900s # Flags 4 and test 6 900s # Flags 5 and test 0 900s # Flags 5 and test 1 900s # Flags 5 and test 2 900s # Flags 5 and test 3 900s # Flags 5 and test 4 900s # Flags 5 and test 5 900s # Flags 5 and test 6 900s # Flags 6 and test 0 900s # Flags 6 and test 1 900s # Flags 6 and test 2 900s # Flags 6 and test 3 900s # Flags 6 and test 4 900s # Flags 6 and test 5 900s # Flags 6 and test 6 900s ok 21 /fileutils/set-contents-full 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/read-link/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/read-link/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/read-link/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/read-link/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/read-link/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/read-link/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/read-link/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/read-link/.dirs/runtime 900s ok 22 /fileutils/read-link 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/stdio-wrappers/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/stdio-wrappers/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/stdio-wrappers/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/stdio-wrappers/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/stdio-wrappers/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/stdio-wrappers/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/stdio-wrappers/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/stdio-wrappers/.dirs/runtime 900s # We do not have CAP_DAC_OVERRIDE or equivalent 900s ok 23 /fileutils/stdio-wrappers 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/fopen-modes/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/fopen-modes/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/fopen-modes/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/fopen-modes/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/fopen-modes/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/fopen-modes/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/fopen-modes/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/fopen-modes/.dirs/runtime 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 900s # Testing fopen() mode 'w' 900s # Testing fopen() mode 'r' 900s # Testing fopen() mode 'a' 900s # Testing fopen() mode 'w+' 900s # Testing fopen() mode 'r+' 900s # Testing fopen() mode 'a+' 900s # Testing fopen() mode 'wb' 900s # Testing fopen() mode 'rb' 900s # Testing fopen() mode 'ab' 900s # Testing fopen() mode 'w+b' 900s # Testing fopen() mode 'r+b' 900s # Testing fopen() mode 'a+b' 900s # Testing fopen() mode 'wb+' 900s # Testing fopen() mode 'rb+' 900s # Testing fopen() mode 'ab+' 900s # Testing fopen() mode 'we' 900s # Testing fopen() mode 're' 900s # Testing fopen() mode 'ae' 900s # Testing fopen() mode 'w+e' 900s # Testing fopen() mode 'r+e' 900s # Testing fopen() mode 'a+e' 900s # Testing fopen() mode 'wbe' 900s # Testing fopen() mode 'rbe' 900s # Testing fopen() mode 'abe' 900s # Testing fopen() mode 'w+be' 900s # Testing fopen() mode 'r+be' 900s # Testing fopen() mode 'a+be' 900s # Testing fopen() mode 'wb+e' 900s # Testing fopen() mode 'rb+e' 900s # Testing fopen() mode 'ab+e' 900s # Testing fopen() mode 'web' 900s # Testing fopen() mode 'reb' 900s # Testing fopen() mode 'aeb' 900s # Testing fopen() mode 'w+eb' 900s # Testing fopen() mode 'r+eb' 900s # Testing fopen() mode 'a+eb' 900s # Testing fopen() mode 'web+' 900s # Testing fopen() mode 'reb+' 900s # Testing fopen() mode 'aeb+' 900s ok 24 /fileutils/fopen-modes 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/clear-fd/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/clear-fd/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/clear-fd/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/clear-fd/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/clear-fd/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/clear-fd/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/clear-fd/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/clear-fd/.dirs/runtime 900s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 900s # Will be closed by autocleanup: 3, -42 900s # Testing error handling 900s ok 25 /fileutils/clear-fd 900s # Start of set-contents-full tests 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-file/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-file/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-file/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-file/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-file/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-file/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-file/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-file/.dirs/runtime 900s # We do not have CAP_DAC_OVERRIDE or equivalent 900s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 900s ok 26 /fileutils/set-contents-full/read-only-file 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-directory/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-directory/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-directory/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-directory/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-directory/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DMVWJ3/fileutils/set-contents-full/read-only-directory/.dirs/runtime 900s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 900s # Flags 0 900s # We do not have CAP_DAC_OVERRIDE or equivalent 900s # Flags 1 900s # We do not have CAP_DAC_OVERRIDE or equivalent 900s # Flags 2 900s # We do not have CAP_DAC_OVERRIDE or equivalent 900s # Flags 3 900s # We do not have CAP_DAC_OVERRIDE or equivalent 900s # Flags 4 900s # We do not have CAP_DAC_OVERRIDE or equivalent 900s # Flags 5 900s # We do not have CAP_DAC_OVERRIDE or equivalent 900s # Flags 6 900s # We do not have CAP_DAC_OVERRIDE or equivalent 900s ok 27 /fileutils/set-contents-full/read-only-directory 900s # End of set-contents-full tests 900s # Start of clear-fd tests 900s # Start of subprocess tests 900s # End of subprocess tests 900s # End of clear-fd tests 900s # End of fileutils tests 900s Unable to clean up temporary directory /tmp/test_fileutils_DMVWJ3/glib-file-set-contents-full-rodir-G221J3: Directory not empty 900s Unable to clean up temporary directory /tmp/test_fileutils_DMVWJ3/glib-file-set-contents-full-rodir-HMD2J3: Directory not empty 900s Unable to clean up temporary directory /tmp/test_fileutils_DMVWJ3/glib-file-set-contents-full-rodir-2SD3J3: Directory not empty 900s Unable to clean up temporary directory /tmp/test_fileutils_DMVWJ3/glib-file-set-contents-full-rodir-ZOA3J3: Directory not empty 900s Unable to clean up temporary directory /tmp/test_fileutils_DMVWJ3/glib-file-set-contents-full-rodir-HK41J3: Directory not empty 900s Unable to clean up temporary directory /tmp/test_fileutils_DMVWJ3/glib-file-set-contents-full-rodir-DS42J3: Directory not empty 900s Unable to clean up temporary directory /tmp/test_fileutils_DMVWJ3/glib-file-set-contents-full-rodir-6851J3: Directory not empty 900s Unable to clean up temporary directory /tmp/test_fileutils_DMVWJ3: Directory not empty 900s ok - glib/fileutils.test 900s # Running test: glib/pattern.test 900s TAP version 14 900s ok - glib/pattern.test 900s # Running test: glib/gapplication.test 900s # random seed: R02Sea065debafa4b2c764c779b84d304a06 900s 1..90 900s # Start of pattern tests 900s # Start of compile tests 900s ok 1 /pattern/compile/0 900s ok 2 /pattern/compile/1 900s ok 3 /pattern/compile/2 900s ok 4 /pattern/compile/3 900s ok 5 /pattern/compile/4 900s ok 6 /pattern/compile/5 900s ok 7 /pattern/compile/6 900s ok 8 /pattern/compile/7 900s ok 9 /pattern/compile/8 900s ok 10 /pattern/compile/9 900s ok 11 /pattern/compile/10 900s ok 12 /pattern/compile/11 900s ok 13 /pattern/compile/12 900s ok 14 /pattern/compile/13 900s # End of compile tests 900s # Start of copy tests 900s ok 15 /pattern/copy/0 900s ok 16 /pattern/copy/1 900s ok 17 /pattern/copy/2 900s ok 18 /pattern/copy/3 900s ok 19 /pattern/copy/4 900s ok 20 /pattern/copy/5 900s ok 21 /pattern/copy/6 900s ok 22 /pattern/copy/7 900s ok 23 /pattern/copy/8 900s ok 24 /pattern/copy/9 900s ok 25 /pattern/copy/10 900s ok 26 /pattern/copy/11 900s ok 27 /pattern/copy/12 900s ok 28 /pattern/copy/13 900s # End of copy tests 900s # Start of match tests 900s ok 29 /pattern/match/0 900s ok 30 /pattern/match/1 900s ok 31 /pattern/match/2 900s ok 32 /pattern/match/3 900s ok 33 /pattern/match/4 900s ok 34 /pattern/match/5 900s ok 35 /pattern/match/6 900s ok 36 /pattern/match/7 900s ok 37 /pattern/match/8 900s ok 38 /pattern/match/9 900s ok 39 /pattern/match/10 900s ok 40 /pattern/match/11 900s ok 41 /pattern/match/12 900s ok 42 /pattern/match/13 900s ok 43 /pattern/match/14 900s ok 44 /pattern/match/15 900s ok 45 /pattern/match/16 900s ok 46 /pattern/match/17 900s ok 47 /pattern/match/18 900s ok 48 /pattern/match/19 900s ok 49 /pattern/match/20 900s ok 50 /pattern/match/21 900s ok 51 /pattern/match/22 900s ok 52 /pattern/match/23 900s ok 53 /pattern/match/24 900s ok 54 /pattern/match/25 900s ok 55 /pattern/match/26 900s ok 56 /pattern/match/27 900s ok 57 /pattern/match/28 900s ok 58 /pattern/match/29 900s ok 59 /pattern/match/30 900s ok 60 /pattern/match/31 900s ok 61 /pattern/match/32 900s ok 62 /pattern/match/33 900s ok 63 /pattern/match/34 900s ok 64 /pattern/match/35 900s ok 65 /pattern/match/36 900s ok 66 /pattern/match/37 900s ok 67 /pattern/match/38 900s ok 68 /pattern/match/39 900s ok 69 /pattern/match/40 900s ok 70 /pattern/match/41 900s ok 71 /pattern/match/42 900s ok 72 /pattern/match/43 900s ok 73 /pattern/match/44 900s ok 74 /pattern/match/45 900s ok 75 /pattern/match/46 900s ok 76 /pattern/match/47 900s ok 77 /pattern/match/48 900s ok 78 /pattern/match/49 900s ok 79 /pattern/match/50 900s # End of match tests 900s # Start of equal tests 900s ok 80 /pattern/equal/0 900s ok 81 /pattern/equal/1 900s ok 82 /pattern/equal/2 900s ok 83 /pattern/equal/3 900s ok 84 /pattern/equal/4 900s ok 85 /pattern/equal/5 900s ok 86 /pattern/equal/6 900s ok 87 /pattern/equal/7 900s ok 88 /pattern/equal/8 900s ok 89 /pattern/equal/9 900s ok 90 /pattern/equal/10 900s # End of equal tests 900s # End of pattern tests 900s TAP version 14 900s # random seed: R02S597df6be30ab10c51650b0433ed92d4b 900s 1..25 900s # Start of gapplication tests 900s ok 1 /gapplication/no-dbus 900s ok 2 /gapplication/no-appid 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s ok 3 /gapplication/properties 900s ok 4 /gapplication/app-id 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s ok 5 /gapplication/quit 900s ok 6 /gapplication/registered 900s ok 7 /gapplication/local-actions 900s ok 8 /gapplication/local-command-line 900s ok 9 /gapplication/resource-path 900s ok 10 /gapplication/test-help 900s ok 11 /gapplication/command-line-done 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s ok 12 /gapplication/test-busy 900s ok 13 /gapplication/test-handle-local-options1 900s ok 14 /gapplication/test-handle-local-options2 900s ok 15 /gapplication/test-handle-local-options3 900s ok 16 /gapplication/api 900s ok 17 /gapplication/version 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 900s # launching subprocess 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s ok 18 /gapplication/replace 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 900s # launching subprocess 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s ok 19 /gapplication/no-replace 900s # slow test /gapplication/no-replace executed in 0.51 secs 900s # Start of command-line tests 900s # /gapplication/command-line/arguments summary: Test HANDLES_COMMAND_LINE locally with a ->local_command_line vfunc which forces g_application_run() to take a fallback error handling path 900s ok 20 /gapplication/command-line/arguments 900s # End of command-line tests 900s # Start of dbus tests 900s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 900s # Message 0 900s # Message 1 900s # Message 2 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s ok 21 /gapplication/dbus/activate 900s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 900s # Message 0 900s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 900s # Message 1 900s # Message 2 900s # Message 3 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s ok 22 /gapplication/dbus/open 900s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 900s # Message 0 900s # Message 1 900s # Message 2 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s ok 23 /gapplication/dbus/command-line 900s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s ok 24 /gapplication/dbus/command-line-done 900s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 900s # Message 0 900s # Message 1 900s # Message 2 900s # Message 3 900s # Message 4 900s # Message 5 900s # Message 6 900s # Message 7 900s # Message 8 900s # Message 9 900s # Message 10 900s # Message 11 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s ok 25 /gapplication/dbus/activate-action 900s # End of dbus tests 900s # End of gapplication tests 900s ok - glib/gapplication.test 900s # Running test: glib/protocol.test 900s TAP version 14 900s # random seed: R02S194985dfc1db14acc9a6712e91f020a0 900s 1..9 900s # Start of glib tests 900s # Start of testing tests 900s # Start of protocol tests 900s ok 1 /glib/testing/protocol/debug 900s ok 2 /glib/testing/protocol/info 900s ok 3 /glib/testing/protocol/message 900s ok 4 /glib/testing/protocol/warning 900s ok 5 /glib/testing/protocol/critical 900s ok 6 /glib/testing/protocol/error 900s ok 7 /glib/testing/protocol/gtest-message 900s ok - glib/protocol.test 900s # Running test: glib/struct-info.test 900s ok - glib/struct-info.test 900s # Running test: glib/refcount-macro.test 900s ok 8 /glib/testing/protocol/test-message 900s ok 9 /glib/testing/protocol/test-error 900s # End of protocol tests 900s # End of testing tests 900s # End of glib tests 900s TAP version 14 900s # random seed: R02S99a1e2e94375f938ce1ad54e0ec80d31 900s 1..4 900s # Start of struct-info tests 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_XI1OJ3/struct-info/field-iterators/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_XI1OJ3/struct-info/field-iterators/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_XI1OJ3/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_XI1OJ3/struct-info/field-iterators/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_XI1OJ3/struct-info/field-iterators/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_XI1OJ3/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_XI1OJ3/struct-info/field-iterators/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_XI1OJ3/struct-info/field-iterators/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_XI1OJ3/struct-info/field-iterators/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_XI1OJ3/struct-info/field-iterators/.dirs/runtime 900s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 900s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 900s ok 1 /struct-info/field-iterators 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_XI1OJ3/struct-info/sizeof-gvalue/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_XI1OJ3/struct-info/sizeof-gvalue/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_XI1OJ3/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_XI1OJ3/struct-info/sizeof-gvalue/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_XI1OJ3/struct-info/sizeof-gvalue/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_XI1OJ3/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_XI1OJ3/struct-info/sizeof-gvalue/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_XI1OJ3/struct-info/sizeof-gvalue/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_XI1OJ3/struct-info/sizeof-gvalue/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_XI1OJ3/struct-info/sizeof-gvalue/.dirs/runtime 900s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 900s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 900s ok 2 /struct-info/sizeof-gvalue 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_XI1OJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_XI1OJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_XI1OJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_XI1OJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_XI1OJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_XI1OJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_XI1OJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_XI1OJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_XI1OJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_XI1OJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 900s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 900s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 900s ok 3 /struct-info/is-pointer-for-struct-method-arg 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_XI1OJ3/struct-info/boxed/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_XI1OJ3/struct-info/boxed/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_XI1OJ3/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_XI1OJ3/struct-info/boxed/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_XI1OJ3/struct-info/boxed/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_XI1OJ3/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_XI1OJ3/struct-info/boxed/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_XI1OJ3/struct-info/boxed/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_XI1OJ3/struct-info/boxed/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_XI1OJ3/struct-info/boxed/.dirs/runtime 900s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 900s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 900s ok 4 /struct-info/boxed 900s # End of struct-info tests 900s TAP version 14 900s # random seed: R02S6f2b5bb981f1d825af36191a879fbb60 900s 1..4 900s # Start of refcount tests 900s ok 1 /refcount/grefcount 900s ok 2 /refcount/gatomicrefcount 900s # Start of grefcount tests 900s ok 3 /refcount/grefcount/saturation 900s # End of grefcount tests 900s # Start of gatomicrefcount tests 900s ok 4 /refcount/gatomicrefcount/saturation 900s # End of gatomicrefcount tests 900s # End of refcount tests 900s ok - glib/refcount-macro.test 900s # Running test: glib/null-settings-backend.test 900s TAP version 14 900s # random seed: R02Sf591f29d306bb646ae17ab9edec6dda9 900s 1..1 900s # Start of null-settings-backend tests 900s ok 1 /null-settings-backend/extension-point-registered 900s # End of null-settings-backend tests 900s ok - glib/null-settings-backend.test 900s # Running test: glib/custom-dispatch.test 900s TAP version 14 900s ok - glib/custom-dispatch.test 900s # random seed: R02S7a718f3409a0bc28e5f49866f1ec293b 900s 1..2 900s # Start of properties tests 900s # Start of custom-dispatch tests 900s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 900s ok 1 /properties/custom-dispatch/init 900s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 900s ok 2 /properties/custom-dispatch/set 900s # End of custom-dispatch tests 900s # End of properties tests 900s # Running test: glib/filter-streams.test 900s TAP version 14 900s # random seed: R02Sc0d6d7b287315b040171c9961490431b 900s 1..4 900s # Start of filter-stream tests 900s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 900s ok 1 /filter-stream/input 900s ok 2 /filter-stream/output 900s ok 3 /filter-stream/async-input 900s ok 4 /filter-stream/async-output 900s # End of filter-stream tests 900s ok - glib/filter-streams.test 900s # Running test: glib/g-file.test 900s TAP version 14 900s # random seed: R02Sde024d9b671a778f8d56b931d07864c3 900s 1..8 900s # Start of g-file tests 900s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 900s ok 1 /g-file/test_g_file_new_null 900s ok 2 /g-file/test_g_file_new_for_path 900s ok 3 /g-file/test_g_file_new_for_uri 900s ok 4 /g-file/test_g_file_dup 900s ok 5 /g-file/test_g_file_get_parse_name_utf8 900s file:///tmp/test-tmp-glib_g-file.test-XNNVJ3 900s file:///tmp 900s file:///tmp 900s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 900s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 900s ok 6 /g-file/test_g_file_new_for_commandline_arg 900s /dir1 /dir1/dir2/dir3/ 900s /dir1/ /dir1/dir2/dir3/ 900s /dir1 /dir1/dir2/dir3 900s /dir1/ /dir1/dir2/dir3 900s /tmp/ /something/ 900s /dir1/dir2 /dir1/ 900s //dir1/new //dir1/new/dir2/dir3 900s /dir/UTF-8 příliš žluťoučký kůň /dir/UTF-8 příliš žluťoučký kůň/dir2 900s file:///dir1 file:///dir1/dir2/dir3/ 900s file:///dir1/ file:///dir1/dir2/dir3/ 900s file:///dir1 file:///dir1/dir2/dir3 900s file:///dir1/ file:///dir1/dir2/dir3 900s file:///tmp/ file:///something/ 900s file:///dir1/dir2 file:///dir1/ 900s file:////dir1/new file:////dir1/new/dir2/dir3 900s file:///dir/UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 file:///dir/UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88/dir2 900s ok 7 /g-file/test_g_file_has_prefix 900s ok 8 /g-file/test_g_file_get_parent_child 900s # End of g-file tests 900s ok - glib/g-file.test 900s # Running test: glib/slice.test 900s TAP version 14 900s # random seed: R02Sa3746fae7a2d1e64f8e6665b0bad5b24 900s 1..3 900s # Start of slice tests 900s ok 1 /slice/copy 900s ok 2 /slice/chain 901s ok 3 /slice/allocate 901s # End of slice tests 901s ok - glib/slice.test 901s # Running test: glib/socket.test 901s TAP version 14 901s # random seed: R02S6bb39df7d2c84ee55da1730f2fdda02a 901s 1..30 901s # Start of socket tests 901s # Executing: glib/socket.test 902s ok 1 /socket/ipv4_sync 902s # slow test /socket/ipv4_sync executed in 1.00 secs 903s ok 2 /socket/ipv4_async 903s # slow test /socket/ipv4_async executed in 1.00 secs 903s ok 3 /socket/ipv6_sync 903s ok 4 /socket/ipv6_async 903s ok 5 /socket/ipv6_v4mapped 904s ok 6 /socket/close_graceful 904s # slow test /socket/close_graceful executed in 1.00 secs 904s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 904s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 904s ok 8 /socket/fd_reuse 904s ok 9 /socket/address 904s ok 10 /socket/unix-from-fd 904s ok 11 /socket/unix-connection 904s ok 12 /socket/unix-connection-ancillary-data 904s ok 13 /socket/source-postmortem 904s ok 14 /socket/read_write 904s ok 15 /socket/read_writev 904s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 904s ok 16 /socket/receive_bytes 904s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 904s ok 17 /socket/receive_bytes_from 904s # Start of ipv4_sync tests 904s ok 18 /socket/ipv4_sync/datagram 904s # Start of datagram tests 905s ok 19 /socket/ipv4_sync/datagram/timeouts 905s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 905s # End of datagram tests 905s # End of ipv4_sync tests 905s # Start of ipv6_sync tests 905s ok 20 /socket/ipv6_sync/datagram 905s # Start of datagram tests 906s ok 21 /socket/ipv6_sync/datagram/timeouts 906s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 906s # End of datagram tests 906s # End of ipv6_sync tests 906s # Start of reuse tests 906s ok 22 /socket/reuse/tcp 906s ok 23 /socket/reuse/udp 906s # End of reuse tests 906s # Start of get_available tests 906s ok 24 /socket/get_available/datagram 906s ok 25 /socket/get_available/stream 906s # End of get_available tests 906s # Start of credentials tests 906s # Supported on this OS: GCredentials:linux-ucred:pid=0 906s ok 26 /socket/credentials/tcp_client 906s # Supported on this OS: GCredentials:linux-ucred:pid=0 906s ok 27 /socket/credentials/tcp_server 906s # Supported on this OS: GCredentials:linux-ucred:pid=40234,uid=1000,gid=1000 906s ok 28 /socket/credentials/unix_socketpair 906s # End of credentials tests 906s # Start of accept tests 906s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 906s ok 29 /socket/accept/cancelled 906s # End of accept tests 906s # Start of connect tests 906s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 906s ok 30 /socket/connect/cancelled 906s # End of connect tests 906s # End of socket tests 906s ok - glib/socket.test 906s # Running test: glib/io-channel.test 906s TAP version 14 906s # random seed: R02Se9883c27029e8e4057c288119aee7841 906s 1..2 906s # Start of io-channel tests 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_YBXLJ3/io-channel/read-write/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_YBXLJ3/io-channel/read-write/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_YBXLJ3/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_YBXLJ3/io-channel/read-write/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_YBXLJ3/io-channel/read-write/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_YBXLJ3/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_YBXLJ3/io-channel/read-write/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_YBXLJ3/io-channel/read-write/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_YBXLJ3/io-channel/read-write/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_YBXLJ3/io-channel/read-write/.dirs/runtime 906s # Line one 906s # 906s # Line two 906s # 906s # Line three 906s # 906s # /* Hello */ 906s # 906s # \x1234\x567890\x6666 906s # 906s # read 62 bytes, wrote 62 bytes 906s ok 1 /io-channel/read-write 906s # Start of read-line tests 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_YBXLJ3/io-channel/read-line/embedded-nuls/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_YBXLJ3/io-channel/read-line/embedded-nuls/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_YBXLJ3/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_YBXLJ3/io-channel/read-line/embedded-nuls/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_YBXLJ3/io-channel/read-line/embedded-nuls/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_YBXLJ3/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_YBXLJ3/io-channel/read-line/embedded-nuls/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_YBXLJ3/io-channel/read-line/embedded-nuls/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_YBXLJ3/io-channel/read-line/embedded-nuls/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_YBXLJ3/io-channel/read-line/embedded-nuls/.dirs/runtime 906s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 906s ok 2 /io-channel/read-line/embedded-nuls 906s # End of read-line tests 906s # End of io-channel tests 906s TAP version 14 906s # random seed: R02S89ede37b222a46914ffd609aff103446 906s 1..6 906s # Start of g-file-info tests 906s ok 1 /g-file-info/test_g_file_info 906s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 906s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 906s ok 2 /g-file-info/xattrs 906s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 906s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 906s ok 3 /g-file-info/set-modified-date-time-precision 906s # Start of test_g_file_info tests 906s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 906s ok 4 /g-file-info/test_g_file_info/modification-time 906s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 906s ok 5 /g-file-info/test_g_file_info/access-time 906s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 906s ok 6 /g-file-info/test_g_file_info/creation-time 906s # End of test_g_file_info tests 906s # End of g-file-info tests 906s TAP version 14 906s # random seed: R02S421f66ba31b107a42498a5cac421487e 906s 1..7 906s # Start of environ tests 906s # /environ/listenv summary: Test g_get_environ() returns an array of unique keys, all of which can be individually queried using g_getenv() to return the same value. 906s ok 1 /environ/listenv 906s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 906s ok 2 /environ/getenv 906s ok 3 /environ/setenv 906s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 906s ok 4 /environ/array 906s # /environ/null summary: Test getting and setting variables on a NULL envp array. 906s ok 5 /environ/null 906s # /environ/case summary: Test that matching environment variables is case-insensitive on Windows and not on other platforms, since envvars were case-insensitive on DOS. 906s ok 6 /environ/case 906s # /environ/expansion summary: Test expansion of environment variable references. 906s ok 7 /environ/expansion # SKIP Environment variable expansion is only supported on Windows 906s ok - glib/io-channel.test 906s # Running test: glib/g-file-info.test 906s ok - glib/g-file-info.test 906s # Running test: glib/environment.test 906s ok - glib/environment.test 906s # SUMMARY: total=332; passed=330; skipped=1; failed=1; user=264.0s; system=73.0s; maxrss=149056 906s # FAIL: glib/gsubprocess.test (Child process killed by signal 6) 906s # End of environ tests 906s autopkgtest [18:31:15]: test installed-tests: -----------------------] 907s autopkgtest [18:31:16]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 907s installed-tests FAIL non-zero exit status 2 907s autopkgtest [18:31:16]: test closure-refcount: preparing testbed 907s Reading package lists... 908s Building dependency tree... 908s Reading state information... 908s Solving dependencies... 908s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 908s autopkgtest [18:31:17]: test closure-refcount: [----------------------- 909s Running test: glib/closure-refcount.test 909s TAP version 14 909s # random seed: R02Se3e02ac0eabf46692b60b7fac1dfd9a4 909s 1..1 909s # Start of closure tests 909s # Init 0x7d9d5e36db0 909s # Yielding from main thread 909s # Yielding from main thread 909s # Yielding from main thread 909s # Yielding from main thread 909s # Yielding from main thread 909s # Yielding from main thread 909s # Yielding from main thread 909s # Yielding from thread1 909s # Yielding from main thread 909s # Yielding from thread2 909s # Yielding from main thread 909s # Yielding from main thread 909s # Yielding from main thread 909s # Yielding from main thread 909s # Yielding from main thread 909s # Yielding from main thread 909s # Yielding from main thread 909s # Yielding from thread1 910s # Yielding from main thread 910s # Yielding from main thread 910s # Yielding from thread2 910s # Yielding from main thread 910s # Yielding from main thread 910s # Yielding from main thread 910s # Yielding from main thread 910s # Yielding from main thread 910s # Yielding from main thread 910s # Yielding from thread2 910s # Yielding from main thread 910s # Yielding from thread1 910s # Yielding from main thread 910s # Yielding from main thread 910s # Yielding from main thread 910s # Yielding from main thread 910s # Yielding from main thread 910s # Yielding from main thread 910s # Yielding from main thread 910s # Yielding from thread2 910s # Yielding from main thread 911s # Yielding from thread1 911s # Yielding from main thread 911s # Yielding from main thread 911s # Yielding from main thread 911s # Yielding from main thread 911s # Yielding from main thread 911s # Yielding from main thread 911s # Yielding from thread2 911s # Yielding from main thread 911s # Yielding from main thread 911s # Yielding from main thread 911s # Yielding from main thread 911s # Yielding from thread1 911s # Yielding from main thread 911s # Yielding from main thread 911s # Yielding from main thread 911s # Yielding from thread2 911s # Yielding from main thread 911s # Yielding from main thread 911s # Yielding from main thread 912s # Yielding from main thread 912s # Yielding from thread1 912s # Yielding from main thread 912s # Yielding from main thread 912s # Yielding from thread2 912s # Yielding from main thread 912s # Yielding from main thread 912s # Yielding from main thread 912s # Yielding from main thread 912s # Yielding from main thread 912s # Yielding from thread1 912s # Yielding from main thread 912s # Yielding from main thread 912s # Yielding from main thread 912s # Yielding from thread2 912s # Yielding from main thread 912s # Yielding from main thread 912s # Yielding from main thread 912s # Yielding from main thread 912s # Yielding from thread1 912s # Yielding from main thread 912s # Yielding from main thread 913s # Yielding from main thread 913s # Yielding from main thread 913s # Yielding from main thread 913s # Yielding from main thread 913s # Yielding from thread2 913s # Yielding from main thread 913s # Yielding from thread1 913s # Yielding from main thread 913s # Yielding from main thread 913s # Yielding from main thread 913s # Yielding from main thread 913s # Yielding from main thread 913s # Yielding from main thread 913s # Yielding from main thread 913s # Yielding from thread2 913s # Yielding from main thread 913s # Yielding from main thread 913s # Yielding from main thread 913s # Yielding from thread1 913s # Yielding from main thread 913s # Yielding from main thread 913s # Yielding from main thread 913s # Yielding from main thread 914s # Yielding from main thread 914s # Yielding from main thread 914s # Yielding from main thread 914s # Yielding from thread1 914s # Yielding from thread2 914s # Yielding from main thread 914s # Yielding from main thread 914s # Yielding from main thread 914s # Yielding from main thread 914s # Yielding from main thread 914s Executing: glib/closure-refcount.test 914s # Yielding from main thread 914s # Yielding from main thread 914s # Yielding from thread2 914s # Yielding from main thread 914s # Yielding from thread1 914s # Yielding from main thread 914s # Yielding from main thread 914s # Yielding from main thread 914s # Yielding from main thread 914s # Stopping 914s # Stopped 914s ok 1 /closure/refcount 914s # slow test /closure/refcount executed in 5.74 secs 914s # End of closure tests 914s PASS: glib/closure-refcount.test 914s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=11.4s; system=0.0s; maxrss=4096 915s autopkgtest [18:31:24]: test closure-refcount: -----------------------] 915s autopkgtest [18:31:24]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 915s closure-refcount PASS 915s autopkgtest [18:31:24]: test debugcontroller: preparing testbed 916s Reading package lists... 916s Building dependency tree... 916s Reading state information... 916s Solving dependencies... 916s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 917s autopkgtest [18:31:26]: test debugcontroller: [----------------------- 917s Running test: glib/debugcontroller.test 917s TAP version 14 917s # random seed: R02S7907d4b30527b3c4af05ffa4f9563b29 917s 1..3 917s # Start of debug-controller tests 917s # Start of dbus tests 917s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 917s # GLib-GIO-DEBUG: Debug output enabled 917s # GLib-GIO-DEBUG: Debug output disabled 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s ok 1 /debug-controller/dbus/basic 917s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s ok 2 /debug-controller/dbus/duplicate 917s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 917s # GLib-GIO-DEBUG: Debug output enabled 917s # GLib-GIO-DEBUG: Debug output disabled 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s ok 3 /debug-controller/dbus/properties 917s # End of dbus tests 917s # End of debug-controller tests 917s PASS: glib/debugcontroller.test 917s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=10240 917s autopkgtest [18:31:26]: test debugcontroller: -----------------------] 918s debugcontroller PASS 918s autopkgtest [18:31:27]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 918s autopkgtest [18:31:27]: test gdbus-server-auth: preparing testbed 918s Reading package lists... 918s Building dependency tree... 918s Reading state information... 918s Solving dependencies... 918s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 919s autopkgtest [18:31:28]: test gdbus-server-auth: [----------------------- 919s Running test: glib/gdbus-server-auth.test 919s TAP version 14 919s # random seed: R02S5a8746cfb610634ee17327bf74f8d1d3 919s 1..9 919s # Start of gdbus tests 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/.dirs/runtime 919s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus-server-auth-62ZOJ3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 919s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus-server-auth-62ZOJ3/dbus-SrHpgrKD 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40814 919s ok 1 /gdbus/server-auth 919s # Start of server-auth tests 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/abstract/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/abstract/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/abstract/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/abstract/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/abstract/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/abstract/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/abstract/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/abstract/.dirs/runtime 919s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus-server-auth-MX0UJ3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 919s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus-server-auth-MX0UJ3/dbus-UOlNEFTF 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40814 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 919s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40814 919s ok 2 /gdbus/server-auth/abstract 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/tcp/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/tcp/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/tcp/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/tcp/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/tcp/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/tcp/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/tcp/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/tcp/.dirs/runtime 919s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 919s # Connectable address: tcp:host=127.0.0.1,port=34863 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 919s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 919s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 919s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 919s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 919s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 919s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 920s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 920s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 920s ok 3 /gdbus/server-auth/tcp 920s # slow test /gdbus/server-auth/tcp executed in 0.92 secs 920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/.dirs/home 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/.dirs/cache 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/.dirs/system-config2 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/.dirs/config 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/.dirs/system-data2 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/.dirs/data 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/.dirs/state 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/.dirs/runtime 920s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus-server-auth-35ZOJ3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 920s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus-server-auth-35ZOJ3/dbus-DJITEHJV 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40814 920s ok 4 /gdbus/server-auth/anonymous 920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/.dirs/home 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/.dirs/cache 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/.dirs/system-config2 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/.dirs/config 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/.dirs/system-data2 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/.dirs/data 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/.dirs/state 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/.dirs/runtime 920s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus-server-auth-FKOVJ3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 920s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus-server-auth-FKOVJ3/dbus-qwB32oP1 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 920s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40814 920s ok 5 /gdbus/server-auth/external 920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/.dirs/home 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/.dirs/cache 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/.dirs/system-config2 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/.dirs/config 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/.dirs/system-data2 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/.dirs/data 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/.dirs/state 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/.dirs/runtime 920s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus-server-auth-527UJ3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 920s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus-server-auth-527UJ3/dbus-sA54fVp5 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40814 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 920s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40814 920s ok 6 /gdbus/server-auth/sha1 920s # Start of anonymous tests 920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/tcp/.dirs/home 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/tcp/.dirs/cache 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/tcp/.dirs/config 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/tcp/.dirs/data 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/tcp/.dirs/state 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 920s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 920s # Connectable address: tcp:host=127.0.0.1,port=37389 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 920s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 921s ok 7 /gdbus/server-auth/anonymous/tcp 921s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.88 secs 921s # End of anonymous tests 921s # Start of external tests 921s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/require-same-user/.dirs/home 921s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/require-same-user/.dirs/cache 921s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 921s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/require-same-user/.dirs/config 921s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 921s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/require-same-user/.dirs/data 921s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/require-same-user/.dirs/state 921s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/external/require-same-user/.dirs/runtime 921s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus-server-auth-7LJOJ3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 921s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus-server-auth-7LJOJ3/dbus-9E4pBd12 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40814 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 921s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40814,uid=1000,gid=1000 921s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40814 921s ok 8 /gdbus/server-auth/external/require-same-user 921s # End of external tests 921s # Start of sha1 tests 921s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/tcp/.dirs/home 921s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/tcp/.dirs/cache 921s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 921s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/tcp/.dirs/config 921s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 921s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/tcp/.dirs/data 921s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/tcp/.dirs/state 921s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZUZOJ3/gdbus/server-auth/sha1/tcp/.dirs/runtime 921s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 921s # Connectable address: tcp:host=127.0.0.1,port=38669 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 921s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 921s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 921s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 921s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 921s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 921s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 921s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 921s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 921s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 921s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 922s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 922s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 922s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 922s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 922s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 922s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 922s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 922s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 922s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 922s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 922s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 922s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 922s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 922s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 922s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 922s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 922s ok 9 /gdbus/server-auth/sha1/tcp 922s # slow test /gdbus/server-auth/sha1/tcp executed in 0.89 secs 922s # End of sha1 tests 922s # End of server-auth tests 922s # End of gdbus tests 922s PASS: glib/gdbus-server-auth.test 922s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=10240 922s autopkgtest [18:31:31]: test gdbus-server-auth: -----------------------] 923s gdbus-server-auth PASS 923s autopkgtest [18:31:32]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 923s autopkgtest [18:31:32]: test gdbus-threading: preparing testbed 923s Reading package lists... 923s Building dependency tree... 923s Reading state information... 924s Solving dependencies... 924s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 924s autopkgtest [18:31:33]: test gdbus-threading: [----------------------- 925s Running test: glib/gdbus-threading.test 925s TAP version 14 925s # random seed: R02Sd6d6d88f3e6289543d3bfc82da0e552c 925s 1..3 925s # Start of gdbus tests 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_W4D3J3/gdbus/delivery-in-thread/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_W4D3J3/gdbus/delivery-in-thread/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_W4D3J3/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_W4D3J3/gdbus/delivery-in-thread/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_W4D3J3/gdbus/delivery-in-thread/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_W4D3J3/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_W4D3J3/gdbus/delivery-in-thread/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_W4D3J3/gdbus/delivery-in-thread/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_W4D3J3/gdbus/delivery-in-thread/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_W4D3J3/gdbus/delivery-in-thread/.dirs/runtime 925s ok 1 /gdbus/delivery-in-thread 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_W4D3J3/gdbus/method-calls-in-thread/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_W4D3J3/gdbus/method-calls-in-thread/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_W4D3J3/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_W4D3J3/gdbus/method-calls-in-thread/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_W4D3J3/gdbus/method-calls-in-thread/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_W4D3J3/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_W4D3J3/gdbus/method-calls-in-thread/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_W4D3J3/gdbus/method-calls-in-thread/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_W4D3J3/gdbus/method-calls-in-thread/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_W4D3J3/gdbus/method-calls-in-thread/.dirs/runtime 925s ok 2 /gdbus/method-calls-in-thread 925s # slow test /gdbus/method-calls-in-thread executed in 0.84 secs 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_W4D3J3/gdbus/threaded-singleton/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_W4D3J3/gdbus/threaded-singleton/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_W4D3J3/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_W4D3J3/gdbus/threaded-singleton/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_W4D3J3/gdbus/threaded-singleton/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_W4D3J3/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_W4D3J3/gdbus/threaded-singleton/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_W4D3J3/gdbus/threaded-singleton/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_W4D3J3/gdbus/threaded-singleton/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_W4D3J3/gdbus/threaded-singleton/.dirs/runtime 926s # GLib-GIO-DEBUG: refcount of 0x71f19c004d80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 926s # GLib-GIO-DEBUG: refcount of 0x71f19c004d80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 926s # GLib-GIO-DEBUG: refcount of 0x71f19c003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 927s ok 3 /gdbus/threaded-singleton 927s # slow test /gdbus/threaded-singleton executed in 1.39 secs 927s # End of gdbus tests 927s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 927s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 927s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 927s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 927s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 927s PASS: glib/gdbus-threading.test 927s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.2s; maxrss=8192 927s autopkgtest [18:31:36]: test gdbus-threading: -----------------------] 928s autopkgtest [18:31:37]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 928s gdbus-threading PASS 928s autopkgtest [18:31:37]: test gmenumodel: preparing testbed 928s Reading package lists... 928s Building dependency tree... 928s Reading state information... 928s Solving dependencies... 928s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 929s autopkgtest [18:31:38]: test gmenumodel: [----------------------- 929s Running test: glib/gmenumodel.test 929s TAP version 14 929s # random seed: R02Sfe8f3bdf42160de5d14fc0d167c406d6 929s 1..15 929s # Start of gmenu tests 931s ok 1 /gmenu/equality 931s # slow test /gmenu/equality executed in 1.55 secs 933s ok 2 /gmenu/random 933s # slow test /gmenu/random executed in 1.92 secs 933s ok 3 /gmenu/attributes 933s ok 4 /gmenu/links 933s ok 5 /gmenu/mutable 933s ok 6 /gmenu/convenience 933s ok 7 /gmenu/menuitem 933s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 933s ok 8 /gmenu/input-validation 933s # Start of dbus tests 934s ok 9 /gmenu/dbus/roundtrip 934s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 934s ok 10 /gmenu/dbus/subscriptions 935s Executing: glib/gmenumodel.test 936s ok 11 /gmenu/dbus/threaded 936s # slow test /gmenu/dbus/threaded executed in 1.41 secs 936s # Start of peer tests 937s ok 12 /gmenu/dbus/peer/roundtrip 937s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 937s ok 13 /gmenu/dbus/peer/subscriptions 937s # End of peer tests 937s # Start of export tests 937s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 937s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 937s ok 14 /gmenu/dbus/export/error-handling 937s # End of export tests 937s # End of dbus tests 937s # Start of attributes tests 937s ok 15 /gmenu/attributes/iterate 937s # End of attributes tests 937s # End of gmenu tests 937s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 937s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 937s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 937s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 937s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 937s PASS: glib/gmenumodel.test 937s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=5.9s; system=0.2s; maxrss=28672 937s autopkgtest [18:31:46]: test gmenumodel: -----------------------] 938s gmenumodel PASS 938s autopkgtest [18:31:47]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 938s autopkgtest [18:31:47]: test mainloop: preparing testbed 938s Reading package lists... 938s Building dependency tree... 938s Reading state information... 938s Solving dependencies... 939s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 939s autopkgtest [18:31:48]: test mainloop: [----------------------- 940s Running test: glib/mainloop.test 940s TAP version 14 940s # random seed: R02Se89781d2d8bd14a7b8d24d7b6e2d3e7f 940s 1..47 940s # Start of maincontext tests 940s ok 1 /maincontext/basic 940s # Add same-priority sources: 40 940s # Find each source: 20 940s # Remove in random order: 58 940s ok 2 /maincontext/nsources_same_priority 940s # Add different-priority sources: 51 940s # Find each source: 20 940s # Remove in random order: 60 940s ok 3 /maincontext/nsources_different_priority 940s # Add sources from threads: 193 940s # Remove sources from threads: 220 940s ok 4 /maincontext/nsources_threadpool 940s ok 5 /maincontext/source_finalization 940s # /maincontext/idle-once summary: Test g_idle_add_once() works 940s ok 6 /maincontext/idle-once 940s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 940s ok 7 /maincontext/timeout-once 940s # /maincontext/context-ref-in-source-callbackfuncs-unref summary: Tests if calling GSource API in GSourceCallbackFuncs.unref does not deadlock attempting to retrieve the relevant GMainContext. 940s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 940s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 940s # Start of source_finalization_from_source tests 940s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 940s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 940s ok 9 /maincontext/source_finalization_from_source/0 940s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 940s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 940s ok 10 /maincontext/source_finalization_from_source/1 940s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 940s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 940s ok 11 /maincontext/source_finalization_from_source/2 940s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 940s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 940s ok 12 /maincontext/source_finalization_from_source/3 940s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 940s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 940s ok 13 /maincontext/source_finalization_from_source/4 940s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 940s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 940s ok 14 /maincontext/source_finalization_from_source/5 940s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 940s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 940s ok 15 /maincontext/source_finalization_from_source/6 940s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 940s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 940s ok 16 /maincontext/source_finalization_from_source/7 940s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 940s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 940s ok 17 /maincontext/source_finalization_from_source/8 940s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 940s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 940s ok 18 /maincontext/source_finalization_from_source/9 940s # End of source_finalization_from_source tests 940s # Start of source_finalization_from_dispatch tests 940s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 940s ok 19 /maincontext/source_finalization_from_dispatch/0 940s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 940s ok 20 /maincontext/source_finalization_from_dispatch/1 940s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 940s ok 21 /maincontext/source_finalization_from_dispatch/2 940s # End of source_finalization_from_dispatch tests 940s # End of maincontext tests 940s # Start of mainloop tests 940s ok 22 /mainloop/basic 940s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 940s ok 24 /mainloop/priorities 941s ok 25 /mainloop/invoke 941s # slow test /mainloop/invoke executed in 0.50 secs 942s ok 26 /mainloop/child_sources 942s # slow test /mainloop/child_sources executed in 1.18 secs 944s ok 27 /mainloop/recursive_child_sources 944s # slow test /mainloop/recursive_child_sources executed in 2.16 secs 944s ok 28 /mainloop/recursive_loop_child_sources 944s ok 29 /mainloop/swapping_child_sources 944s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 944s ok 30 /mainloop/blocked_child_sources 945s Executing: glib/mainloop.test 945s ok 31 /mainloop/source_time 945s # slow test /mainloop/source_time executed in 1.00 secs 945s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 945s ok 32 /mainloop/overflow 946s ok 33 /mainloop/ready-time 946s # slow test /mainloop/ready-time executed in 0.50 secs 946s ok 34 /mainloop/wakeup 946s ok 35 /mainloop/remove-invalid 946s ok 36 /mainloop/unref-while-pending 947s ok 37 /mainloop/unix-fd 947s # slow test /mainloop/unix-fd executed in 1.54 secs 947s ok 38 /mainloop/unix-fd-source 947s ok 39 /mainloop/source-unix-fd-api 948s ok 40 /mainloop/wait 948s ok 41 /mainloop/unix-file-poll 948s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 948s ok 42 /mainloop/unix-fd-priority 948s ok 43 /mainloop/nfds 948s ok 44 /mainloop/steal-fd 949s ok 45 /mainloop/simultaneous-source-context-destruction 949s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.26 secs 949s # Start of ownerless-polling tests 949s ok 46 /mainloop/ownerless-polling/attach-first 949s ok 47 /mainloop/ownerless-polling/pop-first 949s # End of ownerless-polling tests 949s # End of mainloop tests 949s PASS: glib/mainloop.test 949s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.6s; system=3.1s; maxrss=30720 949s autopkgtest [18:31:58]: test mainloop: -----------------------] 950s mainloop PASS 950s autopkgtest [18:31:59]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 950s autopkgtest [18:31:59]: test memory-monitor-dbus: preparing testbed 950s Reading package lists... 950s Building dependency tree... 950s Reading state information... 950s Solving dependencies... 950s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 951s autopkgtest [18:32:00]: test memory-monitor-dbus: [----------------------- 951s Running test: glib/memory-monitor-dbus.test 952s TAP version 13 952s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 952s # Received memory warning signal, level 0 952s # Received memory warning signal, level 100 952s # Received memory warning signal, level 255 952s 1..1 952s PASS: glib/memory-monitor-dbus.test 952s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.0s; maxrss=40960 952s autopkgtest [18:32:01]: test memory-monitor-dbus: -----------------------] 952s autopkgtest [18:32:01]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 952s memory-monitor-dbus PASS 953s autopkgtest [18:32:02]: test socket: preparing testbed 953s Reading package lists... 953s Building dependency tree... 953s Reading state information... 953s Solving dependencies... 953s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 954s autopkgtest [18:32:03]: test socket: [----------------------- 954s Running test: glib/socket.test 954s TAP version 14 954s # random seed: R02S7905a3042cfbbe446d4b53ba261b57aa 954s 1..30 954s # Start of socket tests 955s ok 1 /socket/ipv4_sync 955s # slow test /socket/ipv4_sync executed in 1.00 secs 956s ok 2 /socket/ipv4_async 956s # slow test /socket/ipv4_async executed in 1.00 secs 956s ok 3 /socket/ipv6_sync 956s ok 4 /socket/ipv6_async 956s ok 5 /socket/ipv6_v4mapped 957s ok 6 /socket/close_graceful 957s # slow test /socket/close_graceful executed in 1.00 secs 957s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 957s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 957s ok 8 /socket/fd_reuse 957s ok 9 /socket/address 957s ok 10 /socket/unix-from-fd 957s ok 11 /socket/unix-connection 957s ok 12 /socket/unix-connection-ancillary-data 957s ok 13 /socket/source-postmortem 957s ok 14 /socket/read_write 957s ok 15 /socket/read_writev 957s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 957s ok 16 /socket/receive_bytes 957s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 957s ok 17 /socket/receive_bytes_from 957s # Start of ipv4_sync tests 957s ok 18 /socket/ipv4_sync/datagram 957s # Start of datagram tests 958s ok 19 /socket/ipv4_sync/datagram/timeouts 958s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 958s # End of datagram tests 958s # End of ipv4_sync tests 958s # Start of ipv6_sync tests 958s ok 20 /socket/ipv6_sync/datagram 958s # Start of datagram tests 960s ok 21 /socket/ipv6_sync/datagram/timeouts 960s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 960s # End of datagram tests 960s # End of ipv6_sync tests 960s # Start of reuse tests 960s ok 22 /socket/reuse/tcp 960s ok 23 /socket/reuse/udp 960s # End of reuse tests 960s # Start of get_available tests 960s ok 24 /socket/get_available/datagram 960s ok 25 /socket/get_available/stream 960s # End of get_available tests 960s # Start of credentials tests 960s # Supported on this OS: GCredentials:linux-ucred:pid=0 960s ok 26 /socket/credentials/tcp_client 960s # Supported on this OS: GCredentials:linux-ucred:pid=0 960s ok 27 /socket/credentials/tcp_server 960s # Supported on this OS: GCredentials:linux-ucred:pid=66810,uid=1000,gid=1000 960s ok 28 /socket/credentials/unix_socketpair 960s # End of credentials tests 960s # Start of accept tests 960s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 960s ok 29 /socket/accept/cancelled 960s # End of accept tests 960s # Start of connect tests 960s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 960s ok 30 /socket/connect/cancelled 960s # End of connect tests 960s # End of socket tests 960s PASS: glib/socket.test 960s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 960s autopkgtest [18:32:09]: test socket: -----------------------] 960s autopkgtest [18:32:09]: test socket: - - - - - - - - - - results - - - - - - - - - - 960s socket PASS 961s autopkgtest [18:32:10]: test testfilemonitor: preparing testbed 961s Reading package lists... 961s Building dependency tree... 961s Reading state information... 961s Solving dependencies... 961s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 962s autopkgtest [18:32:11]: test testfilemonitor: [----------------------- 962s Running test: glib/testfilemonitor.test 962s TAP version 14 962s # random seed: R02S9ffdfd58a8603e13a8f8d55edd7ddfe3 962s 1..8 962s # Start of monitor tests 962s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 962s # Using temporary directory: /tmp/gio-test-testfilemonitor_QQJPJ3 962s # Using GFileMonitor GInotifyFileMonitor 964s ok 1 /monitor/atomic-replace 964s # slow test /monitor/atomic-replace executed in 2.00 secs 964s # Using temporary directory: /tmp/gio-test-testfilemonitor_LIPQJ3 964s # Using GFileMonitor GInotifyFileMonitor 967s ok 2 /monitor/file-changes 967s # slow test /monitor/file-changes executed in 2.50 secs 967s # Using temporary directory: /tmp/gio-test-testfilemonitor_8Q50J3 967s # Using GFileMonitor GInotifyFileMonitor 967s Executing: glib/testfilemonitor.test 970s ok 3 /monitor/dir-monitor 970s # slow test /monitor/dir-monitor executed in 3.50 secs 970s # Using temporary directory: /tmp/gio-test-testfilemonitor_PJJQJ3 970s # Using GFileMonitor GInotifyFileMonitor 972s Executing: glib/testfilemonitor.test 977s Executing: glib/testfilemonitor.test 982s Executing: glib/testfilemonitor.test 987s Executing: glib/testfilemonitor.test 992s Executing: glib/testfilemonitor.test 995s ok 4 /monitor/dir-not-existent 995s # slow test /monitor/dir-not-existent executed in 25.02 secs 995s # Using temporary directory: /tmp/gio-test-testfilemonitor_D57PJ3 995s # Using GFileMonitor 0 GInotifyFileMonitor 995s # Using GFileMonitor 1 GInotifyFileMonitor 997s Executing: glib/testfilemonitor.test 997s ok 5 /monitor/cross-dir-moves 997s # slow test /monitor/cross-dir-moves executed in 2.00 secs 997s # Using temporary directory: /tmp/gio-test-testfilemonitor_1QDRJ3 997s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn’t cause a deadlock. 997s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 997s ok 6 /monitor/finalize-in-callback 997s # Using temporary directory: /tmp/gio-test-testfilemonitor_B3FRJ3 997s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 997s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 997s ok 7 /monitor/root 997s # Start of file tests 997s # Using temporary directory: /tmp/gio-test-testfilemonitor_ZQGRJ3 997s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 997s # Running with hard link tests 997s # Using GFileMonitor GInotifyFileMonitor 1001s # Event 0 at expected index 7 skipped because it is marked as optional 1001s # Event 2 at expected index 11 skipped because it is marked as optional 1001s ok 8 /monitor/file/hard-links 1001s # slow test /monitor/file/hard-links executed in 3.51 secs 1001s # End of file tests 1001s # End of monitor tests 1001s PASS: glib/testfilemonitor.test 1001s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1001s autopkgtest [18:32:50]: test testfilemonitor: -----------------------] 1001s testfilemonitor PASS 1001s autopkgtest [18:32:50]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1002s autopkgtest [18:32:51]: test thread-pool-slow: preparing testbed 1002s Reading package lists... 1002s Building dependency tree... 1002s Reading state information... 1002s Solving dependencies... 1002s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1003s autopkgtest [18:32:52]: test thread-pool-slow: [----------------------- 1003s Running test: glib/thread-pool-slow.test 1003s TAP version 14 1003s # random seed: R02S6b3737d95f70bf3658840d9180012c1c 1003s 1..7 1003s # Start of threadpool tests 1003s ok 1 /threadpool/functions 1004s ok 2 /threadpool/stop-unused 1004s # slow test /threadpool/stop-unused executed in 0.51 secs 1004s ok 3 /threadpool/pools 1004s # [unsorted] ===> pushed new thread with id:75, number of threads:1, unprocessed:1 1004s # [unsorted] ===> pushed new thread with id:84, number of threads:2, unprocessed:2 1004s # [unsorted] ===> pushed new thread with id:7, number of threads:3, unprocessed:3 1004s # [unsorted] ===> pushed new thread with id:69, number of threads:4, unprocessed:4 1004s # [unsorted] ===> pushed new thread with id:100, number of threads:5, unprocessed:5 1004s # [unsorted] ===> pushed new thread with id:95, number of threads:6, unprocessed:6 1004s # [unsorted] ===> pushed new thread with id:7, number of threads:7, unprocessed:7 1004s # [unsorted] ===> pushed new thread with id:70, number of threads:8, unprocessed:8 1004s # [unsorted] ===> pushed new thread with id:74, number of threads:9, unprocessed:1 1004s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:2 1004s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:3 1004s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:4 1004s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:5 1004s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:6 1004s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:7 1004s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:7 1004s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:8 1004s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:9 1004s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:10 1004s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:11 1004s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:12 1004s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:13 1004s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:14 1004s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:15 1004s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:16 1004s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:17 1004s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:18 1004s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:19 1004s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:20 1004s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:21 1004s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:22 1004s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:23 1004s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:24 1004s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:25 1004s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:26 1004s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:27 1004s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:28 1004s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:29 1004s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:30 1004s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:31 1004s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:32 1004s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:33 1004s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:34 1004s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:35 1004s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:36 1004s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:37 1004s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:38 1004s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:39 1004s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:40 1004s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:41 1004s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:42 1004s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:43 1004s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:44 1004s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:45 1004s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:46 1004s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:47 1004s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:48 1004s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:49 1004s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:50 1004s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:51 1004s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:52 1004s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:53 1004s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:54 1004s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:55 1004s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:56 1004s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:57 1004s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:58 1004s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:59 1004s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:60 1004s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:61 1004s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:62 1004s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:63 1004s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:64 1004s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:65 1004s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:66 1004s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:67 1004s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:68 1004s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:69 1004s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:70 1004s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:71 1004s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:72 1004s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:73 1004s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:74 1004s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:75 1004s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:76 1004s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:77 1004s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:78 1004s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:79 1004s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:80 1004s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:81 1004s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:82 1004s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:83 1004s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:84 1004s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:85 1004s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:86 1004s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:87 1004s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:88 1004s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:89 1004s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:90 1004s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:91 1004s ok 4 /threadpool/no-sort 1004s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:1 1004s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:2 1004s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:3 1004s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:4 1004s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:5 1004s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:6 1004s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:7 1004s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:8 1004s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:9 1004s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:10 1004s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:11 1004s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:12 1004s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:13 1004s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:14 1004s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:15 1004s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:16 1004s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:17 1004s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:18 1004s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:19 1004s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:20 1004s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:21 1004s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:22 1004s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:23 1004s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:24 1004s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:25 1004s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:26 1004s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:27 1004s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:28 1004s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:29 1004s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:30 1004s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:31 1004s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:32 1004s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:33 1004s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:34 1004s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:35 1004s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:36 1004s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:37 1004s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:38 1004s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:39 1004s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:40 1004s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:41 1004s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:42 1004s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:43 1004s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:44 1004s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:45 1004s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:46 1004s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:47 1004s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:48 1004s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:49 1004s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:50 1004s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:51 1004s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:52 1004s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:53 1004s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:54 1004s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:55 1004s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:56 1004s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:57 1004s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:58 1004s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:59 1004s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:60 1004s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:61 1004s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:62 1004s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:63 1004s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:64 1004s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:65 1004s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:66 1004s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:67 1004s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:68 1004s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:69 1004s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:70 1004s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:71 1004s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:72 1004s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:73 1004s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:74 1004s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:75 1004s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:76 1004s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:77 1004s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:78 1004s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:79 1004s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:80 1004s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:81 1004s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:82 1004s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:83 1004s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:84 1004s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:85 1004s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:86 1004s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:87 1004s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:88 1004s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:89 1004s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:90 1004s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:91 1004s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:92 1004s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:93 1004s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:94 1004s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:95 1004s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:96 1004s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:97 1004s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:98 1004s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:99 1004s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:100 1004s # Starting thread pool processing 1004s ok 5 /threadpool/sort 1004s ok 6 /threadpool/stop-unused-multiple 1004s # slow test /threadpool/stop-unused-multiple executed in 0.52 secs 1004s # Pool idle thread count: 0, unprocessed jobs: 48 1005s # Pool idle thread count: 0, unprocessed jobs: 0 1005s # Pool idle thread count: 0, unprocessed jobs: 0 1005s # Pool idle thread count: 10, unprocessed jobs: 0 1005s # Pool idle thread count: 10, unprocessed jobs: 0 1006s # Pool idle thread count: 10, unprocessed jobs: 0 1006s # Pool idle thread count: 10, unprocessed jobs: 0 1006s # Pool idle thread count: 10, unprocessed jobs: 0 1006s # Pool idle thread count: 10, unprocessed jobs: 0 1007s # Pool idle thread count: 10, unprocessed jobs: 0 1007s # Pool idle thread count: 10, unprocessed jobs: 0 1007s # Pool idle thread count: 10, unprocessed jobs: 0 1007s # Pool idle thread count: 10, unprocessed jobs: 0 1008s # Pool idle thread count: 10, unprocessed jobs: 0 1008s # Pool idle thread count: 10, unprocessed jobs: 0 1008s Executing: glib/thread-pool-slow.test 1008s # Pool idle thread count: 10, unprocessed jobs: 0 1008s # Pool idle thread count: 10, unprocessed jobs: 0 1009s # Pool idle thread count: 10, unprocessed jobs: 0 1009s # Pool idle thread count: 10, unprocessed jobs: 0 1009s # Pool idle thread count: 10, unprocessed jobs: 0 1009s # Pool idle thread count: 10, unprocessed jobs: 0 1010s # Pool idle thread count: 10, unprocessed jobs: 0 1010s # Pool idle thread count: 10, unprocessed jobs: 0 1010s # Pool idle thread count: 10, unprocessed jobs: 0 1010s # Pool idle thread count: 10, unprocessed jobs: 0 1011s # Pool idle thread count: 10, unprocessed jobs: 0 1011s # Pool idle thread count: 10, unprocessed jobs: 0 1011s # Pool idle thread count: 10, unprocessed jobs: 0 1011s # Pool idle thread count: 10, unprocessed jobs: 0 1012s # Pool idle thread count: 10, unprocessed jobs: 0 1012s # Pool idle thread count: 10, unprocessed jobs: 0 1012s # Pool idle thread count: 10, unprocessed jobs: 0 1012s # Pool idle thread count: 10, unprocessed jobs: 0 1013s # Pool idle thread count: 10, unprocessed jobs: 0 1013s # Pool idle thread count: 10, unprocessed jobs: 0 1013s Executing: glib/thread-pool-slow.test 1013s # Pool idle thread count: 10, unprocessed jobs: 2 1013s # Pool idle thread count: 10, unprocessed jobs: 2 1013s # Pool idle thread count: 8, unprocessed jobs: 0 1013s # Pool idle thread count: 8, unprocessed jobs: 0 1014s # Pool idle thread count: 10, unprocessed jobs: 0 1014s # Pool idle thread count: 10, unprocessed jobs: 0 1014s # Pool idle thread count: 10, unprocessed jobs: 0 1014s # Pool idle thread count: 10, unprocessed jobs: 0 1015s # Pool idle thread count: 10, unprocessed jobs: 0 1015s # Pool idle thread count: 10, unprocessed jobs: 0 1015s # Pool idle thread count: 2, unprocessed jobs: 0 1015s # Pool idle thread count: 2, unprocessed jobs: 0 1016s # Pool idle thread count: 2, unprocessed jobs: 0 1016s # Pool idle thread count: 2, unprocessed jobs: 0 1016s # Pool idle thread count: 2, unprocessed jobs: 0 1016s # Pool idle thread count: 2, unprocessed jobs: 0 1017s # Pool idle thread count: 2, unprocessed jobs: 0 1017s # Pool idle thread count: 2, unprocessed jobs: 0 1017s # Pool idle thread count: 2, unprocessed jobs: 0 1017s # Pool idle thread count: 2, unprocessed jobs: 0 1018s # Pool idle thread count: 2, unprocessed jobs: 0 1018s # Pool idle thread count: 2, unprocessed jobs: 0 1018s Executing: glib/thread-pool-slow.test 1018s # Pool idle thread count: 2, unprocessed jobs: 0 1018s # Pool idle thread count: 2, unprocessed jobs: 0 1019s # Pool idle thread count: 2, unprocessed jobs: 0 1019s # Pool idle thread count: 2, unprocessed jobs: 0 1019s # Pool idle thread count: 2, unprocessed jobs: 0 1019s # Pool idle thread count: 2, unprocessed jobs: 0 1020s # Pool idle thread count: 2, unprocessed jobs: 0 1020s # Pool idle thread count: 2, unprocessed jobs: 0 1020s # Pool idle thread count: 2, unprocessed jobs: 0 1020s # Pool idle thread count: 2, unprocessed jobs: 0 1021s # Pool idle thread count: 2, unprocessed jobs: 0 1021s # Pool idle thread count: 2, unprocessed jobs: 0 1021s # Pool idle thread count: 2, unprocessed jobs: 0 1021s # Pool idle thread count: 2, unprocessed jobs: 0 1022s # Pool idle thread count: 2, unprocessed jobs: 0 1022s # Pool idle thread count: 2, unprocessed jobs: 0 1022s # Pool idle thread count: 2, unprocessed jobs: 0 1022s # Pool idle thread count: 2, unprocessed jobs: 0 1023s # Pool idle thread count: 2, unprocessed jobs: 0 1023s # Pool idle thread count: 2, unprocessed jobs: 0 1023s Executing: glib/thread-pool-slow.test 1023s # Pool idle thread count: 2, unprocessed jobs: 0 1023s # Pool idle thread count: 2, unprocessed jobs: 0 1024s ok 7 /threadpool/idle-time 1024s # slow test /threadpool/idle-time executed in 19.52 secs 1024s # End of threadpool tests 1024s PASS: glib/thread-pool-slow.test 1024s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=8192 1024s autopkgtest [18:33:13]: test thread-pool-slow: -----------------------] 1024s thread-pool-slow PASS 1024s autopkgtest [18:33:13]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1025s autopkgtest [18:33:14]: test threadtests: preparing testbed 1025s Reading package lists... 1025s Building dependency tree... 1025s Reading state information... 1025s Solving dependencies... 1025s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1026s autopkgtest [18:33:15]: test threadtests: [----------------------- 1026s Running test: glib/threadtests.test 1026s TAP version 14 1026s # random seed: R02S2c22a634ca0d2796846ab8c0753991d5 1026s 1..5 1026s # Start of GObject tests 1026s ok 1 /GObject/threaded-object-init 1027s ok 2 /GObject/threaded-weak-ref 1027s # slow test /GObject/threaded-weak-ref executed in 0.73 secs 1027s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1027s # /GObject/threaded-toggle-notify summary: Test that toggle reference notifications can be changed safely from another (the main) thread without causing the notifying thread to abort 1027s ok 3 /GObject/threaded-toggle-notify 1027s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1027s # Start of threaded-weak-ref tests 1027s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1027s # /GObject/threaded-weak-ref/on-finalization summary: Test that a weak ref added by another thread during dispose of a GObject is cleared during finalisation. Use on_weak_ref_disposed() to synchronize the other thread with the dispose vfunc. 1027s ok 5 /GObject/threaded-weak-ref/on-finalization 1027s # End of threaded-weak-ref tests 1027s # End of GObject tests 1027s PASS: glib/threadtests.test 1027s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.5s; maxrss=4096 1028s autopkgtest [18:33:17]: test threadtests: -----------------------] 1028s threadtests PASS 1028s autopkgtest [18:33:17]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1028s autopkgtest [18:33:17]: test timeout: preparing testbed 1028s Reading package lists... 1029s Building dependency tree... 1029s Reading state information... 1029s Solving dependencies... 1029s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1030s autopkgtest [18:33:18]: test timeout: [----------------------- 1030s Running test: glib/timeout.test 1030s TAP version 14 1030s # random seed: R02Sba5e0bb889369ddbad41d05b40eff22f 1030s 1..5 1030s # Start of timeout tests 1030s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1032s ok 1 /timeout/seconds 1032s # slow test /timeout/seconds executed in 2.10 secs 1034s ok 2 /timeout/seconds-once 1034s # slow test /timeout/seconds-once executed in 2.10 secs 1034s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1035s Executing: glib/timeout.test 1036s ok 3 /timeout/weeks-overflow 1036s # slow test /timeout/weeks-overflow executed in 2.10 secs 1036s ok 4 /timeout/far-future-ready-time 1040s Executing: glib/timeout.test 1045s Executing: glib/timeout.test 1046s ok 5 /timeout/rounding 1046s # slow test /timeout/rounding executed in 10.18 secs 1046s # End of timeout tests 1046s PASS: glib/timeout.test 1046s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1046s autopkgtest [18:33:35]: test timeout: -----------------------] 1047s timeout PASS 1047s autopkgtest [18:33:36]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1047s autopkgtest [18:33:36]: test timer: preparing testbed 1047s Reading package lists... 1047s Building dependency tree... 1047s Reading state information... 1047s Solving dependencies... 1048s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1048s autopkgtest [18:33:37]: test timer: [----------------------- 1048s Running test: glib/timer.test 1048s TAP version 14 1048s # random seed: R02S2669353fb47fe16a51d289c6d4363fb5 1048s 1..10 1048s # Start of timer tests 1048s ok 1 /timer/basic 1048s ok 2 /timer/stop 1048s ok 3 /timer/continue 1048s ok 4 /timer/reset 1048s ok 5 /timer/is_active 1048s # End of timer tests 1048s # Start of timeval tests 1048s ok 6 /timeval/add 1048s ok 7 /timeval/from-iso8601 1048s ok 8 /timeval/to-iso8601 1048s # Start of to-iso8601 tests 1048s ok 9 /timeval/to-iso8601/overflow 1048s # End of to-iso8601 tests 1048s # End of timeval tests 1048s # Start of usleep tests 1048s ok 10 /usleep/with-zero-wait 1048s # End of usleep tests 1048s PASS: glib/timer.test 1048s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1049s autopkgtest [18:33:38]: test timer: -----------------------] 1049s timer PASS 1049s autopkgtest [18:33:38]: test timer: - - - - - - - - - - results - - - - - - - - - - 1049s autopkgtest [18:33:38]: test 1065022-futureproofing: preparing testbed 1068s Creating nova instance adt-resolute-ppc64el-glib2.0-20260122-181609-juju-7f2275-prod-proposed-migration-environment-15-dd782a9c-cc39-42ad-91b9-9495ecf6bce8 from image adt/ubuntu-resolute-ppc64el-server-20260122.img (UUID 987e5803-394f-43eb-a969-151b6b75a57a)... 1116s autopkgtest [18:34:45]: testbed dpkg architecture: ppc64el 1116s autopkgtest [18:34:45]: testbed apt version: 3.1.12 1116s autopkgtest [18:34:45]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1117s autopkgtest [18:34:46]: testbed release detected to be: resolute 1117s autopkgtest [18:34:46]: updating testbed package index (apt update) 1118s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 1118s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1118s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1118s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1118s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [80.9 kB] 1118s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 1118s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [815 kB] 1118s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [19.2 kB] 1118s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [103 kB] 1118s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [618 kB] 1119s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [4644 B] 1119s Fetched 1768 kB in 1s (1575 kB/s) 1119s Reading package lists... 1120s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 1120s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1120s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1120s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1121s Reading package lists... 1121s Reading package lists... 1121s Building dependency tree... 1121s Reading state information... 1122s Calculating upgrade... 1122s The following packages were automatically installed and are no longer required: 1122s python3.13 python3.13-minimal 1122s Use 'sudo apt autoremove' to remove them. 1122s The following NEW packages will be installed: 1122s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 1122s The following packages will be upgraded: 1122s libpython3-stdlib python3 python3-gdbm python3-minimal 1122s 4 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 1122s Need to get 6966 kB of archives. 1122s After this operation, 27.7 MB of additional disk space will be used. 1122s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-minimal ppc64el 3.14.2-1 [921 kB] 1122s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14-minimal ppc64el 3.14.2-1 [2712 kB] 1123s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-gdbm ppc64el 3.14.2-1 [11.1 kB] 1123s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.14.2-1 [28.2 kB] 1123s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.14.2-1 [22.9 kB] 1123s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-stdlib ppc64el 3.14.2-1 [2444 kB] 1123s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14 ppc64el 3.14.2-1 [816 kB] 1123s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.14.2-1 [10.9 kB] 1123s dpkg-preconfigure: unable to re-open stdin: No such file or directory 1123s Fetched 6966 kB in 1s (4758 kB/s) 1123s Selecting previously unselected package libpython3.14-minimal:ppc64el. 1124s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 120824 files and directories currently installed.) 1124s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_ppc64el.deb ... 1124s Unpacking libpython3.14-minimal:ppc64el (3.14.2-1) ... 1124s Selecting previously unselected package python3.14-minimal. 1124s Preparing to unpack .../python3.14-minimal_3.14.2-1_ppc64el.deb ... 1124s Unpacking python3.14-minimal (3.14.2-1) ... 1124s Preparing to unpack .../python3-gdbm_3.14.2-1_ppc64el.deb ... 1124s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-1) ... 1124s Setting up libpython3.14-minimal:ppc64el (3.14.2-1) ... 1124s Setting up python3.14-minimal (3.14.2-1) ... 1125s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121166 files and directories currently installed.) 1125s Preparing to unpack .../python3-minimal_3.14.2-1_ppc64el.deb ... 1125s Unpacking python3-minimal (3.14.2-1) over (3.13.7-1) ... 1125s Setting up python3-minimal (3.14.2-1) ... 1126s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121166 files and directories currently installed.) 1126s Preparing to unpack .../python3_3.14.2-1_ppc64el.deb ... 1126s running python pre-rtupdate hooks for python3.14... 1126s Unpacking python3 (3.14.2-1) over (3.13.7-1) ... 1126s Selecting previously unselected package libpython3.14-stdlib:ppc64el. 1126s Preparing to unpack .../libpython3.14-stdlib_3.14.2-1_ppc64el.deb ... 1126s Unpacking libpython3.14-stdlib:ppc64el (3.14.2-1) ... 1126s Selecting previously unselected package python3.14. 1126s Preparing to unpack .../python3.14_3.14.2-1_ppc64el.deb ... 1126s Unpacking python3.14 (3.14.2-1) ... 1126s Preparing to unpack .../libpython3-stdlib_3.14.2-1_ppc64el.deb ... 1126s Unpacking libpython3-stdlib:ppc64el (3.14.2-1) over (3.13.7-1) ... 1126s Setting up libpython3.14-stdlib:ppc64el (3.14.2-1) ... 1126s Setting up python3.14 (3.14.2-1) ... 1127s Setting up libpython3-stdlib:ppc64el (3.14.2-1) ... 1128s Setting up python3-gdbm (3.14.2-1) ... 1128s Setting up python3 (3.14.2-1) ... 1128s running python rtupdate hooks for python3.14... 1128s running python post-rtupdate hooks for python3.14... 1128s Processing triggers for man-db (2.13.1-1) ... 1129s Processing triggers for systemd (259-1ubuntu2) ... 1129s autopkgtest [18:34:58]: upgrading testbed (apt dist-upgrade and autopurge) 1129s Reading package lists... 1129s Building dependency tree... 1129s Reading state information... 1129s Calculating upgrade... 1129s The following packages were automatically installed and are no longer required: 1129s python3.13 python3.13-minimal 1129s Use 'sudo apt autoremove' to remove them. 1129s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1130s Reading package lists... 1130s Building dependency tree... 1130s Reading state information... 1130s Solving dependencies... 1130s The following packages will be REMOVED: 1130s python3.13* python3.13-minimal* 1130s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 1130s After this operation, 9077 kB disk space will be freed. 1130s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121596 files and directories currently installed.) 1130s Removing python3.13 (3.13.11-1) ... 1130s Removing python3.13-minimal (3.13.11-1) ... 1131s Processing triggers for man-db (2.13.1-1) ... 1132s Processing triggers for systemd (259-1ubuntu2) ... 1132s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121569 files and directories currently installed.) 1132s Purging configuration files for python3.13-minimal (3.13.11-1) ... 1134s Reading package lists... 1134s Building dependency tree... 1134s Reading state information... 1134s Solving dependencies... 1135s The following NEW packages will be installed: 1135s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1135s libdconf1 1135s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1135s Need to get 155 kB of archives. 1135s After this operation, 833 kB of additional disk space will be used. 1135s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libdconf1 ppc64el 0.49.0-4 [45.7 kB] 1135s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el dconf-service ppc64el 0.49.0-4 [31.6 kB] 1135s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el dconf-gsettings-backend ppc64el 0.49.0-4 [27.3 kB] 1135s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el dpkg-repack all 1.54build1 [11.2 kB] 1135s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el gsettings-desktop-schemas all 50~alpha-1ubuntu1 [38.9 kB] 1135s Fetched 155 kB in 0s (2379 kB/s) 1135s Selecting previously unselected package libdconf1:ppc64el. 1135s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121571 files and directories currently installed.) 1135s Preparing to unpack .../libdconf1_0.49.0-4_ppc64el.deb ... 1135s Unpacking libdconf1:ppc64el (0.49.0-4) ... 1135s Selecting previously unselected package dconf-service. 1135s Preparing to unpack .../dconf-service_0.49.0-4_ppc64el.deb ... 1135s Unpacking dconf-service (0.49.0-4) ... 1135s Selecting previously unselected package dconf-gsettings-backend:ppc64el. 1135s Preparing to unpack .../dconf-gsettings-backend_0.49.0-4_ppc64el.deb ... 1135s Unpacking dconf-gsettings-backend:ppc64el (0.49.0-4) ... 1135s Selecting previously unselected package dpkg-repack. 1135s Preparing to unpack .../dpkg-repack_1.54build1_all.deb ... 1135s Unpacking dpkg-repack (1.54build1) ... 1135s Selecting previously unselected package gsettings-desktop-schemas. 1135s Preparing to unpack .../gsettings-desktop-schemas_50~alpha-1ubuntu1_all.deb ... 1135s Unpacking gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 1135s Setting up dpkg-repack (1.54build1) ... 1135s Setting up libdconf1:ppc64el (0.49.0-4) ... 1135s Setting up dconf-service (0.49.0-4) ... 1135s Setting up dconf-gsettings-backend:ppc64el (0.49.0-4) ... 1135s Setting up gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 1135s Processing triggers for man-db (2.13.1-1) ... 1135s Processing triggers for libglib2.0-0t64:ppc64el (2.86.3-4) ... 1135s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1141s autopkgtest [18:35:10]: test 1065022-futureproofing: [----------------------- 1141s + export DEBIAN_FRONTEND=noninteractive 1141s + n=0 1141s + failed=0 1141s + binary_package=libglib2.0-0t64 1141s + future_binary_package=libglib2.0-0xyz 1141s + pwd 1141s + srcdir=/tmp/autopkgtest.FuxDyo/build.nmg/src 1141s + mktemp -d 1141s + tmpdir=/tmp/tmp.VGZ95VP5rE 1141s + cd /tmp/tmp.VGZ95VP5rE 1141s + exec 1141s + [ -e /tmp/autopkgtest.FuxDyo/build.nmg/src/debian/tests/manual/local-1065022.sources ] 1141s + dpkg-query -W dpkg-repack 1141s dpkg-repack 1.54build1 1141s + dpkg-query -s libglib2.0-0t64 1141s Package: libglib2.0-0t64 1141s Status: install ok installed 1141s Priority: important 1141s Section: libs 1141s Installed-Size: 6018 1141s Maintainer: Ubuntu Developers 1141s Architecture: ppc64el 1141s Multi-Arch: same 1141s Source: glib2.0 1141s Version: 2.86.3-4 1141s Replaces: libglib2.0-0 (<< 2.80.0-7~) 1141s Provides: libgio-2.0-0 (= 2.86.3-4), libglib-2.0-0 (= 2.86.3-4), libglib2.0-0 (= 2.86.3-4), libgmodule-2.0-0 (= 2.86.3-4), libgobject-2.0-0 (= 2.86.3-4), libgthread-2.0-0 (= 2.86.3-4) 1141s Depends: libatomic1 (>= 4.8), libc6 (>= 2.38), libffi8 (>= 3.4), libmount1 (>= 2.40~rc2), libpcre2-8-0 (>= 10.22), libselinux1 (>= 3.1~), zlib1g (>= 1:1.2.2) 1141s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1141s Suggests: low-memory-monitor 1141s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~) 1141s Description: GLib library of C routines 1141s GLib is a library containing many useful C routines for things such 1141s as trees, hashes, lists, and strings. It is a useful general-purpose 1141s C library used by projects such as GTK+, GIMP, and GNOME. 1141s . 1141s This package contains the shared libraries. 1141s Original-Maintainer: Debian GNOME Maintainers 1141s Homepage: https://gitlab.gnome.org/GNOME/glib 1141s + dpkg-query -W -f ${Version} libglib2.0-0t64 1141s + binary_version=2.86.3-4 1141s + dpkg-repack --generate libglib2.0-0t64 1141s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1141s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.QtshWe for libglib2.0-0t64 1141s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.QtshWe ." 1141s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.QtshWe/DEBIAN/control 1141s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.QtshWe/DEBIAN/control 1141s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.QtshWe/DEBIAN/control 1141s + env binary_package=libglib2.0-0t64 binary_version=2.86.3-4 future_binary_package=libglib2.0-0xyz perl -p -i -e s/^Package:.*$/Package: $ENV{future_binary_package}/; -e s/^(Breaks:.*)$/$1, $ENV{binary_package}/; -e s/^(Provides:.*)$/$1, $ENV{binary_package} (= $ENV{binary_version})/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.QtshWe/DEBIAN/control 1141s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.QtshWe libglib2.0-0xyz.deb 1141s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1143s + dpkg-deb --info libglib2.0-0xyz.deb 1143s new Debian package, version 2.0. 1143s size 1849150 bytes: control archive=25744 bytes. 1143s 1220 bytes, 24 lines control 1143s 1184 bytes, 14 lines md5sums 1143s 1328 bytes, 44 lines * postinst #!/bin/sh 1143s 2582 bytes, 87 lines * postrm #!/bin/sh 1143s 2408 bytes, 53 lines * preinst #!/bin/sh 1143s 466 bytes, 10 lines shlibs 1143s 172677 bytes, 4529 lines symbols 1143s 176 bytes, 4 lines triggers 1143s Package: libglib2.0-0xyz 1143s Source: glib2.0 1143s Version: 2.86.3-4 1143s Architecture: ppc64el 1143s Maintainer: Ubuntu Developers 1143s Installed-Size: 6018 1143s Depends: libatomic1 (>= 4.8), libc6 (>= 2.38), libffi8 (>= 3.4), libmount1 (>= 2.40~rc2), libpcre2-8-0 (>= 10.22), libselinux1 (>= 3.1~), zlib1g (>= 1:1.2.2) 1143s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1143s Suggests: low-memory-monitor 1143s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1143s Replaces: libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1143s Provides: libgio-2.0-0 (= 2.86.3-4), libglib-2.0-0 (= 2.86.3-4), libglib2.0-0 (= 2.86.3-4), libgmodule-2.0-0 (= 2.86.3-4), libgobject-2.0-0 (= 2.86.3-4), libgthread-2.0-0 (= 2.86.3-4), libglib2.0-0t64 (= 2.86.3-4) 1143s Section: libs 1143s Priority: important 1143s Multi-Arch: same 1143s Homepage: https://gitlab.gnome.org/GNOME/glib 1143s Description: GLib library of C routines 1143s GLib is a library containing many useful C routines for things such 1143s as trees, hashes, lists, and strings. It is a useful general-purpose 1143s C library used by projects such as GTK+, GIMP, and GNOME. 1143s . 1143s This package contains the shared libraries. 1143s . 1143s (Repackaged on Thu, 22 Jan 2026 18:35:10 +0000 by dpkg-repack.) 1143s + dpkg-deb --contents libglib2.0-0xyz.deb 1143s drwxr-xr-x root/root 0 2026-01-22 18:35 ./ 1143s drwxr-xr-x root/root 0 2026-01-22 18:35 ./usr/ 1143s drwxr-xr-x root/root 0 2026-01-22 18:35 ./usr/lib/ 1143s drwxr-xr-x root/root 0 2026-01-22 18:35 ./usr/lib/powerpc64le-linux-gnu/ 1143s drwxr-xr-x root/root 0 2026-01-22 18:35 ./usr/lib/powerpc64le-linux-gnu/gio/ 1143s drwxr-xr-x root/root 0 2026-01-22 18:35 ./usr/lib/powerpc64le-linux-gnu/gio/modules/ 1143s drwxr-xr-x root/root 0 2026-01-22 18:35 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/ 1143s -rwxr-xr-x root/root 67832 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/gio-launch-desktop 1143s -rwxr-xr-x root/root 67832 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/gio-querymodules 1143s -rwxr-xr-x root/root 67872 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/glib-compile-schemas 1143s -rw-r--r-- root/root 2756184 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgio-2.0.so.0.8600.3 1143s -rw-r--r-- root/root 1904216 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0.8600.3 1143s -rw-r--r-- root/root 67640 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgmodule-2.0.so.0.8600.3 1143s -rw-r--r-- root/root 592184 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgobject-2.0.so.0.8600.3 1143s -rw-r--r-- root/root 67600 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgthread-2.0.so.0.8600.3 1143s drwxr-xr-x root/root 0 2026-01-22 18:35 ./usr/share/ 1143s drwxr-xr-x root/root 0 2026-01-22 18:35 ./usr/share/doc/ 1143s drwxr-xr-x root/root 0 2026-01-22 18:35 ./usr/share/doc/libglib2.0-0t64/ 1143s -rw-r--r-- root/root 258310 2025-12-08 15:46 ./usr/share/doc/libglib2.0-0t64/NEWS.gz 1143s -rw-r--r-- root/root 1703 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/README.Debian 1143s -rw-r--r-- root/root 3248 2025-12-08 15:46 ./usr/share/doc/libglib2.0-0t64/README.md 1143s -rw-r--r-- root/root 39086 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/changelog.Debian.gz 1143s -rw-r--r-- root/root 55103 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/copyright 1143s drwxr-xr-x root/root 0 2026-01-22 18:35 ./usr/share/glib-2.0/ 1143s drwxr-xr-x root/root 0 2026-01-22 18:35 ./usr/share/glib-2.0/schemas/ 1143s drwxr-xr-x root/root 0 2026-01-22 18:35 ./usr/share/lintian/ 1143s drwxr-xr-x root/root 0 2026-01-22 18:35 ./usr/share/lintian/overrides/ 1143s -rw-r--r-- root/root 520 2026-01-01 12:59 ./usr/share/lintian/overrides/libglib2.0-0t64 1143s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgio-2.0.so.0 -> libgio-2.0.so.0.8600.3 1143s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0 -> libglib-2.0.so.0.8600.3 1143s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.8600.3 1143s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgobject-2.0.so.0 -> libgobject-2.0.so.0.8600.3 1143s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgthread-2.0.so.0 -> libgthread-2.0.so.0.8600.3 1143s + apt-get -y install ./libglib2.0-0xyz.deb dconf-gsettings-backend gsettings-desktop-schemas 1143s Reading package lists... 1143s Building dependency tree... 1143s Reading state information... 1143s dconf-gsettings-backend is already the newest version (0.49.0-4). 1143s gsettings-desktop-schemas is already the newest version (50~alpha-1ubuntu1). 1143s Solving dependencies... 1143s The following additional packages will be installed: 1143s xdg-user-dirs 1143s Suggested packages: 1143s low-memory-monitor 1143s The following packages will be REMOVED: 1143s libglib2.0-0t64 1143s The following NEW packages will be installed: 1143s libglib2.0-0xyz xdg-user-dirs 1143s 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 1143s Need to get 20.9 kB/1870 kB of archives. 1143s After this operation, 213 kB of additional disk space will be used. 1143s Get:1 /tmp/tmp.VGZ95VP5rE/libglib2.0-0xyz.deb libglib2.0-0xyz ppc64el 2.86.3-4 [1849 kB] 1143s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el xdg-user-dirs ppc64el 0.19-1 [20.9 kB] 1144s Fetched 20.9 kB in 0s (114 kB/s) 1144s dpkg: libglib2.0-0t64:ppc64el: dependency problems, but removing anyway as you requested: 1144s udisks2 depends on libglib2.0-0t64 (>= 2.80.0). 1144s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0). 1144s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~). 1144s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0). 1144s netplan.io depends on libglib2.0-0t64 (>= 2.70.0). 1144s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0). 1144s libxmlb2:ppc64el depends on libglib2.0-0t64 (>= 2.54.0). 1144s libvolume-key1:ppc64el depends on libglib2.0-0t64 (>= 2.18.0). 1144s libudisks2-0:ppc64el depends on libglib2.0-0t64 (>= 2.83.0). 1144s libqrtr-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.56). 1144s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0). 1144s libqmi-glib5:ppc64el depends on libglib2.0-0t64 (>= 2.54.0). 1144s libpolkit-gobject-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.38.0). 1144s libpolkit-agent-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.38.0). 1144s libnetplan1:ppc64el depends on libglib2.0-0t64 (>= 2.76.0). 1144s libmm-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.62.0). 1144s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56). 1144s libmbim-glib4:ppc64el depends on libglib2.0-0t64 (>= 2.56). 1144s libjson-glib-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1144s libjcat1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1144s libgudev-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1144s libgirepository-2.0-0:ppc64el depends on libglib2.0-0t64 (= 2.86.3-4). 1144s libfwupd3:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1144s libdconf1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1144s libblockdev3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1144s libblockdev-utils3:ppc64el depends on libglib2.0-0t64 (>= 2.76.0). 1144s libblockdev-swap3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1144s libblockdev-smart3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1144s libblockdev-part3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1144s libblockdev-nvme3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1144s libblockdev-mdraid3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1144s libblockdev-loop3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1144s libblockdev-fs3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1144s libblockdev-crypto3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1144s gir1.2-glib-2.0:ppc64el depends on libglib2.0-0t64 (= 2.86.3-4). 1144s fwupd depends on libglib2.0-0t64 (>= 2.80.0). 1144s dconf-service depends on libglib2.0-0t64 (>= 2.83.0). 1144s dconf-gsettings-backend:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1144s bolt depends on libglib2.0-0t64 (>= 2.80.0). 1144s 1144s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121638 files and directories currently installed.) 1144s Removing libglib2.0-0t64:ppc64el (2.86.3-4) ... 1144s Selecting previously unselected package libglib2.0-0xyz:ppc64el. 1144s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121619 files and directories currently installed.) 1144s Preparing to unpack .../libglib2.0-0xyz.deb ... 1144s Unpacking libglib2.0-0xyz:ppc64el (2.86.3-4) ... 1144s Selecting previously unselected package xdg-user-dirs. 1144s Preparing to unpack .../xdg-user-dirs_0.19-1_ppc64el.deb ... 1144s Unpacking xdg-user-dirs (0.19-1) ... 1144s Setting up xdg-user-dirs (0.19-1) ... 1144s Created symlink '/etc/systemd/user/graphical-session-pre.target.wants/xdg-user-dirs.service' → '/usr/lib/systemd/user/xdg-user-dirs.service'. 1144s Setting up libglib2.0-0xyz:ppc64el (2.86.3-4) ... 1144s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1144s Processing triggers for man-db (2.13.1-1) ... 1145s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1145s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1145s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1145s + n=1 1145s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1145s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1145s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1145s + n=2 1145s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1145s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1145s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1145s + n=3 1145s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1145s + echo ok 3 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1145s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1145s + n=4 1145s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1145s + echo ok 4 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1145s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1145s + n=5 1145s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1145s + echo ok 5 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1145s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1145s + n=6 1145s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1145s + echo ok 6 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1145s + apt-get -y purge libglib2.0-0t64 1145s ok 3 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1145s ok 4 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1145s ok 5 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1145s ok 6 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1145s Reading package lists... 1145s Building dependency tree... 1145s Reading state information... 1145s Solving dependencies... 1145s The following packages will be REMOVED: 1145s libglib2.0-0t64* 1146s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1146s After this operation, 0 B of additional disk space will be used. 1146s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121653 files and directories currently installed.) 1146s Purging configuration files for libglib2.0-0t64:ppc64el (2.86.3-4) ... 1146s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1146s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1146s + n=7 1146s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1146s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1146s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1146s + n=8 1146s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1146s ok 9 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1146s ok 10 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1146s ok 11 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1146s ok 12 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1146s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1146s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1146s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1146s + n=9 1146s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1146s + echo ok 9 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1146s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1146s + n=10 1146s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1146s + echo ok 10 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1146s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1146s + n=11 1146s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1146s + echo ok 11 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1146s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1146s + n=12 1146s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1146s + echo ok 12 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1146s + apt-get -y purge libglib2.0-0xyz 1146s Reading package lists... 1146s Building dependency tree... 1146s Reading state information... 1146s Solving dependencies... 1146s The following additional packages will be installed: 1146s libglib2.0-0t64 1146s Suggested packages: 1146s low-memory-monitor 1146s The following packages will be REMOVED: 1146s libglib2.0-0xyz* 1146s The following NEW packages will be installed: 1146s libglib2.0-0t64 1147s 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 1147s Need to get 1849 kB of archives. 1147s After this operation, 0 B of additional disk space will be used. 1147s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-0t64 ppc64el 2.86.3-4 [1849 kB] 1147s Fetched 1849 kB in 0s (6557 kB/s) 1147s dpkg: libglib2.0-0xyz:ppc64el: dependency problems, but removing anyway as you requested: 1147s udisks2 depends on libglib2.0-0t64 (>= 2.80.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s netplan.io depends on libglib2.0-0t64 (>= 2.70.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libxmlb2:ppc64el depends on libglib2.0-0t64 (>= 2.54.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libvolume-key1:ppc64el depends on libglib2.0-0t64 (>= 2.18.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libudisks2-0:ppc64el depends on libglib2.0-0t64 (>= 2.83.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libqrtr-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.56); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libqmi-glib5:ppc64el depends on libglib2.0-0t64 (>= 2.54.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libpolkit-gobject-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.38.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libpolkit-agent-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.38.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libnetplan1:ppc64el depends on libglib2.0-0t64 (>= 2.76.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libmm-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.62.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libmbim-glib4:ppc64el depends on libglib2.0-0t64 (>= 2.56); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libjson-glib-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libjcat1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libgudev-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libgirepository-2.0-0:ppc64el depends on libglib2.0-0t64 (= 2.86.3-4); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libfwupd3:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libdconf1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libblockdev3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libblockdev-utils3:ppc64el depends on libglib2.0-0t64 (>= 2.76.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libblockdev-swap3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libblockdev-smart3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libblockdev-part3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libblockdev-nvme3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libblockdev-mdraid3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libblockdev-loop3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libblockdev-fs3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s libblockdev-crypto3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s gir1.2-glib-2.0:ppc64el depends on libglib2.0-0t64 (= 2.86.3-4); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s fwupd depends on libglib2.0-0t64 (>= 2.80.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s dconf-service depends on libglib2.0-0t64 (>= 2.83.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s dconf-gsettings-backend:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s bolt depends on libglib2.0-0t64 (>= 2.80.0); however: 1147s Package libglib2.0-0t64 is not installed. 1147s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1147s 1147s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121653 files and directories currently installed.) 1147s Removing libglib2.0-0xyz:ppc64el (2.86.3-4) ... 1148s Selecting previously unselected package libglib2.0-0t64:ppc64el. 1148s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121634 files and directories currently installed.) 1148s Preparing to unpack .../libglib2.0-0t64_2.86.3-4_ppc64el.deb ... 1148s Unpacking libglib2.0-0t64:ppc64el (2.86.3-4) ... 1148s Setting up libglib2.0-0t64:ppc64el (2.86.3-4) ... 1148s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1148s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121653 files and directories currently installed.) 1148s Purging configuration files for libglib2.0-0xyz:ppc64el (2.86.3-4) ... 1148s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1148s + n=13 1148s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1148s + echo not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1148s + failed=1 1148s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1148s + n=14 1148s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1148s + echo not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1148s + failed=1 1148s + assert_not test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1148s + n=15 1148s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1148s + echo not ok 15 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1148s + failed=1 1148s + assert_not test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1148s + n=16 1148s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1148s + echo not ok 16 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1148s + failed=1 1148s + echo 1..16 1148s + exit 1 1148s not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1148s not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1148s not ok 15 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1148s not ok 16 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1148s 1..16 1148s autopkgtest [18:35:17]: test 1065022-futureproofing: -----------------------] 1149s autopkgtest [18:35:18]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1149s 1065022-futureproofing FLAKY non-zero exit status 1 1149s autopkgtest [18:35:18]: @@@@@@@@@@@@@@@@@@@@ summary 1149s build PASS (superficial) 1149s build-static PASS (superficial) 1149s girepository-tools PASS (superficial) 1149s libgio-2.0-dev-bin PASS (superficial) 1149s libglib2.0-dev PASS (superficial) 1149s installed-tests FAIL non-zero exit status 2 1149s closure-refcount PASS 1149s debugcontroller PASS 1149s gdbus-server-auth PASS 1149s gdbus-threading PASS 1149s gmenumodel PASS 1149s mainloop PASS 1149s memory-monitor-dbus PASS 1149s socket PASS 1149s testfilemonitor PASS 1149s thread-pool-slow PASS 1149s threadtests PASS 1149s timeout PASS 1149s timer PASS 1149s 1065022-futureproofing FLAKY non-zero exit status 1